Commit Graph

144 Commits

Author SHA1 Message Date
Patrick McManus
f6a840b13e bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Wes Kocher
80f0226a8b Backed out changeset 0b75d671af47 (bug 1072860) for b2g m3 orange 2014-09-25 16:45:14 -07:00
Patrick McManus
8eae58d009 bug 1072860 - modernize ref counting and thread asserts for nshttptransaction r=valentin 2014-09-23 19:18:47 -04:00
Valentin Gosu
d2282e76f9 Bug 1011354 - Use a mutex to guard access to nsHttpTransaction::mConnection. r=mcmanus, r=honzab 2014-09-18 22:21:59 +03:00
Ehsan Akhgari
748c8aca19 Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus 2014-08-05 09:20:24 -04:00
Patrick McManus
7b3d6bf83d Bug 354493 - revert Add nsINetworkZonePolicy to protect resources loaded from private IPs r=backout a=backout 2014-07-24 10:05:36 -04:00
Steve Workman
111df17ab2 Bug 354493 - Add nsINetworkZonePolicy to protect resources loaded from private IPs r=mcmanus 2014-07-17 11:08:20 -07:00
Patrick McManus
c8edfaeab1 bug 1034918 - nshttptransaction dtor can be private r=sworkman 2014-07-08 12:43:04 -04:00
Patrick McManus
e3a29a5c3e revert bug 1034918 r=backout
--HG--
extra : rebase_source : 005df8e7a680767c2ebd890d653b623eb31ac552
2014-07-07 16:16:29 -04:00
Patrick McManus
4082ca9a40 bug 1034918 - nshttptransaction dtor can be private r=sworkman 2014-07-07 10:40:08 -04:00
Daniel Stenberg
43f0c8ec63 Bug 237623 - detect broken HTTP1.1 transfers. r=mcmanus,seth
Return error when the protocol layer detects a framing error. More data
was supposed to be delivered than what actually did arrive.

Error code returned for this: NS_ERROR_NET_PARTIAL_TRANSFER

In HTTP1.1 for Content-Length: and chunked-encoding underruns

In http2 and SPDY for framing errors when data has already been received.

imgRequest::OnStopRequest will keep partially loaded images shown but
remove them from cache.
2014-06-09 00:15:00 +02:00
Patrick McManus
173d1dc1d2 bug 378637 part 12 - proxy over TLS (i.e. https proxying) r=hurley
--HG--
extra : rebase_source : 85b4f6b3eb1a3977ff888fa70214055a41f72da5
2014-04-16 09:52:43 -04:00
Patrick McManus
b48b19cab3 bug 378637 part 10 - implement nsAHttpTransaction::ConnectionInfo r=hurley
--HG--
extra : rebase_source : b4b955c652b14e750013130428b71e2e308fead3
2014-04-20 12:01:35 -04:00
Ryan VanderMeulen
db079aae32 Backed out 11 changesets (bug 378637) for Android crashes.
Backed out changeset 2a607cddc4cb (bug 378637)
Backed out changeset e416503aea99 (bug 378637)
Backed out changeset b2257226899f (bug 378637)
Backed out changeset dafd618c3f52 (bug 378637)
Backed out changeset dfde9d47d8c4 (bug 378637)
Backed out changeset cf9de5c367a5 (bug 378637)
Backed out changeset 62aa68e8b499 (bug 378637)
Backed out changeset 38efa8f2e56e (bug 378637)
Backed out changeset 2b5753e09a92 (bug 378637)
Backed out changeset 7a73873e133d (bug 378637)
Backed out changeset f58ce7ac1c7f (bug 378637)
2014-05-09 15:25:55 -04:00
Patrick McManus
f685e08634 bug 378637 part 11 - proxy over TLS (i.e. https proxying) r=hurley
--HG--
extra : rebase_source : 8962538247666781e30eaa3b9673b857ec150204
2014-04-16 09:52:43 -04:00
Patrick McManus
1ed50ab723 bug 378637 part 9 - implement nsAHttpTransaction::ConnectionInfo r=hurley
--HG--
extra : rebase_source : d69a64d0320c8b0d8a61fe4b6b127b1daa2d2c4d
2014-04-20 12:01:35 -04:00
Patrick McManus
1366b6fd61 bug 1003935 - call dontreuse() on reclaimed conns with transaction refs r=sworkman 2014-04-30 13:15:46 -04:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
John Shih
4059919385 Bug 949956 - Move duplicated code to NetStatistics.h. r=mcmanus 2014-01-14 17:55:29 +08:00
Ehsan Akhgari
186680d83a Bug 798158 - Part 1: Use a pointer-sized type to store refcounts internally; r=bsmedberg 2014-03-27 16:38:33 -04:00
Patrick McManus
ae599f9845 bug 477578 - http methods should be case sensitive r=hurley 2014-03-18 12:36:18 -04:00
Patrick McManus
730fb7cb62 bug 973207 - revert 905460 for nightly crashes r=backout 2014-02-17 13:53:25 -05:00
Patrick McManus
9f8d9a772d bug 905460 - necko cleanups: manual ref counts, 32 bit formatters, whitespace r=sworkman
--HG--
extra : rebase_source : 2bfdaf1fc84d86ff07ed7fcad14447f591672beb
2014-01-17 17:06:25 -05:00
Patrick McManus
adf9ed6f0c bug 971001 - backout 625383 for failing awsy r=backout 2014-02-11 16:18:17 -05:00
Patrick McManus
c3a11f47df bug 970279 - tie null transactions to cancel and timeout events r=hurley 2014-02-07 17:30:36 -05:00
Patrick McManus
b6275dd517 bug 625383 - optimize http chunked decoder memmoves r=hurley 2014-01-31 22:00:20 -05:00
Patrick McManus
cb8d9416e8 bug 957093 - namespace consistency for netwerk/protocol/http r=sworkman
--HG--
extra : rebase_source : f5b1a5e92239003020e75019efbe78a636150b34
2014-01-07 17:05:56 -05:00
Steve Workman
5664e66826 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
John Shih
b7389ace51 Bug 922926 - Part 3: Rebase code in necko. r=mcmanus 2013-11-22 10:42:11 +08:00
Ryan VanderMeulen
001213198b Backed out changesets 58db1fb509be and 7301ccf7e0be (bug 947391) for Android xpcshell orange. 2013-12-18 19:41:29 -05:00
Steve Workman
421e5d0ba0 Bug 947391 - Add a timeout for initial HTTP responses r=mcmanus 2013-12-18 15:03:48 -08:00
Steve Workman
87a8b8c0d1 Bug 938803 - Cancel DNS refresh requested in classes implementing nsAHttpTransaction r=mcmanus 2013-11-27 10:19:14 -08:00
Wes Kocher
6c5b337fd8 Backed out changeset 8a25ee567449 (bug 938803) 2013-11-26 19:44:30 -06:00
Steve Workman
14d49d77e1 Bug 938803 - Cancel DNS refresh requested in classes implementing nsAHttpTransaction r=mcmanus 2013-11-26 16:09:49 -08:00
John Shih
92540ea816 Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Ryan VanderMeulen
29a675042d Backed out changeset 5d4d19ebcd70 (bug 922924) for B2G debug bustage. 2013-11-18 14:21:24 -05:00
John Shih
bfad4b0db5 Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
Ryan VanderMeulen
1e6ecbf0e0 Backed out changeset f3c4d03ad677 (bug 922924) for bustage. 2013-11-15 08:32:23 -05:00
John Shih
da9048378f Bug 922924 - Centralize the code for network per-app metering. r=jduell 2013-10-30 18:00:17 +08:00
John Shih
ab4aae2e25 Bug 746073 - Network Per-App Metering on HTTP layer. r=honzab 2013-06-28 11:35:46 +08:00
Patrick McManus
9dc49d8d00 bug 922691 - nshttptransaction pointer log formatters for 64bit r=jduell 2013-10-01 11:48:47 -04:00
Ehsan Akhgari
9a3bd8e476 Bug 919320 - Minimize the #includes in netwerk/protocol; r=mcmanus 2013-09-22 23:35:52 -04:00
Ehsan Akhgari
50a9eb0861 Bug 918928 - Minimize the #includes in netwerk/base; r=mcmanus 2013-09-21 23:04:57 -04:00
Patrick McManus
2d5c9eeeb0 bug 907960 - backout 905460 r=backout 2013-08-21 21:01:19 -04:00
Patrick McManus
aebcd36d9f bug 905460 - make http objects use smart pointers r=sworkman 2013-08-14 21:05:47 -04:00
Joshua Cranmer
b82a7849fb Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
37465bc6bd Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
--HG--
extra : rebase_source : d029f73a1f27896c142f76dce263dd3542763b18
2013-07-18 21:24:13 -05:00
Jason Duell
4fcb95e20e Bug 558623 - Split out HTTP LOG macro definition from nsHttp.h r=jdm
--HG--
rename : netwerk/protocol/http/nsHttp.h => netwerk/protocol/http/HttpLog.h
extra : rebase_source : 3295c6472c846b24d3012343cf06798abf8774f9
2013-06-22 09:01:06 -07:00
Jason Duell
c07b3b58e2 Bug 879054: fix printf of status in HttpChannelParent. r=mcmanus 2013-06-04 16:32:31 -07:00
Chris Sperry
6dffeb3c2b Bug 869725 - Changes to HTTP status line detection and parsing to allow AOL/Nullsoft ShoutCast headers (e.g. ICY 200 OK) [r=mcmanus] 2013-05-16 12:22:06 -07:00