Commit Graph

1252 Commits

Author SHA1 Message Date
fur%netscape.com
fd0efb29ca Added cache control flags, in support of Bug #8305 (Implement cache) 1999-12-06 23:31:47 +00:00
rhp%netscape.com
1feb3b1c0a Cleanup printf's 1999-12-06 20:29:27 +00:00
rhp%netscape.com
75c6ab3016 Build bustage fix for picky commercial C++ compilers. Fixes a couple member function prototypes to match their implementation. Contributed by: Tim Rowley <tor@cs.brown.edu> r: rhp 1999-12-06 20:07:06 +00:00
rhp%netscape.com
e16eeb9d25 Landing new txt - HTML scanning functionality - Bug 19251 - r: rhp (contributed by Ben Bucksch) 1999-12-06 04:55:54 +00:00
rhp%netscape.com
5c1d1ddd4b Landing new txt to HTML scanning functionality - Bug #: 19251 - r: rhp (contributed by Ben Bucksch) 1999-12-06 04:53:29 +00:00
rhp%netscape.com
f9ae380b1e Adding new file - NOT PART OF THE BUILD 1999-12-05 16:56:04 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
fur%netscape.com
4f385605be Fix build bustage on Linux 1999-12-03 02:59:37 +00:00
warren%netscape.com
b6282abafe Fix for downloaded jar files. Now they appear to work, except we aren't checking the cache to see if they already exist. r=gayatrib 1999-12-03 02:22:48 +00:00
warren%netscape.com
277a68344f Added missing addref. r=gayatrib 1999-12-03 02:22:02 +00:00
fur%netscape.com
4a9b290d72 More infrastructure work in support of bug #8305 (Implement
cache).  Added several nsHTTPResponse methods dealing with
header parsing and manipulation of date-containing header fields.
(None of these methods are yet invoked.)
1999-12-03 01:51:07 +00:00
fur%netscape.com
c434d9514d Quash warning 1999-12-03 01:45:22 +00:00
fur%netscape.com
316fe1fcf8 Added missing HTTP header atoms 1999-12-03 01:44:38 +00:00
rpotts%netscape.com
ed1cb83b57 bug #13157 (r=valeski). Added support for HTTP/0.9 server responses. This fixes a whole class of bugs where CGI scripts were displaying blank pages because we just ignored the response :-( 1999-12-02 23:09:15 +00:00
valeski%netscape.com
1f8fcf2c95 r=mcafee. 20464. we were crashing when data: urls were accessed. Now we're safe; for the time being that is :) 1999-12-02 22:02:30 +00:00
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
warren%netscape.com
0d72878cfc Fixed bug where file transport would spin if it failed in the nsIFileSystem::Open method. Affected jar protocol. 1999-12-02 02:50:48 +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
sspitzer%netscape.com
f8899d4936 bulletproofing to prevent #20410 1999-12-01 01:26:08 +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
290d065910 Removed util dir from build. 1999-11-30 05:52:41 +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
warren%netscape.com
2832e2ca92 Changed from no_neckoutil2_branch to remove neckoutil from build. Bug #11159 1999-11-30 04:49:11 +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
valeski%netscape.com
76719511ea r=waterson. 17647. MIME mapping for file extensions was case sensitive. we now disregard case (this is actually broken, but for 99% of the real world cases we're covered) 1999-11-30 04:07:51 +00:00
mscott%netscape.com
649881fcba Fix xp build breakage by defining rv.
I'm not sure how this compiled on someone's machine =)
1999-11-30 01:12:58 +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
valeski%netscape.com
70e6082366 comment changes for javadoc 1999-11-29 22:17:11 +00:00
valeski%netscape.com
b82de3adef r=warren. the return val from the progress sink was getting in the way of the socket transport state machine, now it's just being ingonored. 1999-11-29 22:16:21 +00:00
sspitzer%netscape.com
e17346bdb8 ignore generated files 1999-11-29 21:20:30 +00:00
brendan%mozilla.org
b4fef52e82 Whitespace police! 1999-11-28 10:26:53 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
shaver%netscape.com
b829e11c5a Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
<fuzed@swbell.net>.
1999-11-27 17:47:05 +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
waterson%netscape.com
f31fcc62c9 Bug 19600. Change content length magical 'unknown-so-read-til-you-puke' value from zero to -1. 1999-11-24 21:44:13 +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
valeski%netscape.com
194cef3866 passing a signed int into an unsigned param. now we're not 1999-11-24 21:07:11 +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