Brian Smith
07a4300698
Bug 743076 - Suppress warning warning C4355: 'this' : used in base member initializer list in HttpChannelChild and FTPChannelChild, r=cbiesinger
2012-04-05 00:03:14 -07:00
Ms2ger
d13f8e335f
Backout bug 742805, 742778, 742775, 740974, 742765, 742761, 742092, 722197 for leaks.
2012-04-06 13:10:30 +02:00
Vivien Nicolas
9e7eb07fca
Bug 722197 - Add a preference to map some domain names to localhost. r=mcmanus
2012-04-06 03:12:18 -07:00
Brian Smith
f86270c0a0
Bug 742610 - Remove opportunistic caching support from nsHttpChannel, r=honzab
...
--HG--
extra : source : 8b98023b89ddef6e7b0bbed25463c68142877d8e
2012-04-05 00:14:35 -07:00
Patrick McManus
fd5ab11b76
bug 742827 - fix problem with landing of bug 671591 r=honzab
2012-04-05 18:37:57 -04:00
Daniel Holbert
92abc233ae
backout 118c07dc56f9 (bug 742179) for windows build bustage
2012-04-05 10:56:10 -07:00
Doug Turner
ec2ac96d20
Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg
2012-04-05 09:50:55 -07:00
Brian Smith
5f289375a8
Bug 736903: nsHttpChannel wraps the aOffset value it passes to its stream listener instead of clamping it, r=cbiesinger
...
--HG--
extra : rebase_source : 28bc8bdddea0cac6a41482920d059b523197ef03
2012-04-04 18:57:22 -07:00
Brian Smith
5a0ab5fe78
Bug 736895: Suppress warning warning C4355: 'this' : used in base member initializer list in nsHttpChannel::nsHttpChannel, r=cbiesinger
...
--HG--
extra : rebase_source : bbcacf34a97671cb4750888a2468f6563c52b99a
2012-04-04 18:55:21 -07:00
Brian Smith
208f35dca9
Bug 736887: Fix compiler warning in nsHttpChannel.cpp: warning C4244: 'argument' : conversion from 'double' to 'PRTime', possible loss of data, r=cbiesinger
...
--HG--
extra : rebase_source : 7c100821353b77133108e08f6bf0fd53195c0f9a
2012-04-04 18:54:03 -07:00
Patrick McManus
12e4eb1e1b
bug 739023 nightly crash in nshttpchannel::OnDataAvailable() from Restart r=honzab
...
--HG--
extra : rebase_source : ccb196fc38394d9ef5e0a4bdf51ea714a57e7224
2012-04-04 21:19:20 -04:00
Patrick McManus
5bf6ea03d5
bug 741056 - nightly crash https sites with authenticated proxy r=honzab
2012-04-04 09:39:21 -04:00
Veeraya Pupatwibul
4bc99a3d0a
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
bda847dac0
Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst
2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli
6016fb9ec9
Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt
2012-02-18 19:17:01 +05:30
Patrick McManus
5963b9bc5c
bug 739617 - cannot upload large files r=honzab
...
--HG--
extra : rebase_source : 5ea85a021233cf79a539980efc859a2d5372fe53
2012-04-02 20:36:11 -04:00
Ryan VanderMeulen
4af9a31894
Backout bug 674728 part 3 due to missing reviews.
2012-03-31 18:18:08 -04:00
Sinker Li
28717ceb50
Bug 674728 - Part 3: Evict cache asynchronized. r=honzab
2012-03-30 20:52:07 -04:00
Sinker Li
6d8477e460
Bug 674728 - Part 2: Testcase for pinned application caches. r=honzab
2012-03-30 20:52:07 -04:00
Sinker Li
ac6192105c
Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab
2012-03-30 20:52:06 -04:00
Nick Hurley
74b99cf44e
bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal
2012-03-30 11:21:01 +02:00
Patrick McManus
645594048f
Bug 739023 - Disabling the Restart-in-progess logic temporarily since suspected of causing crashes, r=honzab
2012-03-30 00:40:42 +02:00
Michal Novotny
c2005fe9a0
Bug 649194 - Abort when the cache IO thread can't be created
2012-03-27 10:20:54 +02:00
Michael Wu
03bd08a4ff
Bug 737196 - Make camera code build on gonk-ics, r=cjones
2012-03-23 15:45:47 -04:00
Ms2ger
1cc3c03286
No bug - Remove always-true comparison.
2012-03-24 09:18:09 +01:00
Patrick McManus
007716fc61
bug 717759 - negative pipeline feedback on img decode problem r=bz r=jdrew r=honzab
2012-03-22 19:39:32 -04:00
Patrick McManus
6d514a6643
bug 717350 doom cache entry on last-modified mismatch r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
844b20abf7
bug 671591 - restart partial http transaction (in progress) r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
bc1f690f50
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.
2012-03-22 19:39:31 -04:00
Patrick McManus
8b81d2a05f
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).
2012-03-22 19:39:31 -04:00
Patrick McManus
d58afda113
bug 665885 respect keepalive: "max=" attribute r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
ff250f550b
bug 737155 - httpconnectionmgr::processPendingQ allow more than 1 with pipeline r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
c1ef6c81a2
bug 599164 pipeline with type and state r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
6acbbecb41
bug 597684 Implement HTTP Assoc-req and Banned Pipelines on nsHttpConnectionInfo r=honzab
2012-03-22 19:39:31 -04:00
Patrick McManus
e600a6343f
bug 447866 http pipelining is bursty r=honzab
...
--HG--
extra : rebase_source : 87370228074eaff2615b8dcef9b3c0c9b919b3c3
2012-03-22 19:39:31 -04:00
Patrick McManus
3c85a1c5cf
bug 447866 - patch pre.1 for empty nsHttpPipeline::TakeSubTransactions r=honzab
...
--HG--
extra : rebase_source : 5c21007525883fc74dc70332cf74d8d0bacd9147
2012-03-22 19:39:28 -04:00
Michal Novotny
c8537395fd
Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously
2012-03-22 23:54:20 +01:00
Michal Novotny
2df9700ac8
Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel::OpenOfflineCacheEntryForWriting()
2012-03-22 23:53:55 +01:00
Michal Novotny
d4e6a87f9b
Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set
2012-03-22 23:53:10 +01:00
Henri Sivonen
2783a8258e
Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug.
2012-03-22 16:42:42 +02:00
Jim Mathies
c958ac3180
Bug 737986 - win8 dev kit fixup for win wifi includes, r=dougt
2012-03-22 09:18:43 -05:00
julian.reschke@gmx.de
77c36bf727
Bug 714302: add suport for HTTP status code 308 r=mcmanus
...
--HG--
extra : rebase_source : 2e4a46ac5ebe89a36fb4b12b1985d07d674db5e8
2012-03-21 16:13:42 -04:00
julian.reschke@gmx.de
adff062582
Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order. r=jduell
2012-03-20 14:08:30 -07:00
Matt Brubeck
f60d72f679
Back out 1bbe7ea3a01e through 672cc4ee2dd9 because of mochitest-browser-chrome leaks
2012-03-20 12:53:10 -07:00
Patrick McManus
dc1aed3edd
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
f2f489fbb1
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
1c33f42938
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
031058589a
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
2809e23a08
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
57a87f3770
bug 665885 respect keepalive: "max=" attribute r=honzab
...
--HG--
extra : rebase_source : ce4009c19bb786388338778d594ca8038a4398c1
2012-03-20 13:11:32 -04:00
Patrick McManus
90405ceda1
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
ffa953ec74
bug 599164 pipeline with type and state r=honzab
...
--HG--
extra : rebase_source : b060665a1726eab3e3ef0ab0d94c34cfea5c1460
2012-03-20 13:11:32 -04:00
Patrick McManus
2602c52e7b
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
7abd00c179
bug 447866 http pipelining is bursty r=honzab
...
--HG--
extra : rebase_source : e927c5961b2f6c79c1aa73897900e95ed3f286c5
2012-03-20 13:11:32 -04:00
Gervase Markham
b30378e740
Bug 716607 - Add .pm, .wf, .yt to PSL. r=pkasting.
2012-03-20 15:04:40 +00:00
Phil Ringnalda
bdcda40739
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-03-17 16:57:05 -07:00
Chris Jones
fc3225b548
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
6569e9493a
Backed out changeset cd5ac132e763
2012-03-15 23:36:01 -07:00
Jason Duell
a8eaf5a43f
Backed out changeset cd5ac132e763
2012-03-15 23:35:51 -07:00
Jason Duell
f8e3cd2793
Backed out changeset 5aaec7f808b6
2012-03-15 20:56:23 -07:00
Jason Duell
515075a988
Backed out changeset 5aaec7f808b6
2012-03-15 20:55:44 -07:00
John Daggett
aab65b1694
Bug 512566. Changes based on review comments. r=bz,jfkthame
2012-03-16 12:31:01 +09:00
John Daggett
e080a64cde
Bug 512566. Load font data url's synchronously, netwerk/style changes. r=bz
2012-03-16 12:31:01 +09:00
Jason Duell
9ba0c759c5
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
6e8cb9e4a8
Bug 384571: RFC 2231 parameters not decoded when appearing in reversed order r=jduell
2012-03-04 14:12:00 -08:00
Jason Duell
e3a3c49b9b
Bug 648878 - I will backout: investigating inbound-only failure r=jduell
2012-03-15 13:00:20 -07:00
Jason Duell
613c1c4358
Backed out c9265ada6f40
2012-03-15 15:05:41 -07:00
Jason Duell
079fc95539
Backed out changeset c9265ada6f40
2012-03-15 15:05:22 -07:00
Derrick Rice
028c0b7534
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
ef5538d062
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
d70b63ad33
Back out 9899522b6ad9 (bug 664163)
2012-03-13 22:11:55 -07:00
Jason Duell
c311900fbe
Bug 664163: Yes this will get backed out: see bug. r=jdm
2012-03-13 18:46:30 -07:00
Jason Duell
1c53bcd3a7
Backed out changeset fd30aea30b03
2012-03-13 15:12:46 -07:00
Jason Duell
b73e20897b
Backed out changeset fd30aea30b03
2012-03-13 15:10:01 -07:00
Daniel Holbert
a2d4fd394b
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
57fac26598
Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm
2012-03-13 11:49:01 -07:00
Justin Lebar
1c0932be59
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
d30bb1abfb
Bug 650355, Stop accepting MD5 as a hash algorithm in certificate signatures, r=johnath
2012-03-16 16:42:51 +01:00
Kai Engert
03b0d5ff1c
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
045297722b
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
c6cc1381de
Back out a2d511a124d7 (bug 664163) for causing failures in test_traceable_channel_wrap.js
2012-03-06 13:28:25 -08:00
Derrick Rice
9f826a81d4
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
3bc60b9847
Bug 712640 - Split PSL into "registry" and "owner-requested" sections. r=pkasting.
2012-03-06 11:49:00 +00:00
Jason Duell
b80a51b2e5
bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm
2012-03-05 23:11:19 -08:00
Jason Duell
ce20329994
Backed out changeset 84a2ed6120c3: wrong bug name in comment msg
2012-03-05 23:10:19 -08:00
Jason Duell
bbb66ece15
Bug 648878. e10s: fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jdm
2012-03-05 23:06:09 -08:00
Ed Morley
77cf334953
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Nicholas Nethercote
a8b8053289
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
d8c31bf3a6
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 15:58:06 -05:00
Justin Lebar
6bfc4045d7
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
dfd973e9a5
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 13:49:42 -05:00
Derrick Rice
2c4428e7b7
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
bfdc2a4c34
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
f35cb7ba39
Bug 700659 - Slay nsHashSets in netwerk/protocol. r=mcmanus
2012-02-27 11:20:29 -05:00
Ed Morley
1647e9cd3e
Backout 6d239fd74f71 (bug 720846) for Windows build failures
2012-02-28 16:00:18 +00:00
Derrick Rice
2a3e5b9b70
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
002027aa6c
bug 729736 - runtime experiment with different spdy ping thresholds r=honzab
2012-02-27 10:32:09 -05:00
Nathan Froyd
9327e08484
Bug 700659 - Slay nsHashSets in netwerk. r=jduell
2011-11-08 15:22:15 -05:00
Geoff Lankow
6c04b0c62a
Backed out changeset 7dce5c5c9654 (bug 729736)
2012-02-26 13:50:37 +13:00
Geoff Lankow
e7004a0f17
Backed out changeset f65247c7647a (bug 729133)
2012-02-26 13:50:34 +13:00