rpotts%netscape.com
9145120320
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 :-(
...
git-svn-id: svn://10.0.0.236/trunk@55103 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:09:15 +00:00
valeski%netscape.com
8d420bdb8c
r=mcafee. 20464. we were crashing when data: urls were accessed. Now we're safe; for the time being that is :)
...
git-svn-id: svn://10.0.0.236/trunk@55089 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:02:30 +00:00
mscott%netscape.com
9752ae7af4
oh the horror! We were leaking all channel listeners that ran through the http channel. Fixed the
...
leak by using a nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@55056 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 09:11:51 +00:00
sfraser%netscape.com
8af29b1bde
Fix the fragment name in both targets to be unique. Again. r=pinkerton.
...
git-svn-id: svn://10.0.0.236/trunk@55020 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 04:53:47 +00:00
sfraser%netscape.com
d1d215cecb
Fix the fragment name in both targets to be unique. r=pinkerton.
...
git-svn-id: svn://10.0.0.236/trunk@55018 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 04:51:11 +00:00
fur%netscape.com
4df51cacc5
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
git-svn-id: svn://10.0.0.236/trunk@55016 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:53:28 +00:00
warren%netscape.com
2baf3e9d35
Fixed bug where file transport would spin if it failed in the nsIFileSystem::Open method. Affected jar protocol.
...
git-svn-id: svn://10.0.0.236/trunk@55005 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 02:50:48 +00:00
rpotts%netscape.com
ad8a426d0f
(r=valeski) Fix for new bloat (leaking HTTPChannels) that was introduced yesterday
...
git-svn-id: svn://10.0.0.236/trunk@54866 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 04:32:58 +00:00
sspitzer%netscape.com
1cc9561b2e
bulletproofing to prevent #20410
...
git-svn-id: svn://10.0.0.236/trunk@54840 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-01 01:26:08 +00:00
mscott%netscape.com
86572486f8
implement retargeting for SetLoadGroup
...
r=valeski,rpotts
git-svn-id: svn://10.0.0.236/trunk@54781 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:19:53 +00:00
mscott%netscape.com
d992f3098b
implement retargeting for SetLoadGroup
...
r=valeski
git-svn-id: svn://10.0.0.236/trunk@54780 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:19:35 +00:00
valeski%netscape.com
82cca0d48b
r=rpotts, 17052. FTP now implements nsIProgressEventSink and sits inbetween the transport's notifications and the consumers.
...
git-svn-id: svn://10.0.0.236/trunk@54755 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 15:07:32 +00:00
warren%netscape.com
4aa59d97bd
Fixed bug GetContentType/GetContentLength.
...
git-svn-id: svn://10.0.0.236/trunk@54734 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 07:36:14 +00:00
warren%netscape.com
2a40d45436
Removed util dir from build.
...
git-svn-id: svn://10.0.0.236/trunk@54727 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 05:52:41 +00:00
warren%netscape.com
05d899f92a
Added include of nsNetUtil.h to pick up NS_NewSyncStreamListener
...
git-svn-id: svn://10.0.0.236/trunk@54725 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 05:32:14 +00:00
warren%netscape.com
51881fbcea
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
...
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
warren%netscape.com
99fb5a522a
Changed from no_neckoutil2_branch to remove neckoutil from build. Bug #11159
...
git-svn-id: svn://10.0.0.236/trunk@54721 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:49:11 +00:00
valeski%netscape.com
432c3ffc1f
r=waterson. 16914. FTP was authentication anonymously even though username and pwd info were suppplied in the url. now it isn't
...
git-svn-id: svn://10.0.0.236/trunk@54719 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:39:29 +00:00
valeski%netscape.com
77c6e839a9
18434. r=rpotts. HTTP now implements OpenInputStream and proxies event sink callbacks between the caller and the transport.
...
git-svn-id: svn://10.0.0.236/trunk@54714 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:15:27 +00:00
valeski%netscape.com
a37f8ac53e
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)
...
git-svn-id: svn://10.0.0.236/trunk@54712 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:07:51 +00:00
mscott%netscape.com
68aa9139e4
Fix xp build breakage by defining rv.
...
I'm not sure how this compiled on someone's machine =)
git-svn-id: svn://10.0.0.236/trunk@54691 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 01:12:58 +00:00
dougt%netscape.com
0c53e29d87
fix for 18078. r=mstoltz,warren
...
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
mscott%netscape.com
acd1ca8191
modify SetLoadGroup to work with retargeting.
...
r=rpotts
git-svn-id: svn://10.0.0.236/trunk@54635 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:10:37 +00:00
valeski%netscape.com
35e7f3daaa
comment changes for javadoc
...
git-svn-id: svn://10.0.0.236/trunk@54610 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:17:11 +00:00
valeski%netscape.com
4e2f156283
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.
...
git-svn-id: svn://10.0.0.236/trunk@54609 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-29 22:16:21 +00:00
brendan%mozilla.org
b09e389810
Whitespace police!
...
git-svn-id: svn://10.0.0.236/trunk@54532 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 10:26:53 +00:00
warren%netscape.com
eb9a891946
Eliminated the libs build pass.
...
git-svn-id: svn://10.0.0.236/trunk@54523 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-28 03:05:01 +00:00
shaver%netscape.com
9d0148c5b0
Fix for 18505 (rename nsDeque::Peek to nsDeque::PeekFront) from Sammy Ford
...
<fuzed@swbell.net >.
git-svn-id: svn://10.0.0.236/trunk@54511 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-27 17:47:05 +00:00
rpotts%netscape.com
258f8c739b
bug #18651 . Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe...
...
git-svn-id: svn://10.0.0.236/trunk@54450 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 23:51:09 +00:00
waterson%netscape.com
7aed734132
Bug 19600. Change content length magical 'unknown-so-read-til-you-puke' value from zero to -1.
...
git-svn-id: svn://10.0.0.236/trunk@54436 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:44:13 +00:00
valeski%netscape.com
4695b284df
r=mscott, premature stream closure cleanup and minor state change to FTP state machine.
...
git-svn-id: svn://10.0.0.236/trunk@54429 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:08:04 +00:00
valeski%netscape.com
435deb5588
passing a signed int into an unsigned param. now we're not
...
git-svn-id: svn://10.0.0.236/trunk@54428 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 21:07:11 +00:00
warren%netscape.com
f45da4fd55
Added friend _class_ for hpukes.
...
git-svn-id: svn://10.0.0.236/trunk@54418 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 20:42:04 +00:00
warren%netscape.com
cb0dd060c7
Added nsIInterfaceRequestor.h to keep nsCOMPtr happy.
...
git-svn-id: svn://10.0.0.236/trunk@54403 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 08:31:06 +00:00
warren%netscape.com
bed9c57e40
Added optimized dependency on netwerk util.
...
git-svn-id: svn://10.0.0.236/trunk@54402 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 08:28:08 +00:00
warren%netscape.com
af805ec2ae
Added include for nsCOMPtr.
...
git-svn-id: svn://10.0.0.236/trunk@54401 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 07:40:54 +00:00
warren%netscape.com
f59f13ab64
Somehow added to wrong directory. Moving.
...
git-svn-id: svn://10.0.0.236/trunk@54399 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 07:19:12 +00:00
warren%netscape.com
edca144500
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@54398 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 07:16:03 +00:00
warren%netscape.com
98eda3653c
Added test for res protocol.
...
git-svn-id: svn://10.0.0.236/trunk@54396 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:30:51 +00:00
warren%netscape.com
673fa8a01b
Added res and jar protocols.
...
git-svn-id: svn://10.0.0.236/trunk@54395 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:29:44 +00:00
warren%netscape.com
f6aaeb2e77
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@54390 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 05:54:31 +00:00
warren%netscape.com
a707b9e5a7
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@54389 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 05:51:32 +00:00
warren%netscape.com
5d77bc1cb6
Added nsIHttpEventSink.h
...
git-svn-id: svn://10.0.0.236/trunk@54388 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 05:49:38 +00:00
warren%netscape.com
b775f4788a
Fix to use the resource url as the original url if an original wasn't supplied.
...
git-svn-id: svn://10.0.0.236/trunk@54374 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 04:32:49 +00:00
valeski%netscape.com
27803fc1b1
18434, r=rpotts. the socket transport now issues OnProgress notifications
...
git-svn-id: svn://10.0.0.236/trunk@54344 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 23:53:10 +00:00
valeski%netscape.com
ebe6074d2f
bustage fix. comptr include ordering problem
...
git-svn-id: svn://10.0.0.236/trunk@54341 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 23:15:16 +00:00
valeski%netscape.com
742ccc82f5
bustage attempt. chasing comptr fun
...
git-svn-id: svn://10.0.0.236/trunk@54340 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 23:14:08 +00:00
warren%netscape.com
03a7be4590
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@54335 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 23:03:43 +00:00
valeski%netscape.com
5387fd9909
18434, r=rpotts. HTTP now implements AsyncOpen. AsyncOpen will be used by URI dispatching
...
git-svn-id: svn://10.0.0.236/trunk@54328 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:23:06 +00:00
valeski%netscape.com
702135127e
added files: mozilla/netwerk/protocol/ftp/public/nsPIFTPChannel.idl, removed files: mozilla/netwerk/protocol/ftp/public/nsIFTPChannel.idl
...
git-svn-id: svn://10.0.0.236/trunk@54320 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 22:00:54 +00:00