I have cut a branch to work out these issues.  The branch tag is: DOUGT_CHANNEL_CHANGES_01222001_BRANCH

NOTE that alot of the necko interfaces are changing.
 

Doug Turner wrote:

Also take a look at solution #3 of bug:

http://bugzilla.mozilla.org/show_bug.cgi?id=65272

I am posting this to the netlib ng for comment.
 
 
 

Darin Fisher wrote:

Doug,

I listed out some of the problems with nsIChannel that we identified 
this morning.  I think it's a pretty comprehensive list, but perhaps 
you'd want to add/clarifty some things, etc...

Darin

Problems with nsIChannel


1.    Cannot do overlapped reading and writing.
        - transferCount & transferOffset are not specific to AsyncRead/AsyncWrite (bug 65272).
        - Suspend, Resume, and Cancel are not specific to AsyncRead/AsyncWrite (bug XXX).

2.    Listeners must be "hungry"
       - no support for a listener who wishes to read only part (or none) of the data.
       - no support for successfully stopping an AsyncRead in progress (ie. stop but stay connected).

3.    AsyncWrite is extremely limited
       - no support for initiating AsyncWrite when only part (or none) of the data is available (bug 62566).
           [required for new cache design and for FTP control connection (bug 65220)]
 
 

Reply via email to