Patrick McManus
a6451547c5
bug 712021 - spdy cancel stream should remove from pending queue r=honzab
2011-12-19 16:36:26 -05:00
Patrick McManus
15c8dc98a6
bug 710310 spdy google docs large file save intermittent failure r=honzab
2011-12-17 20:05:56 -05:00
Geoff Brown
aad0689059
Bug 648429: HTTP cache: compress all compressible files; r=michal.novotny
2011-12-17 11:30:29 +01:00
Patrick McManus
3ba70e69a9
bug 528288 - reland spdy after libxul weightloss a=khuey CLOSED TREE
2011-12-13 10:55:50 -05:00
Ed Morley
dd38904e41
Backout SPDY to keep us under the MSVC virtual address space limit during win PGO builds (bug 709193)
...
Backs out 952d14a9e508 (bug 707173), c170c678c9ac (bug 708305), 0a5f66d5d8e4 (bug 707662), 3204b70435fe (bug 706236) and the main landing range 48807fde0339:0bd45ead1676 (bug 528288).
2011-12-10 22:36:26 +00:00
Patrick McManus
a67e879446
bug 707173 - spdy telemetry for connection management r=honzab
2011-12-08 12:09:46 -05:00
Patrick McManus
1a6a002f9a
bug 708305 update 2 instances of PR_TRUE/PR_FALSE in spdysession r=honzab
2011-12-07 14:26:05 -05:00
Patrick McManus
f54a57c679
Bug 707662 - spdy null deref halfopen-transportstatus r=honzab
2011-12-06 09:43:09 -05:00
Patrick McManus
afe42a8481
bug 706236 spdy deadlock on TCP rst during frame body buffering r=honzab
2011-12-06 09:43:08 -05:00
Patrick McManus
1a265197b5
bug 528222 - spdy, fix overallocation of header expansion buffer r=honzab
...
patch 18
2011-12-02 10:28:57 -05:00
Patrick McManus
ac80bfadf7
bug 528288 spdy - nsisslsocketcontrol::mayjoinconnection() r=honzab r=bsmith sr=honzab sr=biesi
...
patch 17
2011-12-02 10:28:57 -05:00
Patrick McManus
69e082c5ad
bug 528288 - disallow spdy from http created in nsNSSCallbacks to avoid OSCP/CRL loops with alternate-protocol sr=biesi r=honzab
...
patch 15
2011-12-02 10:28:57 -05:00
Patrick McManus
70abff1eeb
bug 528288 - spdy. Cleanups involving host coalescing r=honzab
...
patch 14
fixes 666028
2011-12-02 10:28:57 -05:00
Patrick McManus
d868a28a7d
bug 528288 spdy - when coalescing get ip from nsISocket instead of dns lookup r=honzab
...
patch 11
2011-12-02 10:28:57 -05:00
Patrick McManus
56881c6c2c
bug 528288 spdy - when coalescing hosts use anonymous flag as part of hash key r=honzab
...
patch 10
2011-12-02 10:28:57 -05:00
Patrick McManus
65d9f31933
bug 528288 spdy - only coalesce (i.e. ip pool) hostnames with compatible ssl certs sr=biesi r=honzab r=bsmith
...
patch 9
2011-12-02 10:28:57 -05:00
Patrick McManus
18a1ea247e
bug 528288 spdy - provide a pref to control alternate-protocol support r=honzab
...
patch 8
2011-12-02 10:28:57 -05:00
Patrick McManus
316b9b7d8d
bug 528222 spdy - no npn when connecting to proxy r=honzab
...
patch 7
2011-12-02 10:28:57 -05:00
Patrick McManus
018b9f171b
bug 528288 spdy - logging enhancements r=honzab
...
patch 6
2011-12-02 10:28:57 -05:00
Patrick McManus
a1df796553
bug 528288 - require spdy compliant headers to be lower case and without chunked encodings r=honzab
...
patch 5
2011-12-02 10:28:57 -05:00
Patrick McManus
689c7b2bfe
bug 528288 - spdy settings frame parser bounds check r=honzab
...
patch 3
2011-12-02 10:28:57 -05:00
Patrick McManus
3e4edc0d65
bug 528288 - HTTP Alternate-Protocol header for transitioning from http to spdy r=honzab
...
patch 2
2011-12-02 10:28:57 -05:00
Patrick McManus
795431c27d
bug 528288 - spdy: early configuration of npn negotiation from IsAlive() r=honzab
...
patch 1
2011-12-02 10:28:57 -05:00
Patrick McManus
82c9bf6d8e
bug 528222 Basic SPDY web transport support. r=honzab r=bsmith sr=biesi
...
patch 0
2011-12-02 10:28:56 -05:00
Patrick McManus
30aeed8fda
bug 671875 pipeline transport event fixups r=honzab
2011-12-01 09:19:41 -05:00
Luca Tettamanti
e392471fd0
Bug 702941 Disable HTTP pipelining Winstone when talking to Servlet Engine r=mcmanus
...
--HG--
extra : rebase_source : 7f57bee7d9c4f8d5eb6f8484921fd27fe87ff2c3
2011-11-17 11:41:53 -05:00
Patrick McManus
18490a64a8
bug 667385 - followon patch to remove an old PRBool rs=honzab
2011-11-15 11:25:56 -05:00
Patrick McManus
618417d206
bug 667385 nshttppipeline::isdone does not consider done sub transactions r=honzab
2011-11-15 10:12:43 -05:00
Patrick McManus
f32f9929a4
bug 670994 - nsHttpPipeline::ResumeSend() in not unreachable r=honzab
2011-11-15 10:00:46 -05:00
Honza Bambas
6cf12d45c8
Bug 669001 - Vary: User-Agent + new UA string (i.e. after update) + HTTP 304 = broken cache, r=bz
2011-11-09 18:19:00 +01:00
Honza Bambas
506e49ed04
Bug 573043 - Enable Extended Protection (channel and service bindng) for NTLM authentication, r=jmathies
2011-11-09 18:18:59 +01:00
Ed Morley
5196b8eed8
Merge last green changeset of mozilla-inbound to mozilla-central
2011-11-08 14:56:02 +00:00
Honza Bambas
763505b7a6
Bug 700402 - ABORT: syntimer not null, creting SYN retry timer after connection manager shutdown, r=mcmanus
2011-11-08 11:56:46 +01:00
Ed Morley
01f7bdf1f4
Backout 31d345404c98 (bug 671634) due to missing privacy review and necko peer review; a=dao
2011-11-08 10:43:36 +00:00
Wes Johnston
78c00de613
Bug 671634 - Update Fennec useragent to more closely match stock browser. r=dougt
2011-11-07 15:03:53 -08:00
Patrick McManus
f495a11892
bug 599295 r=jduell
...
--HG--
extra : rebase_source : b376fd42a37c8b92389b43fac2e253a8466c3349
2011-11-02 17:43:27 -04:00
Honza Bambas
9991653ed2
Bug 684893 - part1: Start backup TCP SYN timer on primary TCP connection start, r=mcmanus
2011-11-02 17:18:53 +01:00
Jonathan Watt
71a67640b1
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Masatoshi Kimura
27c30d8913
Bug 689008: Part 2 - Fix the cache issue; r=michal
2011-10-26 08:52:27 -04:00
Patrick McManus
c51623e800
bug 692260 - pr_poll limit autodiscovery for windows r=jduell
...
--HG--
extra : rebase_source : dc9b024b4004e0a4025e843e94e046b4dd69dca9
2011-10-25 11:36:49 -04:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Julian Reschke
e005d63561
Bug 676059 - Make redirect prompting depend on HTTP-safeness of method, not presence of request body. r=bz
...
--HG--
extra : rebase_source : 758d5f6a873e072dee96da181cbb0b1c8419fcd3
2011-10-14 17:46:33 +02:00
Nick Hurley
b6fb7a423c
bug 687085 - telemetry for hit/reval/miss by device type. r=mcmanus
2011-10-06 12:02:23 +02:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Kyle Huey
94f9d1607c
Backout Bug 477578 because it causes us to refcount atoms off the main thread.
2011-09-22 10:43:11 -04:00
Patrick McManus
356caee1ca
bug 255119 do not display http response body of 3xx with javascript: location header r=honzab
2011-09-22 08:59:12 -04:00
Nick Hurley
a44090294e
Bug 686948 - Add telemetry for cache hit/miss with/without revalidation. r=mcmanus
2011-09-17 10:22:09 +01:00
Michal Novotny
8963489cac
Bug 477578 - uppercase selected HTTP methods (CONNECT, DELETE, GET, HEAD, OPTIONS, POST, PUT, TRACE and TRACK) and make other methods case sensitive
2011-09-12 18:00:15 +02:00
Nick Hurley
7400a85df3
bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky
2011-09-09 15:41:04 -07:00
Patrick McManus
b1303a6bca
bug 423506 - 0 byte responses causing save-as dialogues r=bz
...
--HG--
extra : rebase_source : 3a8a20ab0d8dc1b4c58db2a71e18d4c8b8875692
2011-09-03 08:42:06 -04:00
Jason Duell
4740000807
Bug 588256: e10s HTTP: clean up more aggressively in DocumentChannelCleanup. r=jdm
2011-09-02 13:03:42 -07:00
Marco Castelluccio
7cb0506077
Bug 682744 - Sprinkle some do_QueryObject fairy dust around the tree; r=khuey
2011-08-30 22:45:31 +01:00
Masatoshi Kimura
aae0d71ffc
Bug 679090 - Disable IPv6 for backup connections to workaround problems about broken IPv6 connectivity; f=mcmanus r=biesi
2011-08-27 11:49:40 +01:00
Han Chang
a5a3907048
Bug 673260. HttpChannelChild::RecvAssociateApplicationCache needs to be buffered. r=jduell
2011-08-22 14:17:14 -07:00
Honza Bambas
9725af820a
Bug 662555 - Race condition when measuring responseEnd; r=jduell.mcbugs
2011-08-21 09:27:29 +01:00
Benjamin Smedberg
9260a95563
Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell
...
--HG--
extra : rebase_source : 7bf53b5ac6f52df0224f4fdad78e172762fa7c64
2011-08-19 11:47:43 -04:00
Honza Bambas
8f39c0e8fd
Bug 675804, r=jduell
2011-08-08 14:20:02 +02:00
Michael Wu
48f2ffa17a
Bug 675873 - Switch nsHttpConnectionMgr from nsHashtable to nsClassHashtable, r=bz
2011-08-03 18:59:10 -07:00
Evan Shaw
c85bcd065c
Bug 631967 - Fix unsafe pointer dereference. r=mayhemer
2011-07-21 22:29:00 -04:00
Michael Wu
706be3a5e8
Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith
2011-07-25 21:57:58 -07:00
Patrick McManus
7c416b35ae
bug 648941 - close persistent connections when transitioning in/out of private browsing r=bz
2011-07-25 16:25:01 -04:00
arno renevier
6b41f8ec70
Bug 561042 - remove http headers size limit. r=bz
2011-07-24 13:46:33 +02:00
Patrick McManus
2b8561c7ca
bug 628561 release http persistent connection on force reload r=bz
...
A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.
2011-07-22 12:31:37 -04:00
Marco Bonardo
3daa3b7be0
Backout changesets 79a36ed03e14, d17ac9b0254e due to suspect xpcshell permaorange on OSX opt
2011-07-22 14:35:41 +02:00
Geoff Brown
023a2dc3ae
Bug 648429 - HTTP cache: compress compressible files; r=michal.novotny
2011-07-21 14:04:57 -04:00
arno renevier
5388ac92cf
Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg
2011-07-21 04:37:31 +02:00
Kyle Huey
34ff9786ed
Bug 671053: Explicitly drop nsHttpConnection's ref to the callbacks at transaction close rather than waiting for connection reuse/expiration. r=mcmanus
2011-07-14 11:09:48 -07:00
Boris Zbarsky
bd8923f8be
Bug 667907. For HTTP 0.9 on non-default ports, be more conservative. r=jduell
2011-07-07 14:17:13 -04:00
Jason Duell
7930ebccb9
bug 655389 - CRLF Injection and the parsing of HTTP headers. r=bz
2011-07-04 23:12:32 -07:00
Marco Bonardo
c6859b3730
Merge last green changeset from mozilla-inbound to mozilla-central
2011-07-04 12:46:07 +02:00
Christian Biesinger
60ccc8af25
bug 621558 - Disable IPv6 for the 300ms-delayed backup connection to improve
...
the user experience of people with broken IPv6 connectivity (i.e. implement
Chrome's "Happy Eyeballs" strategy)
r=mcmanus
2011-07-04 11:47:09 +02:00
Philipp von Weitershausen
c28032f446
Bug 668642 - Make nsIHttpHeaderVisitor a [function] interface. r=bz
2011-06-30 23:55:56 +02:00
Josh Matthews
180c7a5397
Bug 537787 - Remote websockets. r=jduell
2011-05-04 15:36:23 +02:00
Joe Drew
b5189f219a
Back out fcf08eff68eb (Bug 662555) for causing reftest assertions.
2011-06-28 14:41:14 -04:00
Honza Bambas
0e32a4cab2
Bug 662555 - Race condition when measuring requestEnd, r=jduell
2011-06-28 16:49:45 +02:00
Ed Morley
af1d9c6c2b
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
Jason Duell
f6ae5087c9
Bug 666502. DONTBUILD. Document how we make sure HTTP headers have been read by time OnStartRequest called. r=bz
2011-06-23 14:41:45 -07:00
Neil Rashbrook
26adff7f97
Bug 660527 Remove useless uses of PromiseFlatCString r=biesi
2011-06-16 21:25:20 +01:00
Patrick McManus
b3c5916d33
bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab
2011-06-15 10:24:09 -04:00
Matt Brubeck
968d7fd4f5
Back out 58c903b0db40 (bug 658580) temporarily to get m-i in a known good state.
2011-06-15 09:39:42 -07:00
Patrick McManus
8e1391e0b4
bug 658580 revert isalive() from 654201 to fix an alternate way r=honzab
2011-06-15 10:24:09 -04:00
Philipp von Weitershausen
5519419262
Back out bug 664163 (changeset cfb40abb9655) due to failure in test_traceable_channel_wrap.js
2011-06-15 11:00:04 +02:00
Jason Duell
380d97da7d
Bug 664163. Fix implementation of Implement Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm
2011-06-14 09:12:03 -07:00
Jason Duell
d062346c8e
Bug 660774 - e10s necko: refactor channelEventQueue to allow async resume/flush. r=jdm
2011-06-11 18:37:09 -07:00
Nick Hurley
092371ea1a
Bug 637339 - Improve error handling in HttpChannelChild. r=honzab
2011-06-11 18:37:03 -07:00
bjarne@runitsoft.com
1b7ff0ec91
Bug 618835 - Cannot login to phpmyadmin if I made a typo during my first login attempt r=bz
2011-06-11 16:57:10 +02:00
timeless@mozdev.org
57239eacfd
Bug 538724 Firefox 3.6.x + winxp topcrash starting ~Dec 30 and increasing [@ nsHttpTransaction::DeleteSelfOnConsumerThread() ]
...
r=biesi
2011-06-11 16:56:36 +02:00
Ed Morley
eb202536cf
Bug 659944 - Remove leftover MOZ_IPC ifdef in nsHttpChannel.cpp; r=cbiesinger
2011-06-11 09:12:34 +02:00
Jason Duell
424230b54e
Bug 663229 - e10s HTTP: initialize prnetaddrs correctly in child. r=jdm
2011-06-09 14:02:09 -07:00
Jonathan Protzenko
1b9ca7ae96
Bug 662126 - Audit ConfirmEx callers to ensure that aCheckState is not an uninitialized PRBool r=bz
2011-06-07 20:06:12 +02:00
Dominic Fandrey
0ab2f46136
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Patrick McManus
14fd4e9ce5
bug 597706 - response header smuggling r=honzab
...
reject responses with multiple non identical or invalid
content-length headers
2011-05-31 19:51:51 -04:00
Honza Bambas
923a9677e4
Bug 649338 - Expose mUploadStreamHasHeaders on the HttpBaseChannel, r=bz
2011-05-29 15:55:38 +02:00
Bjarne
94e5da14c6
Fixing part of bug 659569. Fix issue with Firefox getting stuck in a redirect loop when connecting to Ubiquiti radio equipment. r=bzbarsky@mit.edu
2011-05-25 15:23:05 -07:00
Patrick McManus
2ead98965f
604796 - close our idle HTTP connection when server closes its end r=honzab
...
--HG--
extra : rebase_source : b4c89df4d3eab7b7c8c60d625467847557bc7291
2011-05-16 09:32:37 -04:00
Matt Brubeck
ec953fc5a6
Merge cedar to mozilla-central
2011-05-24 14:55:37 -07:00
Jason Duell
05cec30300
Bug 646373 - Fix AdBlock2 on fennec (nsITraceableChannel.setNewListener() is unimplemented under e10s.) r=honza, a=queue
2011-05-24 02:32:26 -07:00
Jason Duell
db6cc3f4b0
Add missing OnExamineResponse() call to e10s HTTP. r=biesi
2011-05-23 22:14:16 -07:00
Christian Biesinger
1c8d1318a9
Bug 658822 - Fix implementation of DNS timing in nsITimedChannel; r=jduell
2011-05-22 21:29:42 -07:00
Honza Bambas
e396bc485c
Bug 658876 - nsHttpChannel.mAsyncOpenTime should be set after mLoadGroup->AddRequest, r=cbiesinger
2011-05-23 16:38:24 +02:00
bjarne@runitsoft.com
1419977b7f
Bug 633743 - reverting closed tab with pushState changes sends request with HTTP_X_REQUESTED_WITH:XMLHttpRequest r=bzbarsky
...
With this change, we check for ResponseWouldVary() to make sure that we're talking about the same entity as the caller before we worry about whether the caller passed LOAD_FROM_CACHE and such. If what we have cached is just fundamentally different from what the caller wants, we don't want to return it.
2011-05-23 16:47:02 -04:00
Daniel Holbert
ff123ba64d
Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz
2011-05-21 18:12:46 -07:00
Christian Biesinger
c93ab7d02c
Bug 576006 - Implement timing interface for channels
...
r=jduell sr=bz
2011-05-21 03:03:36 -07:00
Patrick McManus
ec459a736d
bugzilla 640213 Implement RFC 2616 "Upgrade" (Section 14.42) r=biesi sr=bz
2011-05-19 19:43:37 -04:00
Patrick McManus
dc8193162b
Bug 654201 - avoid nsHttpConnection::IsAlive() running event loop for unused SSL connections r=honzab sr=biesi
2011-05-19 15:06:44 -04:00
Phil Ringnalda
732ca210bc
Back out 40d44ce2377e (bug 640213) on suspicion of causing Windows crashes and timeouts in media tests
2011-05-14 20:13:57 -07:00
Patrick McManus
9bffb83e96
Bug 640213 - Implement HTTP 2616 Upgrade. r=biesi, sr=bz.
2011-05-14 18:55:54 +01:00
Phil Ringnalda
2a38c0d921
Back out 93604789da99 (bug 637339) on suspicion of causing timeouts in Linux debug test_httpsuspend_wrap.js CLOSED TREE
2011-05-13 20:48:38 -07:00
Nick Hurley
1a02346a21
Bug 637339 - Improve error handling in HttpChannelChild. r=jduell
2011-05-13 18:02:07 -07:00
Daniel Holbert
1a6de944a3
Merging cedar with mozilla-central.
2011-05-13 17:17:56 -07:00
Patrick McManus
848aca833e
bug 654201 - an idle persistent connection could be run with the wrong security callbacks r=honzab
2011-05-13 13:28:30 -07:00
Patrick McManus
9cf999e2db
bug 640003 - websockets, nsIIOService2::NewChannelFromURIWithProxyFlags() r=biesi sr=bz
2011-05-13 13:53:27 -04:00
Dão Gottwald
89afcea3e6
Bug 655628 - Remove unused Accept_Charset atom. r=biesi
...
--HG--
extra : rebase_source : 27f4ded368d8ed2519eb40bdb96bbfa6ff06111d
2011-05-10 09:46:14 +02:00
Mounir Lamouri
69a6bfc5d9
Merging cedar with mozilla-central.
2011-05-08 18:23:36 +02:00
Ed Morley
d460b89ece
Bug 654552 - Remove WinCE code from netwerk/* ; r=cbiesinger
2011-05-07 10:03:16 +02:00
Nick Hurley
1e329e6c27
bug 648878 - move get(local|remote)(address|port) to httpchannelchild r=jduell
2011-05-05 11:45:59 -04:00
Boris Zbarsky
e3b91fffc2
Backed out changeset 998b91ea0ffa (bug 648878) because it doesn't build on Windows.
2011-05-03 19:34:58 -04:00
Nick Hurley
d9b9d8ca90
bug 648878 - move get(local|remote)(address|port) to httpchannelchild, r=jduell
2011-05-03 17:47:05 -04:00
Patrick McManus
ae39c259af
Bug 653530 - HTTP Transaction multiply dispatched r=honzab
...
--HG--
extra : rebase_source : 6ba6ea647bd83154f03ded03ec4fc88580fc8f2f
2011-04-29 15:32:40 -04:00
Chris Jones
ed22df8f64
Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
...
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Patrick McManus
fa5755bdc7
bug 652761 ABORT: half open complete but no item: 'index != -1' with embedded src port 80000 r=honzab
2011-04-28 17:43:24 -04:00
Ms2ger@gmail.com
f7ccb3b375
Bug 572652 - Remove the Accept-Charset header from HTTP requests. r=bz
2011-05-08 10:33:18 +02:00
Daniel Holbert
ba9a18927d
Bug 650871: Use unsigned int as loop counter in nsHttpConnectionMgr::OnMsgReclaimConnection, to fix GCC warning. r=biesi r=mcmanus
2011-04-20 01:28:38 +02:00
Patrick McManus
c1ace42ab7
bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
...
--HG--
extra : rebase_source : cdcfdf33e201ba83ab9b3370facf8c7a16fe469d
2011-04-13 08:59:29 -04:00
L. David Baron
e8ae894594
Backout changeset e6d044d30abf (bug 607741) for not compiling.
2011-04-11 23:17:43 -07:00
Patrick McManus
4f4340e611
bug 607741 - Raise max sockets open from 50 to up to 550. r=jduell
2011-04-11 22:37:59 -07:00
Ehsan Akhgari
39d4c8a920
Backout changeset 649e429d342f (bug 607741) because of mobile tree oranges
2011-04-11 13:28:41 -04:00
Ehsan Akhgari
51c54bf6a6
Merge cedar into mozilla-central
2011-04-10 15:11:22 -04:00
Honza Bambas
149007d1bb
Bug 526207: Make IP address and port information available to HTTP activity observers. r=biesi
2011-04-10 10:33:08 -07:00
Jason Duell
94cd641e0e
Bug 561694: Optimize IPDL traffic for necko OnProgress/OnStatus. r=honzab
2011-04-09 20:42:05 -07:00
Patrick McManus
f8e3139764
bugzilla 595316 remove static cast of nsAHttp* objs r=honzab
...
--HG--
extra : rebase_source : 1226b809dc071fa71340e461a6fde36c8da7d39b
2011-04-08 14:37:16 -04:00
Patrick McManus
a911c3a34d
624739 - sort idle persistent http connections by pereceived server cwnd
...
--HG--
extra : rebase_source : 29c50d0c0e99220bb87b5f584188fad49cc33439
2011-04-08 14:36:47 -04:00
Patrick McManus
d31bbb261d
bug 607741 - lift 50 socket limitation r=jduell
...
raise sockettransportservice max sockets to 550 from 50 for linux, os
x, and windows >= xp. This does not change the default http
max-connections config (which remains at 30), but does allow
configurations above 50 to work and will enhance the utility of other
systems that use the sockettransportservice.
win9x provides a small number of sockets (100), so we just leave the
limits unchanged there out of conservatism.
--HG--
extra : rebase_source : 9d7a4b5a9112e17144fb510e3d8eb188919e5bf4
2011-04-08 14:36:38 -04:00
Ehsan Akhgari
ef53848cec
Merge cedar into mozilla-central
2011-04-06 16:39:14 -07:00
Matheus Kerschbaum
93480c6366
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Patrick McManus
157bd1d75c
Bug 643352 keep-alive header syntax invalid r=bz
...
don't send the keep-alive request header. It is redundant to
connection: keep-alive and we don't send the right syntax anyhow.
2011-03-23 11:02:33 -04:00
Patrick McManus
4bd3cac746
Bug 632419 - HTTP 100 level parser race condition r=bz
2011-03-23 10:59:58 -04:00
Daniel Holbert
45c6a521fa
Bug 623948 followup: Fix gcc 4.5 build error by explicitly extracting pointer from nsRefPtr in 2 LOG lines. r=ehsan
2011-04-01 14:38:46 -07:00
Julian Seward
0ac527c26e
Bug 560579 - bitfield-induced race in class nsHttpTransaction; r=biesi
2011-03-24 15:51:00 -04:00
Ehsan Akhgari
73dd5db57d
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Jeff Muizelaar
326315dab1
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Patrick McManus
6d7ea24a10
bug 623948 - Accelerate TCP connection retries in HTTP r=honzab
2011-03-31 15:38:30 -04:00
Ehsan Akhgari
49fceed112
Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge)
2011-04-01 12:23:48 -04:00
Ehsan Akhgari
f2b4323534
Merge cedar into mozilla-central
2011-04-01 11:37:50 -04:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0bb511a3d7
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
a75fb12531
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
cc8b4c9c6c
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Julian Seward
c3040d3e8c
Bug 560579 - bitfield-induced race in class nsHttpTransaction; r=biesi
2011-03-24 15:51:00 -04:00
Ehsan Akhgari
f4575bfe5e
Bug 646071 - Part 3: Remove nsInt64.h, and convert all uses of nsInt64 and nsUint64 in the tree to PRInt64 and PRUint64, respectively; r=bsmedberg
2011-03-31 20:15:27 -04:00
Jeff Muizelaar
4e1b7d656b
Bug 646071 - Part 2: Replace nsInt64 with a typedef to PRInt64; r=bsmedberg
2011-03-31 20:15:04 -04:00
Patrick McManus
a26f726650
bug 623948 - Accelerate TCP connection retries in HTTP r=honzab
2011-03-31 15:38:30 -04:00
Dão Gottwald
a885be300e
Bug 646428 - Remove nsIHttpProtocolHandler's language attribute. r=bz
2011-04-06 17:17:28 +02:00
L. David Baron
b2e59587e8
Use nsAutoLock::NewLock, nsAutoLock::DestroyLock, nsAutoMonitor::NewMonitor, and nsAutoMonitor::DestroyMonitor as required by the API. (Bug 594666) r=cjones
2011-03-29 08:43:26 -07:00
Justin Lebar
7e2c5ae50d
Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
...
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
395dbdf918
Merge cedar into mozilla-central
2011-03-25 14:21:07 -04:00
bjarne@runitsoft,com
d902fada99
Bug 482935 - Cancel() from OnStopRequest should not cause cache entry to be doomed; r=(dwitte, jduell).
2011-03-24 16:45:07 -04:00
Joe Drew
1ba8c47fbd
Back out bug 628561 (d5fad1ab2f00) on suspicion of causing Tp regressions.
2011-03-24 20:30:59 -04:00
Joe Drew
c4b6e8f543
Back out bug 643352 (118451f8ec76) on suspicion of causing Tp regressions.
2011-03-24 20:29:08 -04:00
Joe Drew
5f5b3c4c3b
Back out bug 632419 (dbe8ef0649ac) on suspicion of causing Tp regressions.
2011-03-24 20:27:11 -04:00
Ehsan Akhgari
f83c604e6c
Merge cedar onto mozilla-central
2011-03-24 14:42:21 -04:00
Patrick McManus
b13ecb026e
bug 628561 DNS caching forcing one to restart Firefox to eliminate temporary DNS redirection; r=bzbarsky
...
A force-reload now clears persistent connections to the server related
to the force-reloaded resource. This will allow renogitation of DNS or
server load balancing.
--HG--
extra : rebase_source : 5c55e90ea64039b9cdc0a2d85a51086d2b1d40df
2011-03-24 12:01:57 -04:00
Ehsan Akhgari
35a76662aa
Bug 616745 followup - fixed typo
2011-03-23 23:48:52 -04:00
Patrick McManus
61d74558d8
643352 keep-alive header syntax invalid r=bz
...
don't send the keep-alive request header. It is redundant to
connection: keep-alive and we don't send the right syntax anyhow.
--HG--
extra : rebase_source : c6d9cb95d2d1cac30bc718884eb3b909db0d6a43
2011-03-23 11:02:33 -04:00
Patrick McManus
91f82129c3
Bug 632419 - HTTP 100 level parser race condition r=bz
...
--HG--
extra : rebase_source : 0cd0a74bfe850d0c16d7f74b77c8ca0c286e1144
2011-03-23 10:59:58 -04:00
Ehsan Akhgari
47cf269311
Merge mozila-central onto cedar
...
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
bjarne@runitsoft.com
3b3f5bf40a
Bug 561276 - Cookie dependency on cache determination for image redirects r=bz
2011-03-23 23:36:53 -04:00
Ms2ger
384aab2569
Bug 637186 - Ignoring return value of SendDeleteSelf in HttpChannelParent::Delete; r=honzab.moz
2011-03-22 15:16:33 -04:00
Mitchell Field
b6976ca587
Merge mozilla-central to build-system.
2011-03-02 20:38:54 +11:00
Brian Smith
99229eb36d
Bug 637361: Backout bug 573043, a=blocker
2011-03-01 19:16:22 -08:00
Brian Smith
6e3249a44c
Bug 637361: Backout bug 573043
2011-03-01 19:11:22 -08:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Patrick McManus
16aeac69f7
Bug 635892 - HTTP/2.0 from SmarterTools Server. Fake it till you make it. a=hardblocker r=bz
...
--HG--
extra : rebase_source : 6a61e6e6a1ececf8d1d0827706e0755741930832
2011-02-22 21:02:19 -05:00
Honza Bambas
4b801dad80
Fix bug 573043. r=jmathies@mozilla.com, a=blocker.
...
--HG--
rename : security/manager/ssl/public/nsISSLStatus.idl => netwerk/base/public/nsISSLStatus.idl
rename : security/manager/boot/public/nsISSLStatusProvider.idl => netwerk/base/public/nsISSLStatusProvider.idl
rename : security/manager/ssl/public/nsIX509Cert.idl => netwerk/base/public/nsIX509Cert.idl
2011-02-08 16:12:29 -08:00
Patrick McManus
c1c1f7e184
Bug 632061 - Firefox 4 does not always properly handle HTTP/0.9 responses r=bz a=blocking-2.0
...
--HG--
extra : rebase_source : 8185a73da91b5327d5826d8945a044ac87fd41be
2011-02-08 18:26:33 -05:00
Neil Rashbrook
3a0f10932d
Bug 616809 Remove CRs from netwerk r=biesi a=jst DONTBUILD
2011-02-06 00:04:14 +00:00
timeless@mozdev.org
971e36d6d8
Bug 584999 remove unused nsresult rv in nsHttpChannel::ContinueOnStartRequest2
...
r=biesi
2010-08-06 16:16:32 +03:00
timeless@mozdev.org
19d6a64f6e
Bug 616745 warning: comparison between signed and unsigned integer expressions in nsHttpTransaction::LocateHttpStart
...
r=biesi
2011-03-23 23:31:28 -04:00
bjarne@runitsoft.com
931d1ac2ff
Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0
2011-02-04 14:49:05 -05:00
Ehsan Akhgari
c07c875d05
Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
...
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
bjarne@runitsoft.com
29d9225a9a
Bug 612135: Content Encoding Error (partial content request) on galaxys.samsungmobile.com r=bzbarsky a=blocking2.0
...
--HG--
extra : rebase_source : 32ff74259046fd2f3a673df39620acb10accf2cb
2011-02-04 14:49:05 -05:00
Patrick McManus
727c1bc347
624374 - remove unused nsHttpConnection::mLock. r=honzab.moz@firemni.cz, a=jst@mozilla.com
2011-02-02 10:53:06 -08:00
Patrick McManus
0d5cfec907
bug 628832 - fix regression in http/0.9 detection from 363109; r=zbarsky a=blocking-2.0
...
* instead of making (dis)-allow 0.9 a property of connection info,
work off a state machine that engages in the liberal skipping of
junk before response headers only immediately after a no-content
response on the same connection.
* when scanning for response headers in a large amount of junk place a
non infinite limit on that (128KB).. the only known use case for
this is skipping illegal message bodies in 304's and those just
aren't that big.
--HG--
extra : rebase_source : 433fd6aae237d29a9957b1a70cf1e756af5a8af0
2011-01-27 13:34:39 -05:00
Sid Stamm
0bbb185dcd
Bug 628197. Implement do-not-track HTTP header to express user intent to halt tracking across site. r=dwitte, a=jst.
...
--HG--
extra : rebase_source : 29550c73f45bfefac311cdce4eef80e947869738
2011-01-05 11:53:21 -08:00
Dave Townsend
e51597dabb
Backout of changeset 9acd51502a65 from bug 579846. a=bustage
2011-01-24 14:59:51 -08:00
Dave Townsend
0adf94b662
Backout of changeset 38d1b321c98b from bug 579846. a=bustage
2011-01-24 14:58:20 -08:00
Sid Stamm
c9a91d7bb6
bug 557598 - Support strict-transport-security (STS) in private browsing mode; r=ehsan,dveditz a=blocking-betaN+
2010-10-06 10:07:39 -07:00
Honza Bambas
1cc1cc4167
Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended [Fennec part], r=jduell, a=betaN+
2011-01-23 23:49:30 +01:00
Honza Bambas
63032f8fb3
Bug 579846 - nsIHttpChannel::SetResponseHeader should work after the stream has ended, r=bzbarsky+hsivonen, a=betaN+
2011-01-23 23:49:30 +01:00
Patrick McManus
4016cea6b9
bug 623921: Out of an abundance of caution back out feature: 592284 - HTTP Syn Retry r=honzab a=backout
2011-01-07 11:11:22 -05:00
Patrick McManus
6adb71682b
Bug 613977 - Intermittent invalid certificate error prompt in security tests causing timeouts r=honzab a=beta-N
2011-01-05 08:37:45 -05:00
Josh Matthews
13f17d7ceb
Bug 616861 - Replicate behaviour of nsHttpChannel in regards to failure status codes in OnStopRequest. r=jduell a=blocking-fennec
2010-12-06 18:28:45 -05:00
Mark Banner
0285053b7c
Non-IPC Bustage fix from bug 613977/bug 614677/bug 614950 - add nsAutoPtr.h header to fix compilation bustage. a=Bustage fix
2010-12-16 14:35:12 +00:00
Patrick McManus
dd0c0a9a27
Bug 613977 - Intermittent invalid certificate error prompt (partial) r=honzab a=blocking-beta9
...
Bug 614677 - Connection is reset message appears intermittently
Bug 614950 - Connections stall occasionally after 592284 landed
A couple of follow-on changes to 592284 rolled together to prevent
diff conflicts
1] Set the securitycallback information for unused speculative
connections in the connection manager to be the new cloned connection
rather than the one they originated on. (613977)
2] When adding unused speculative connections to the connection
manager, due so with a short timeout (<= 5 seconds) as some servers
get grumpy if they haven't seen a request in that time. Most will
close the connection, but some will just sit there quietly and RST
things when the connection is used - so if you don't use the
connection quickly don't use it at all. This is probably a L4 load
balancer issue, actually. Mozillazine illustrates the
problem. Connections are made in bursts anyhow, so the reuse optimization is
likely still quite useful. (614677 and 614950)
3] mark every connection in the connection manager persistent
conneciton pool as "reused". This allows the transaction to be
restarted if a RST is recvd upon sending the requests (see #2 ) - with
the conservative timeout this is now a rare event, but still possible
so recovery is the right thing to do. (614677 and 614950)
4] obtain an nshttpconnection object from the connection manager,
subject to the max connection constraints, at the same time as
starting the backup conneciton. If we defer that until recycling time
the exceeded limits of the SocketService can cause problems for other
connections.
also re-enables the syn retry feature by default.
r+ honzab
2010-12-16 08:50:36 -05:00
Boris Zbarsky
f1fcc1b6fd
Bug 616591 followup to fix a comment., a=DONTBUILD
2010-12-08 21:01:17 -05:00
Honza Bambas
46efa72797
Bug 616591. Fix crash due to http transactions trying to get connection info from the http pipeline while it's being closed. r=bzbarsky, a=blocker
2010-12-08 20:57:14 -05:00
Ehsan Akhgari
92d0d78683
Bug 616591 - Firefox 4.0b8pre crash in [@ nsHttpPipeline::GetConnectionInfo(nsHttpConnectionInfo**]; r=bzbarsky a=blocking-beta8+
2010-12-04 04:21:03 -05:00
Ehsan Akhgari
c204727f4a
Bug 614286 followup - Reorder the constructor initializer list to prevent compiler warnings
...
--HG--
extra : rebase_source : 3ab3d1371f8d8b396e665cffb5c57dc96a7187f3
2010-12-03 09:56:13 -05:00
Michal Novotny
c61b9b37d9
bug 363109 - body of HTTP 304 response is treated as a HTTP/0.9 response to subsequent HTTP request. r=biesi, sr=bz, a=blocker
2010-12-01 02:02:52 +02:00