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.
r=darin@netscape.comsr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
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.comsr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
rather than holding them forever in memory on evict.
r=neeti sr=rpotts
(updating fix from branch 1.28.2.2 to tip)
git-svn-id: svn://10.0.0.236/trunk@80275 18797224-902f-48f8-a5cc-f745e15eee43
install fail
25585 Leaking a C string
25590 Leaking C string in cache co
20893 Cache preferences need to be hooked up
r = gordon@netscape.com
git-svn-id: svn://10.0.0.236/trunk@61115 18797224-902f-48f8-a5cc-f745e15eee43
otherwise it generates an assert when you use a nsCOMPtr to QI for a method on nsIStreamObserver
git-svn-id: svn://10.0.0.236/trunk@57616 18797224-902f-48f8-a5cc-f745e15eee43
+ Be more aggressive about clearing the UPDATE_IN_PROGRESS flag on the cache entry
git-svn-id: svn://10.0.0.236/trunk@55699 18797224-902f-48f8-a5cc-f745e15eee43
(Thanks to tor@cs.brown.edu for the patch)
+ Eliminated compiler warnings
git-svn-id: svn://10.0.0.236/trunk@55576 18797224-902f-48f8-a5cc-f745e15eee43