Commit Graph

544 Commits

Author SHA1 Message Date
mscott%netscape.com
91e51cd9f8 oh the horror! We were leaking all channel listeners that ran through the http channel. Fixed the
leak by using a nsCOMPtr.
1999-12-02 09:11:51 +00:00
sfraser%netscape.com
93c0a29f45 Fix the fragment name in both targets to be unique. Again. r=pinkerton. 1999-12-02 04:53:47 +00:00
sfraser%netscape.com
ff90394468 Fix the fragment name in both targets to be unique. r=pinkerton. 1999-12-02 04:51:11 +00:00
fur%netscape.com
a9a35d34c5 Laying the foundation for the incorporation of caching, by
reorganizing/splitting protocol handler methods, though not yet adding any
new functionality:

    Allow for multiple instances of nsHTTPResponse to be associated
    with the same connection, i.e. so that response headers from the
    cache and response headers from the server can coexist
    simultaneously.  To wit:

        Moved content-length, charset and content-type information
        from nsHTTPChannel into nsHTTPResponse

        Split into separate functions the accumulation of a single line of
        HTTP header data (from the input stream) and the parsing of
        that line.  This permits cached response headers and server
        response headers to be parsed from separate data sources, the
        latter arriving from a nsIBufferInputStream and the former
        retrieved from the cache as a string.

        Moved the newly-created header-parsing methods to
        nsHTTPResponse from nsHTTPResponseListener

    Fixed some bugs in the interaction between AsyncOpen and
    AsyncRead.  It was possible for an OnHeadersAvailable event to be
    triggered *after* the associated OnDataAvailable, rather than the
    other way around.  It was also possible, in a rare case, for
    mOpenObserver->OnStopRequest() to be called without ever having
    called mOpenObserver->OnStartRequest().  I think my changes made
    the logic a bit more foolproof.

    Removed ancient ifdef NSPIPE2
1999-12-02 03:53:28 +00:00
rpotts%netscape.com
1b0f903b3f (r=valeski) Fix for new bloat (leaking HTTPChannels) that was introduced yesterday 1999-12-01 04:32:58 +00:00
mscott%netscape.com
df05f7c5cb implement retargeting for SetLoadGroup
r=valeski,rpotts
1999-11-30 22:19:53 +00:00
mscott%netscape.com
1ef3b0359f implement retargeting for SetLoadGroup
r=valeski
1999-11-30 22:19:35 +00:00
valeski%netscape.com
643953578f r=rpotts, 17052. FTP now implements nsIProgressEventSink and sits inbetween the transport's notifications and the consumers. 1999-11-30 15:07:32 +00:00
warren%netscape.com
da354ddd80 Fixed bug GetContentType/GetContentLength. 1999-11-30 07:36:14 +00:00
warren%netscape.com
fc8a2a4eb2 Added include of nsNetUtil.h to pick up NS_NewSyncStreamListener 1999-11-30 05:32:14 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
valeski%netscape.com
4909924e98 r=waterson. 16914. FTP was authentication anonymously even though username and pwd info were suppplied in the url. now it isn't 1999-11-30 04:39:29 +00:00
valeski%netscape.com
7e72cd5bf7 18434. r=rpotts. HTTP now implements OpenInputStream and proxies event sink callbacks between the caller and the transport. 1999-11-30 04:15:27 +00:00
dougt%netscape.com
f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
mscott%netscape.com
ab7eb32184 modify SetLoadGroup to work with retargeting.
r=rpotts
1999-11-30 00:10:37 +00:00
sspitzer%netscape.com
e17346bdb8 ignore generated files 1999-11-29 21:20:30 +00:00
rpotts%netscape.com
193521bc26 bug #18651. Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe... 1999-11-24 23:51:09 +00:00
valeski%netscape.com
481695b32a r=mscott, premature stream closure cleanup and minor state change to FTP state machine. 1999-11-24 21:08:04 +00:00
warren%netscape.com
f4ae91832a Added friend _class_ for hpukes. 1999-11-24 20:42:04 +00:00
warren%netscape.com
a8eff9eb1f Added nsIInterfaceRequestor.h to keep nsCOMPtr happy. 1999-11-24 08:31:06 +00:00
warren%netscape.com
30deace1d8 Added optimized dependency on netwerk util. 1999-11-24 08:28:08 +00:00
warren%netscape.com
6b84e27c34 Added include for nsCOMPtr. 1999-11-24 07:40:54 +00:00
warren%netscape.com
895216338d Somehow added to wrong directory. Moving. 1999-11-24 07:19:12 +00:00
warren%netscape.com
ca701bffec First Checked In. 1999-11-24 07:16:03 +00:00
warren%netscape.com
6072675c2d Added res and jar protocols. 1999-11-24 06:29:44 +00:00
warren%netscape.com
ac4e9c302a First Checked In. 1999-11-24 05:54:31 +00:00
warren%netscape.com
1b5bf54c3e *** empty log message *** 1999-11-24 05:51:32 +00:00
warren%netscape.com
2d07d1ec0a Added nsIHttpEventSink.h 1999-11-24 05:49:38 +00:00
warren%netscape.com
c71b5e670b Fix to use the resource url as the original url if an original wasn't supplied. 1999-11-24 04:32:49 +00:00
valeski%netscape.com
67698d87bd bustage fix. comptr include ordering problem 1999-11-23 23:15:16 +00:00
valeski%netscape.com
eed079587d bustage attempt. chasing comptr fun 1999-11-23 23:14:08 +00:00
warren%netscape.com
e91b1c3cbe First Checked In. 1999-11-23 23:03:43 +00:00
valeski%netscape.com
74f4362cfb 18434, r=rpotts. HTTP now implements AsyncOpen. AsyncOpen will be used by URI dispatching 1999-11-23 22:23:06 +00:00
valeski%netscape.com
4e939113b6 added files: mozilla/netwerk/protocol/ftp/public/nsPIFTPChannel.idl, removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPChannel.idl 1999-11-23 22:00:54 +00:00
valeski%netscape.com
3fac4106ad 18435,18413. r=warren. Implemented AsyncOpen for FTP, as well as OpenInputStream. FTP no longer implements the stream listener interface 1999-11-23 22:00:18 +00:00
waterson%netscape.com
d3cae83201 Fix nsNetModuleMgr and nsNetModRegEntry leaks. r=valeski 1999-11-23 20:47:25 +00:00
warren%netscape.com
ad0a3a73fc Initial checkin of the res: protocol -- replacement for resource: that does symbolic roots, and searching. 1999-11-23 12:13:33 +00:00
warren%netscape.com
9493f81938 Added code to aggressively clean up file transport on failure. 1999-11-23 07:01:56 +00:00
rpotts%netscape.com
a37eb4c71f bug #19303. HTTPHeader entries were leaking... I checked in a modified version of beards patch. 1999-11-22 07:02:44 +00:00
valeski%netscape.com
3687cfa049 fixing build bustage 1999-11-20 23:23:59 +00:00
valeski%netscape.com
096a415b0e 6144, I'm checking in gagan's code for him as he's gone. r=valeski, r=gagan :). This checkin drops in HTTP authentication caching so you don't get hit w/ multiple auth dialogs when accessing auth requiring sites that have images in their html 1999-11-20 22:11:15 +00:00
sfraser%netscape.com
0ad5eff0a6 Added nsAuthEngine.cpp for valeski 1999-11-20 22:09:56 +00:00
valeski%netscape.com
70b64aebbe not in build. updated auth engine 1999-11-20 21:46:23 +00:00
morse%netscape.com
13667e188c Partial fix for bug 18668, unable to login to aka, r=valeski 1999-11-20 04:13:21 +00:00
gagan%netscape.com
cf4d5767a7 New files first checkin. 1999-11-20 01:34:19 +00:00
fur%netscape.com
9eb2b7d985 Change IDL to generate identical C++ headers, but with improved scriptability.
r: rpotts
1999-11-19 15:13:00 +00:00
dougt%netscape.com
a14b905a11 Fixes: 19167,16801,17282,17682,17690,18616 Yes, this one line fix closes
all of these bugs and has taken 40 some hours to find.  Good night.
1999-11-19 04:11:16 +00:00
valeski%netscape.com
6077a89639 changed the on header notification to actually request the observers of the correct notification. OnHeaders indicates a response has come back, thus those registered for the RESPONSE should get notified, not those registered for the REQUEST 1999-11-19 00:15:42 +00:00
valeski%netscape.com
aaa223115e fixing crasher introduced when new Setter*() were dropped in last night. we now set the channel's url member *before* calling the set routines. 1999-11-18 20:51:05 +00:00
valeski%netscape.com
7a63151a46 typo. we need to be allocating the size of the struct, not the pointer to the struct. 1999-11-18 20:05:15 +00:00