1328 Commits

Author SHA1 Message Date
alqahira%ardisson.org
6ab64cd8ca Bug 561536. Make sure to call OnStartRequest even if we're failing on an SSL CONNECT. Patch by Boris Zbarsky <bzbarsky@mit.edu>, r=jduell, a1.9.0.next=dveditz
git-svn-id: svn://10.0.0.236/trunk@260888 18797224-902f-48f8-a5cc-f745e15eee43
2010-07-26 04:25:45 +00:00
dveditz%cruzio.com
7280c4ecea Bug 487872 - NTLM fix. patch=jmathies, r=wtc, sr=bz, a1.9.0.16=dveditz
git-svn-id: svn://10.0.0.236/trunk@258964 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-11 08:22:51 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
cbiesinger%gmx.at
7509b39f4e 389440 move LOAD_NO_NETWORK_IO to nsICachingChannel to avoid modifying semantics of a frozen interface. Also replace NS_ERROR_NEED_NETWORK with NS_ERROR_DOCUMENT_NOT_CACHED
r+sr=bz a=roc


git-svn-id: svn://10.0.0.236/trunk@231094 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 02:40:46 +00:00
dcamp%mozilla.com
95ba970f9d update the offline cache atomically. b=389223, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@230915 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 06:31:28 +00:00
dcamp%mozilla.com
ce486d5c5a implement navigator.isLocallyAvailable. b=373231, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@229513 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 22:15:52 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
benjamin%smedbergs.us
c80e1713e7 Bug 383167 try #3 - need buildid in an external file, r=luser sr=jst with additional parts r=biesi
git-svn-id: svn://10.0.0.236/trunk@229176 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 18:20:28 +00:00
bent.mozilla%gmail.com
1dd5b937d4 Bug 386233 - "Content sniffers not always run depending on cache state". r+sr=biesi.
git-svn-id: svn://10.0.0.236/trunk@229175 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 18:16:52 +00:00
benjamin%smedbergs.us
56eb117779 Reverting bug 383167 again for linux test bustage :-(
git-svn-id: svn://10.0.0.236/trunk@228774 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 19:22:55 +00:00
benjamin%smedbergs.us
8a535f621a Bug 383167 trying again, reviews by luser and biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@228761 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-26 16:35:05 +00:00
roc+%cs.cmu.edu
5fc7fe1b75 Bug 381657. Install offline cache listener even for loads from the disk/memory caches. patch by Dave Camp, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@227209 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 02:34:23 +00:00
gavin%gavinsharp.com
9a6699bc86 Bug 379997: don't delete logins if authentication fails, patch by Justin Dolske <dolske@mozilla.com>, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@226389 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 18:39:35 +00:00
asqueella%gmail.com
a612569e07 Bug 369787 - calling nsHttpChannel::SetContentType on a closed channel doesn't work as expected.
p=Sylvain Pasche <sylvain.pasche@gmail.com>
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@226359 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 17:09:52 +00:00
sayrer%gmail.com
b428fd379d Bug 378787. Digest Authentication Request Splitting. r=biesi, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@225561 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-04 03:31:30 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
cbiesinger%web.de
feeb93a80f Bug 372486 – Document and enforce that channels can't be reopened
patch by Sylvain Pasche <sylvain.pasche@gmail.com> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@222290 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-23 21:57:26 +00:00
roc+%cs.cmu.edu
f427e2bbff Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@221859 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 01:52:07 +00:00
roc+%cs.cmu.edu
8eeb476d02 Bug 362435. Try using Samba's ntlm_auth to perform NTLM authentication on our behalf, when available. If the user has logged in by authenticating to Active Directory, then this may avoid having the user enter their password again. (single sign on) r+sr=biesi
git-svn-id: svn://10.0.0.236/trunk@221507 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 01:48:25 +00:00