Shriram Kunchanapalli
62bdf990da
Bug 150073 - Remove nsCRT:: in nsCRT::strlen(const char *). r=dougt
2012-02-18 19:17:01 +05:30
Ed Morley
ea252d7724
Backout 12d1d626759c (bug 747215), 11b16556248e (bug 738484) for xpcshell failures on all platforms
2012-05-03 10:17:42 +01:00
Jason Duell
83260b68c6
Bug 747215 - Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi
2012-05-03 00:35:55 -07:00
Jason Duell
d2cd0b67a2
Bug 738484: part 2: fix missing onStartRequest calls for some failed redirects. r=mcmanus
2012-05-03 00:28:57 -07:00
Patrick McManus
ecdfa8e875
bug 723628 - speculative connect hint interface r=honzab sr=biesi
2012-04-25 08:54:42 -04:00
Patrick McManus
f7da014875
bug 729133 - internal necko speculative connections r=honzab
...
race cache I/O events against TCP/SSL connections. Also drive
unused TCP connections to the completion of their SSL handshakes is
apropos.
2012-04-25 08:54:42 -04:00
Andrew Sutherland
22d3bf9f83
Bug 717242, r=mcmanus
2012-04-25 14:50:20 +02:00
Patrick Wong
2cbca75f54
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Michal Novotny
0b131998c6
Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache
2012-04-25 01:11:39 +02:00
Michal Novotny
492f512f15
Bug 745200 - nsDiskCacheStreamIO::Flush() is sometimes called without holding the cache lock
2012-04-25 01:07:06 +02:00
Patrick McManus
359086e3fe
bug 746731 - nsHttpConnection::mIdleTimeout initialization fixes r=honzab
2012-04-24 15:12:06 -04:00
Patrick McManus
c6df261bc3
bug 745379 - mistake in spdy/2 spec reversed actual priority values r=honzab
2012-04-15 13:11:23 -04:00
Patrick McManus
da98efe542
bug 744788 - add httpconnmgrtick setTarget() in case of offline/online r=honzab
2012-04-13 15:47:43 -04:00
Michal Novotny
d5970a18e4
Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress
2012-04-12 18:27:38 +02:00
Michal Novotny
1875e76cb4
Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread()
2012-04-12 18:24:57 +02:00
Ms2ger
4f0704cc9f
Bug 605180 - Fix build warnings in netwerk/. r=jduell
2012-04-07 14:25:00 -07:00
Jason Duell
cbd65cacd0
Bug 712191 - Clean up websocket close codes and abort logic. r?mcmanus
2012-04-11 13:20:00 -07:00
Jason Duell
694393a3da
Bug 738484 - Handle Location: that won't parse to valid URI. r=mcmanus
2012-04-11 13:26:23 -07:00
Patrick McManus
558003009a
bug 743747: fix landing with 603514 r=honzab
2012-04-11 13:49:32 -04:00
Patrick McManus
8bc7fbfd43
bug 743587 Intermittent Linux talos crash [@ nsHttpConnection::CloseTransaction] r=honzab
2012-04-11 13:11:10 -04:00
Patrick McManus
c222fd8c31
bug 738812 timer serviced after thread exit nsHttpConnectionMgr::ReadTimeoutTick r=honzab
2012-04-11 13:11:09 -04:00
Jason Duell
afcc7134bf
Bug 742174 - Allow empty Location header. r=mcmanus
2012-04-09 16:50:35 -07:00
Patrick McManus
acf1c98484
bug 742935: fix landing problem with 717759 r=honzab
2012-04-09 10:22:07 -04:00
Patrick McManus
5987c46a63
bug 742935: fix landing problem with 717350 r=honzab
...
--HG--
rename : netwerk/test/unit/test_mismatch_lm.js => netwerk/test/unit/test_mismatch_last-modified.js
2012-04-09 10:21:28 -04:00
Patrick McManus
41b96f7d7f
bug 742935: fix landing problem with 603512 r=honzab
2012-04-09 10:21:17 -04:00
Ben Bucksch
4e63bd7072
#pragma O0 fails on GCC 4.4 with an Internal Compiler Error. -- bug 621446, r=honzab
...
This pragma was only to investigate another crash on Android, but breaks compile
on g++ 4.4 64bit, e.g. on Ubuntu 10.04 64bit.
Thus, enable that pragma only on Android.
2012-04-09 11:11:53 +02:00
Marco Bonardo
774cea7d98
Bug 737841 - Part 3: remove no more useful redirectsMode query option.
...
r=dietrich rs=gavin
--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Jason Duell
bfc4650436
Bug 705796 - telemetry data on how often cache is corrupt at startup. r=michal
2012-04-06 13:10:32 -07:00
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