Commit Graph

4 Commits

Author SHA1 Message Date
dougt@netscape.com
a70fce6f87 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
darin@netscape.com
efaff65317 Updates to test file to support overlapped requests. 2000-11-21 00:49:41 +00:00
darin@netscape.com
4844869031 Updating necko test file. 2000-11-15 22:13:39 +00:00
darin@netscape.com
0df4b565a5 Adding a simple test program that calls OpenInputStream on an nsIChannel,
to help evaluate performance.
2000-11-03 23:26:45 +00:00