2238 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
9111c8e1e2 Allow top-level, non-POST 3xx redirects from proxy server: bug 491818, patch by Jason Duell <jduell.mcbugs@gmail.com>. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@257329 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-01 16:15:29 +00:00
bzbarsky%mit.edu
081c5c8e1e Bug 479880. Prevent failed SSL tunnel replies from being interpreted: replace with boilerplate error pages. Patch by Jason Duell <jduell.mcbugs@gmail.com>, r=jwalden, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@257033 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-23 19:45:18 +00:00
bzbarsky%mit.edu
6633dd2f34 Bug 482659. Give about:blank documents the base URI of the document that did
the load. r=dcamp, sr=jst, a=dveditz


git-svn-id: svn://10.0.0.236/trunk@256568 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 23:27:19 +00:00
dcamp%mozilla.com
c336bb9a28 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. p=jduell, r+sr=bzbarsky, b1.9.1=jst, a1.9.0.8=dveditz
git-svn-id: svn://10.0.0.236/trunk@256545 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 06:19:07 +00:00
dveditz%cruzio.com
e8bb24352b bug 406767 clear invalid cache entries, p=Michal Novotny, r/sr=bzbarsky, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255769 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 07:49:33 +00:00
bzbarsky%mit.edu
7a1ecd860b Bug 460425. Do better security checks during redirection. r=sicking,biesi,
sr=sicking, a=dveditz


git-svn-id: svn://10.0.0.236/trunk@255759 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-08 01:03:37 +00:00
dcamp%mozilla.com
af0f294211 Bug 441751: Directives not to cache pages ignored. [r+sr=bzbarsky, a=dveditz]
git-svn-id: svn://10.0.0.236/trunk@255599 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-20 05:47:45 +00:00
bzbarsky%mit.edu
b26c2879c4 Bug 455311. Treat .url files as redirects. r+sr=biesi, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254553 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-07 16:21:27 +00:00
rcampbell%mozilla.com
ce578b77f6 bug 430155 - new nsHttpChannel interface to allow examination of HTTP data before it is passed to the channel's creator., p=wrobel,honza, r=bz,biesi, sr=shaver, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@254110 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-08 18:55:15 +00:00
dveditz%cruzio.com
722127da68 bug 380994 redux (typo caught by guninski) r=biesi, a=ssidler
git-svn-id: svn://10.0.0.236/trunk@253890 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-27 19:19:22 +00:00
dveditz%cruzio.com
fead23f7e2 bug 380994, bug 394075: stop directory traversals out of resource: on Linux/Mac
r=biesi, a=s.sidler


git-svn-id: svn://10.0.0.236/trunk@253865 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-27 07:25:30 +00:00
gavin%gavinsharp.com
4a54f343bb Back out the patch for bug 235853, again, because of mochi*chrome* failures this time.
git-svn-id: svn://10.0.0.236/trunk@250426 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 02:49:41 +00:00
gavin%gavinsharp.com
43c412409c Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, and fix HTTP channel code to properly forward cache-related properties to new proxied channels, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250413 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-18 01:36:30 +00:00
gavin%gavinsharp.com
50bff13dd8 Bug 421828: about:cache hexdump does not truncate buffer, overwrites counter, patch by Jan Darmochwal <jdarmochwal@gmx.de>, r=biesi, sr=bzbarsky, a=schrep
git-svn-id: svn://10.0.0.236/trunk@250178 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 01:15:45 +00:00
dcamp%mozilla.com
0919eed89c Bug 425792: Properly update and use expiration times when updating the offline cache. r/sr=biesi, b1.9=damons
git-svn-id: svn://10.0.0.236/trunk@249887 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-09 05:22:35 +00:00
gavin%gavinsharp.com
3bc524f809 Back out bug 235853 due to mochitest failures
git-svn-id: svn://10.0.0.236/trunk@249808 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 17:23:20 +00:00
gavin%gavinsharp.com
d6aeac1f4a Bug 235853: Defer proxy resolution for HTTP and HTTPS PAC to avoid blocking main thread during DNS resolution, patch by shaver@mozilla.org, r+sr=biesi, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@249800 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-08 14:28:03 +00:00
reed%reedloden.com
d6a3a0de53 Bug 422016 - "Crash [@ nsHttpHeaderArray::PeekHeader] with proxied https only when network.http.pipelining.ssl is true" [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r=biesi a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@248757 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-28 08:46:15 +00:00
cbiesinger%gmail.com
c0d8bd352a bug 395581 release and null out mTransaction when its Init method failed so
that we don't try to do anything with this half-initialized object, in
particular call Close on it.
r+sr=bz a=shaver


git-svn-id: svn://10.0.0.236/trunk@247633 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 12:58:06 +00:00
roc+%cs.cmu.edu
e5742ccb64 Bug 416175. Don't leak nsHttpConnectionInfo in nsHttpConnectionMgr::AddTransactionToPipeline. Also instruments nsHttpConnectionInfo so we can easily find more leaks of that object in future. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@246260 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-22 01:09:42 +00:00
tglek%mozilla.com
a960375c48 bug 398568: Fix prbool misuse in netwerk. r=biesi a=dsicore
git-svn-id: svn://10.0.0.236/trunk@246240 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-21 23:18:50 +00:00
jag%tty.nl
bc91d919a7 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan
git-svn-id: svn://10.0.0.236/trunk@245897 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-18 08:50:33 +00:00
reed%reedloden.com
8ebe824ee8 Bug 415262 - "Make general use of new NSPR rotate macros" [p=swsnyder@insightbb.com (Steve Snyder) r=wtc sr=dbaron a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@245595 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-13 11:34:47 +00:00
dwitte%stanford.edu
7d07f13807 enable pipelining over SSL by default. b=414477, r=biesi, sr=shaver, a=mconnor
git-svn-id: svn://10.0.0.236/trunk@245074 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-07 04:04:56 +00:00
reed%reedloden.com
42076e8ccb Bug 408979 - "Downloads are canceled on Exit when using a proxy server (HTTP/1.0)" (Remove HTTP/1.0 check) [p=hskupin@gmail.com (Henrik Skupin) r+sr=biesi a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@244468 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 04:35:17 +00:00
reed%reedloden.com
baf824d509 Bug 405693 - "don't update identical offline cache manifests" [p=honzab@allpeers.com (Honza Bambas) r=dcamp sr=biesi a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@244323 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 07:54:56 +00:00
reed%reedloden.com
d6a4824360 Bug 401718 - "[UA] Remove Mach-O from UA on PPC" [p=reed r=dbaron r=mento sr=biesi a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@240476 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 01:07:00 +00:00
cbiesinger%gmx.at
d293ae569b 345181 cache SSL content that was sent with a Cache-Control: public header to
disk
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@240146 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 18:09:05 +00:00
jwalden%mit.edu
c88344edb0 Kick one of the unit test tinderboxen into another build.
git-svn-id: svn://10.0.0.236/trunk@239588 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-17 19:47:06 +00:00
reed%reedloden.com
f4eb02a408 Bug 391855 - "FTP directory URL without a trailing slash can result in files being uploaded to the wrong place" [p=wgianopoulos@yahoo.com (Bill Gianopoulos) r=dougt sr=biesi aM9=beltzner]
git-svn-id: svn://10.0.0.236/trunk@238558 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-05 21:02:53 +00:00
dtownsend%oxymoronical.com
96390be45c Bug 400089: Include major OS revision for Mac OS X UA. r=mark@moxienet.com
sr=cbiesinger@gmx.at a=beltzner@mozilla.com


git-svn-id: svn://10.0.0.236/trunk@238331 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-30 15:47:30 +00:00
reed%reedloden.com
256585e0b0 Bug 396959 - "Eliminate nsHttpHandler caching of nsICacheSession pointers" [p=mike.tsao+moz@gmail.com (Mike Tsao) r+sr=biesi a1.9=sayrer]
git-svn-id: svn://10.0.0.236/trunk@237723 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-13 21:35:11 +00:00
edward.lee%engineering.uiuc.edu
31c6e6bcbc Bug 398069 - Don't cancel resume-from-0 transfers for HTTP 200 responses. r=biesi, sr= biesi, a=sayrer
git-svn-id: svn://10.0.0.236/trunk@237713 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-13 19:09:57 +00:00
reed%reedloden.com
09034ac14a Bustage fix for bug 398895.
git-svn-id: svn://10.0.0.236/trunk@237698 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-13 04:54:07 +00:00
reed%reedloden.com
a66dd30857 Bug 398895 - "about:bloat should only be built if trace-refcnt logging is built" [p=xfsunoles@gmail.com (Jonathan Steele) r+sr=bzbarsky a1.9=sayrer]
git-svn-id: svn://10.0.0.236/trunk@237696 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-13 04:03:49 +00:00
sdwilsh%shawnwilsher.com
b57105416a Bug 395539 - FTP TransportStatus's progressMax reports the full file size for REST retrieval (resuming partial download). Patch by Edward Lee <edilee@gmail.com>. r=cbiesinger, sr=cbiesinger, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236134 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 20:35:11 +00:00
cbiesinger%gmx.at
a662b94044 bug 395205 correctly check whether we are resuming and don't open a cache
entry if so
r=darin sr=dmose a=blocking1.9


git-svn-id: svn://10.0.0.236/trunk@236057 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 14:37:17 +00:00
jag%tty.nl
bcbca15783 Bug 394139: Replace a bunch of NS_DEFINE_CIDs with CONTRACTIDs. r=/sr=/a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@233931 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 13:05:02 +00:00
timeless%mozdev.org
72b27f006d Bug 392649 https add-on install from filepicker crashes [@ net_GetURLSpecFromFile]
r=biesi sr=biesi a=bz


git-svn-id: svn://10.0.0.236/trunk@233925 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 10:22:42 +00:00
cbiesinger%gmx.at
b2820e7aa6 389719 always release notification callbacks/progress sink
r+sr+a=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@233506 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-31 19:44:17 +00:00
jag%tty.nl
d85614acae s/NS_INTERFACE_MAP_END_THREADSAFE/NS_INTERFACE_MAP_END/. Should've been done for bug 201040. rs=biesi, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@233192 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 06:11:34 +00:00
cbiesinger%gmx.at
f53838a85f 393624 check for unexpected status codes when resuming downloads
r+sr+a=bz


git-svn-id: svn://10.0.0.236/trunk@233048 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 00:47:56 +00:00
cbiesinger%gmx.at
ebd2f0ed7f 393622 add logging to HTTP channel resuming code
r+sr+a=bz


git-svn-id: svn://10.0.0.236/trunk@233041 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 23:17:07 +00:00
bzbarsky%mit.edu
0c36fa37d6 Relanding patch for bug 137155 on trunk because we think it may be OK now.
Patch by darin, r+sr=bzbarsky+biesi, a=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@232998 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-24 01:45:23 +00:00
bzbarsky%mit.edu
8c7c9bf5cf Make Suspend() work on an HTTP channel if called right after AsyncOpen. Bug
392837, r+sr=biesi, a=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@232952 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-23 18:56:12 +00:00
cbiesinger%gmx.at
d461bba938 Bug 391951 don't strip escaped spaces for non-base64 data URIs
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@232464 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 17:28:22 +00:00
cbiesinger%gmx.at
17a0d47c72 Bug 390082 make sure to make data connections to the same IP address as the control connection
r+sr+a=bz


git-svn-id: svn://10.0.0.236/trunk@232186 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 00:15:53 +00:00
cbiesinger%gmx.at
34d95111bf 390126 unescape the URL before compressing whitespace
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@231844 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-10 19:52:51 +00:00
cbiesinger%gmx.at
8a72cbaa74 388523 make sure to call OnStartRequest even when we have a pending auth retry and the channel has been cancelled in the meantime
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@231602 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 20:09:25 +00:00
bzbarsky%mit.edu
bd6ba19cca Fix crash if the channel gets canceled too early. Bug 390938, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@231568 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-07 01:59:10 +00:00