Jan Varga wrote:
>
> I have two problems after converting to new interfaces
>
> 1. How to correctly close connection ?
>
> Before I used:
> nsCOMPtr<nsIChannel> channel; // somehow initialized
> channel->Cancel(NS_BINDING_ABORTED);
> channel=nsnull;
>
> Now I have nsCOMPtr<nsIRequest> readRequest and writeRequest
> Now, how to really close opened connection ?
>
> 2. AsyncWrite() is blocked after calling AsyncRead()
>
This bug was probably fixed in second landing.
Thanks!
> AsyncWrite() is working (I mean OnStartRequest() and onStopRequest() is
> called) until I need read
> from channel/request. After first calling of AsyncRead(), AsyncWrite is
> probably blocked.
>
> I forgot to mention that I'm using nsISocketTransportService to create
> nsITransport.
>
> --
> Jan Varga
> [EMAIL PROTECTED]
--
Jan Varga
[EMAIL PROTECTED]