Commit Graph

2335 Commits

Author SHA1 Message Date
Matt Brubeck
51ba20bc98 Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks 2012-03-20 12:53:10 -07:00
Patrick McManus
25a5bea7c6 bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
--HG--
extra : rebase_source : cb9795b5442102a777602f59c225ab9572e06cea
2012-03-20 13:11:32 -04:00
Patrick McManus
c07a1b4659 bug 717350 doom cache entry on last-modified mismatch r=honzab
--HG--
extra : rebase_source : 5c8692c94bf7e5dcb2d381a85e06bddbabffe22c
2012-03-20 13:11:32 -04:00
Patrick McManus
e8168a4277 bug 671591 - restart partial http transaction (in progress) r=honzab
--HG--
extra : rebase_source : 9f71e1803e25c10f6be5f48f324eb47fa8d707c3
2012-03-20 13:11:32 -04:00
Patrick McManus
bf6b2073a4 bug 603514 - http stalled read detection r=honzab
When a connection that involves a pipelined transaction has been stalled (i.e.
idle with an open transaction, not an idle persistent connection) for a
second move any transactions that are pipelined after the current one onto
different connections (and implicitly close this connection when done with the
current transaction).

when it has been stalled for 10 seconds (pref configurable), cancel the current
transaction itself too - depending on its state it can hopefully be restarted
on a clean connection.

--HG--
extra : rebase_source : 58377c9eab2f8a81b7a2d3b9a5f12e1134da4031
2012-03-20 13:11:32 -04:00
Patrick McManus
61c180c7e4 bug 603512 - large objects block pipelines r=honzab
the type and state patch tries hard not to form pipelines behind resources that
could become head of line blockers. But of course that requires the ability to
predict the future, and won't be perfect.

This patch reacts to a transaction that has a large response body (defined by
either a large content-length header or actually reading a large number of
chunked bytes) by cancelling any transactions that have been pipelined down the
same connection and rescheduling them elsewhere. It also changes the type of
the connection to "solo", which prevents new transactions from being pipelined
onto this one and provides class-specific negative feedback to the pipeline
manager so that near-future requests to the same host of the same type (e.g.
general) will not be pipelined but other types (e.g. img or js/css) can still
do that.

Content-Length is ideal, because it allows us to identify the problem so early.
But even actually reading the document for a fairly long time gives it a fairly
high probability of not ending soon. (i.e. long document sizes are spread over
a larger range than small ones. duh.)

The pref network.http.pipelining.maxsize controls the threshold. I set the
default at 300KB, which is roughly the bandwidth delay product of a 2mbit 120ms
rtt connection and 1 rtt is mostly what you are giving up by canceling it on
one connection and sending it on another. (modulo maybe needing a handshake).

--HG--
extra : rebase_source : ebc44f8dfc3fa7bcee613ff3b74269d908ceac51
2012-03-20 13:11:32 -04:00
Patrick McManus
f6f141c893 bug 665885 respect keepalive: "max=" attribute r=honzab
--HG--
extra : rebase_source : ce4009c19bb786388338778d594ca8038a4398c1
2012-03-20 13:11:32 -04:00
Patrick McManus
fddbfef746 bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab
--HG--
extra : rebase_source : 94c50c125fc66c9d5b4389e20b0187ee40c2e315
2012-03-20 13:11:32 -04:00
Patrick McManus
aeb4f9d401 bug 599164 pipeline with type and state r=honzab
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Patrick McManus
f39205238b bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab
--HG--
extra : rebase_source : 26243e1af9e0554553520dae435cc4dcfd551746
2012-03-20 13:11:32 -04:00
Patrick McManus
37e348a8d3 bug 447866 http pipelining is bursty r=honzab
--HG--
extra : rebase_source : e927c5961b2f6c79c1aa73897900e95ed3f286c5
2012-03-20 13:11:32 -04:00
Gervase Markham
7200d21d60 Bug 716607 - Add .pm, .wf, .yt to PSL. r=pkasting. 2012-03-20 15:04:40 +00:00
Phil Ringnalda
de969a1167 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-17 16:57:05 -07:00
Chris Jones
84d246dca1 Bug 736778: Work around probable compiler bug breaking DEBUG builds of GonkCaptureProvider. r=fabrice (npotb) 2012-03-17 14:42:24 -07:00
Jason Duell
84bb1c7031 Backed out changeset cd5ac132e763 2012-03-15 23:36:01 -07:00
Jason Duell
2864e3bdc2 Backed out changeset cd5ac132e763 2012-03-15 23:35:51 -07:00
Jason Duell
2a245bc789 Backed out changeset 5aaec7f808b6 2012-03-15 20:56:23 -07:00
Jason Duell
6e4a5e4792 Backed out changeset 5aaec7f808b6 2012-03-15 20:55:44 -07:00
John Daggett
e1a14d0e6a Bug 512566. Changes based on review comments. r=bz,jfkthame 2012-03-16 12:31:01 +09:00
John Daggett
f77f86991d Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz 2012-03-16 12:31:01 +09:00
Jason Duell
e683c892ab Bug 664163: I will back this out when xpcshell test_traceable.js fails eventually. r=jduell 2012-03-15 18:54:58 -07:00
julian.reschke@gmx.de
612101e42e Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell 2012-03-04 14:12:00 -08:00
Jason Duell
1427947aa0 Bug 648878 - I will backout: investigating inbound-only failure r=jduell 2012-03-15 13:00:20 -07:00
Jason Duell
30f9ac914b Backed out c9265ada6f40 2012-03-15 15:05:41 -07:00
Jason Duell
25bb7c605c Backed out changeset c9265ada6f40 2012-03-15 15:05:22 -07:00
Derrick Rice
f58db0c193 Bug 732363 - Avoid running test_net_addr on windows; it is failing for unknown reasons (race?) r=jdm 2012-03-15 07:10:00 -04:00
Patrick McManus
3060ca04b8 bug 735552 - wrong assert on shutdown in nsHttpConnectionMgr::ReportSpdyConnection r=honzab
--HG--
extra : rebase_source : 8baf5fbae8d9ad8196fd699191c0013f7ea8f424
2012-03-15 00:03:04 -04:00
Phil Ringnalda
03c791f19f Back out 9899522b6ad9 (bug 664163) 2012-03-13 22:11:55 -07:00
Jason Duell
293e6966d2 Bug 664163: Yes this will get backed out: see bug. r=jdm 2012-03-13 18:46:30 -07:00
Jason Duell
1fc96138d1 Backed out changeset fd30aea30b03 2012-03-13 15:12:46 -07:00
Jason Duell
3f8203f21e Backed out changeset fd30aea30b03 2012-03-13 15:10:01 -07:00
Daniel Holbert
502c256c08 Bug 621446: followup to investigation patch - wrap MSVC-only pragma in ifdef so other compilers don't complain about it. r=jduell 2012-03-13 14:57:28 -07:00
Jason Duell
6bbf4d063a Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-13 11:49:01 -07:00
Justin Lebar
0dbaf73150 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Kai Engert
e84250dff4 Bug 650355, Stop accepting MD5 as a hash algorithm in certificate signatures, r=johnath 2012-03-16 16:42:51 +01:00
Kai Engert
38c016dd58 Bug 732390, Add preference to configure acceptance of MD5 in signatures, still accept by default, NSS calls r+=rrelyea, PSM pref code r+=honzab, pref name feedback+=dveditz 2012-03-10 22:18:13 +01:00
Honza Bambas
7c36ce9820 Bug 720320 - Prevent stuck in offline mode when starting in link state managed mode w/o a link up, credits=standard8, r=biesi 2012-03-08 17:24:17 +01:00
Matt Brubeck
482e6fb4c0 Back out a2d511a124d7 (bug 664163) for causing failures in test_traceable_channel_wrap.js 2012-03-06 13:28:25 -08:00
Derrick Rice
4a0261d6c0 Bug 732363 - Avoid oranges in test_net_addr.js by retaining references to the transport and output stream. r=jdm 2012-03-06 05:02:00 -05:00
Gervase Markham
10729e0a43 Bug 712640 - Split PSL into "registry" and "owner-requested" sections. r=pkasting. 2012-03-06 11:49:00 +00:00
Jason Duell
6167fb9598 bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:11:19 -08:00
Jason Duell
f8fbbf0485 Backed out changeset 84a2ed6120c3: wrong bug name in comment msg 2012-03-05 23:10:19 -08:00
Jason Duell
01df5c16fc Bug 648878. e10s: fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm 2012-03-05 23:06:09 -08:00
Ed Morley
d27ab2302c Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions 2012-03-05 15:22:28 +00:00
Nicholas Nethercote
d8a85cb65a Bug 682431 (part 2) - Add memory reporters for URIs and Links. r=biesi,bz,jlebar.
--HG--
extra : rebase_source : db4f094a7d334914b986bb66f5bf1089aafda561
2012-02-19 19:51:48 -08:00
Justin Lebar
e1a9198917 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764 Back out bug 729940 (a108aee:d75775d) due to 32-bit red. 2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5 Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz 2012-03-04 13:49:42 -05:00
Derrick Rice
b96888025d Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport
Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport
2012-02-29 06:19:00 -05:00
Nick Hurley
076a7f08b6 Bug 730163 - Telemetry for how long we wait to acquire the cache service lock. r=michal.novotny 2012-02-28 18:40:39 -05:00
Nathan Froyd
4cebb315f0 Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus 2012-02-27 11:20:29 -05:00
Ed Morley
adf95a9a54 Backout 6d239fd74f71 (bug 720846) for Windows build failures 2012-02-28 16:00:18 +00:00
Derrick Rice
3d5a2ca05e Bug 720846 Scriptable PRNetAddr and scriptable access to Self/Peer address in SocketTransport. r=biesi sr=bz 2012-02-28 05:34:00 -05:00
Patrick McManus
0011224491 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-27 10:32:09 -05:00
Nathan Froyd
9b22bd6141 Bug 700659 - Slay nsHashSets in netwerk. r=jduell 2011-11-08 15:22:15 -05:00
Geoff Lankow
53be83b619 Backed out changeset 7dce5c5c9654 (bug 729736) 2012-02-26 13:50:37 +13:00
Geoff Lankow
e75048d315 Backed out changeset f65247c7647a (bug 729133) 2012-02-26 13:50:34 +13:00
Patrick McManus
fe7653eb59 bug 729133 speculative connections do full ssl and happen before cache lookup 2012-02-25 17:07:52 -05:00
Patrick McManus
ed30ba1e82 bug 729736 - runtime experiment with different spdy ping thresholds r=honzab 2012-02-25 17:07:51 -05:00
Patrick McManus
3b22728106 bug 728113 spdy ping to keepalive nat timeouts 2/2 spdy ping r=honzab 2012-02-23 20:58:43 -05:00
Patrick McManus
c05ba5fb6e bug 728113 - spdy ping to keepalive nat timeouts 1/2 tick infrastructure r=honzab 2012-02-23 20:56:57 -05:00
Jim Mathies
955360ffcf Bug 699247 - Never call nsNotifyAddrListener's CheckAdaptersAddresses on the main thread and warn if somebody does. r=m_kato 2012-02-23 08:53:58 -06:00
Masatoshi Kimura
28f2776f50 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Jason Duell
afcfe03dfc Bug 696085: WebSocket connection opening across page loads r=smaug 2012-02-21 14:57:10 -08:00
Jothan Frakes
d7460932d9 Bug 694030 - make .qa have open registration at 2nd level in PSL. r=gerv. 2012-02-21 16:54:15 +00:00
Jothan Frakes
7e1d29b285 Bug 688908 - standardize formatting of .asia entry in PSL. r=gerv. 2012-02-21 16:51:34 +00:00
Gervase Markham
29360ed68f Bug 687459 - add co.ua and pp.ua private registries to PSL. 2012-02-21 16:50:02 +00:00
Gervase Markham
a6525467b0 Bug 685781 - add CentralNIC domain jp.net to the PSL. 2012-02-21 16:45:36 +00:00
Gervase Markham
89123d3b8e Bug 676359 - add exceptions for www.ck and www.gt to PSL. 2012-02-21 16:42:44 +00:00
Gervase Markham
7428bc78a0 Bug 666500 - Add co.cl and mil.cl to PSL. 2012-02-21 16:39:47 +00:00
Jothan Frakes
3ec5a276bd Bug 661509 - remove .yu from PSL. r=gerv. 2012-02-21 16:37:59 +00:00
Jothan Frakes
7efe51b4ef Bug 660387 - add co.ca to PSL. r=gerv. 2012-02-21 16:35:52 +00:00
Gervase Markham
1bed7d8754 Bug 660215 - remove .local from PSL. Patch by Jothan Frakes; r=gerv. 2012-02-21 16:34:03 +00:00
Gervase Markham
4b7cf7d545 Bug 621708 - update .au entry in PSL. Patch by pkasting; r=gerv. 2012-02-21 16:32:55 +00:00
Dão Gottwald
897892ae75 Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-21 04:29:09 +01:00
Justin Dolske
dc4967a956 Backout bfc937247f3c (bug 588909), UA change breaks Google and Zimbra. 2012-02-20 16:29:38 -08:00
Justin Dolske
493d419146 Backout 0a7410527788 (bug 572659), UA change breaks Google and Zimbra. 2012-02-20 16:29:36 -08:00
Dão Gottwald
ce98a24c8c Bug 572659 - Don't expose the Gecko patch level (13.X.Y) in the UA string, only show the major version (13.X). r=glandium,bz sr=gerv 2012-02-20 15:39:33 +01:00
Ed Morley
efe21ddd01 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-02-20 12:08:28 +00:00
Patrick McManus
7f16fc513b bug 727943 spdy broke caldav (and probly webdav) methods r=honzab 2012-02-19 14:29:09 -05:00
Patrick McManus
c03621b49b bug 727855 spdy: rst streams instead of sessions on some errors r=honzab 2012-02-19 14:28:58 -05:00
Chris Jones
3b557f3661 Bug 728673: Restore call to getNumberOfCameras(). r=fabrice 2012-02-19 09:47:16 -08:00
Chris Jones
16950ada3b Bug 727950: Don't close the camera dso, some of them don't like that. r=fabrice (npotb) 2012-02-17 22:33:52 -08:00
Richard van den Berg
bb6666c881 Bug 452781 - Allow specifying wildcard that matches all simple netbiosnames in network.automatic-ntlm-auth.trusted-uris, r=honzab 2012-02-17 16:24:31 +01:00
Honza Bambas
51616d748b Bug 621446 - investigation patch 2 for crash at RecvRedirect2Verify, r=jduell 2012-02-17 16:24:30 +01:00
Dão Gottwald
794c8a0fac Bug 588909 - Replace Gecko/<date> with Gecko/<version> in UA string. r=bz sr=gerv 2012-02-17 13:21:29 +01:00
Daniel Holbert
c7045515b4 Bug 727970: Check formerly-unused rv in TestProtocols.cpp, to fix build warning. r=jduell 2012-02-16 15:16:14 -08:00
Patrick McManus
ea7056c261 bug 447866 pre patch 0 - pipeline and spdy mix r=honzab 2012-02-15 16:41:18 -05:00
Boris Zbarsky
44d27c2c9d Bug 627616. Do proxy authentication even for LOAD_ANONYMOUS loads. r=mayhemer 2011-02-01 21:36:15 -05:00
Makoto Kato
0eb47933d9 Bug 712243 - cleanup nsNotifyAddrListener. r=jimm 2012-02-15 19:35:10 +09:00
Geoff Lankow
95f0153308 Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg 2012-01-17 14:48:29 +13:00
Ms2ger
e556e26619 Bug 726417: Signed/unsigned comparison in nsCacheMetaData::UnflattenMetaData r=jduell 2012-02-13 11:32:31 -08:00
Phil Ringnalda
6ac6b8f60d Back out be556c99ef81 and 13c3c54d067b (bug 627616) for orange 2012-02-12 10:53:31 -08:00
Boris Zbarsky
8747a6be8b Bug 627616. Do proxy authentication even for LOAD_ANONYMOUS loads. r=mayhemer 2011-02-01 21:36:15 -05:00
Julian Reschke
c5add5d09a Bug 598304 - XHR rewrites non-POST methods upon 301/302 redirects. r=bz 2012-02-10 14:12:51 +01:00
Fabrice Desré
dfcf763a85 Bug 725602 - B2G UA is wrong [r=gal] 2012-02-09 14:02:46 -08:00
Patrick McManus
8084fdc8b4 bug 704227 muddle through on some minor problems with content-length r=jduell 2012-02-09 14:47:30 -05:00
Justin Lebar
cc5eeebdd5 Bug 690425 - Fix shutdown crash in HttpChannelChild. r=jdm 2012-02-08 17:46:50 -05:00
Ed Morley
ad5a8e1d06 Backout f1acc52a59da (bug 719983) & 6771bd53e267 (bug 699247) for 30% WinXp Ts regression 2012-02-08 21:04:21 +00:00
Masatoshi Kimura
88ba00973a Bug 699247 - Say goodbye to Win2k related code. r=jimm, sr=neil 2012-02-08 10:00:45 -06:00