Commit Graph
402 Commits
Author SHA1 Message Date
Valentin Gosu 1e2d8edd75 Bug 1399300 - Backed out changeset a51cf9c048a1 (bug 910207) a=backout
MozReview-Commit-ID: 3l6B9n7VM1o
2017-09-13 10:51:18 +02:00
Honza Bambas 2b8812b8c8 Bug 910207 - Prevent client certificate pop-up coming from a speculative connection, r=dkeeler
MozReview-Commit-ID: IHKzHwsJUiQ
2017-09-01 10:42:00 +02:00
Sebastian Hengst 049b97c4d9 Backed out changeset 9c00078ce6ab (bug 910207) for eslint failure at browser/base/content/test/urlbar/browser_urlbar_search_no_speculative_connect_with_client_cert.js:48: Expected method shorthand. r=backout 2017-09-08 20:42:07 +02:00
Honza Bambas acaf66387b Bug 910207 - Prevent client certificate pop-up coming from a speculative connection, r=dkeeler
MozReview-Commit-ID: CtNPV9kFqJM
2017-09-01 10:42:00 +02:00
Kershaw Chang afe1485a93 Bug 1395472 - Don't move background transactions' streams to background group when the pref is off. r=hurley 2017-09-03 23:55:00 -04:00
Dragana Damjanovic 7d1b4996cb Bug 1394818 - TFO should be https only feature. r=mcmanus 2017-08-30 04:05:00 -04:00
Kershaw Chang 974c02c510 Bug 1377208 - Move background h2 stream into background group. r=hurley 2017-08-30 02:19:00 -04:00
Honza Bambas e8621fd30b Bug 1392264 - Return undispatched HTTP transaction to the queue in the same order as they were before. r=kershaw 2017-08-21 07:02:00 -04:00
Dragana Damjanovic 6986f2e357 Bug 1390881 - Improve the TFO telemetry. r=mcmanus 2017-08-20 09:45:26 +02:00
Sajjad Arshad fcbd21c188 Bug 1388925 - Add an opaque flags to have a fine-grained control over TLS configurations. r=mcmanus, r=keeler
This flags is added in the http channel interface by which developers can control the TLS
connections from JavaScript code (e.g. Add-ons). Basically, all the changes accounted for
plumbing this TLS flags from JavaScript level to C++ code responsible for calling NSS
module. We also added a unit test to make sure that separate connections are created if we
use different tlsFlags. Basically we used a concrete set of flag values that covers the
edge cases and check the hashkey generated in the connection info.
2017-08-16 12:41:16 -07:00
d20c517e00 Bug 1390503 - Retry without fast open if error is NS_ERROR_FAILURE. r=mcmanus 2017-08-15 19:38:16 +02:00
Dragana Damjanovic 0dab63a969 Bug 1363372 - Wait until OVERLAPPED structure return a result before distroying a socket. r=mcmanus 2017-07-27 11:37:11 +02:00
Honza Bambas 1124cc13e5 Bug 1386323 - Perform HTTP response throttling only for a limited time after new transactions are actived. r=mcmanus 2017-08-07 06:28:00 -04:00
Honza Bambas 311b830f73 Bug 1387090 - Properly handle DontThrottle flag in all places in nsHttpTransaction. r=mcmanus 2017-08-03 10:47:00 -04:00
Dragana Damjanovic 675276df3b Bug 1382555 - Remove diagnostic asserts.r=mcmanus 2017-07-31 19:20:08 +02:00
Dragana Damjanovic 47e7b35f25 Bug 1382555 - Change some diagnostic asserts to find out why mEnt is nof in mCT. r=mcmanus 2017-07-27 19:10:11 +02:00
Carsten "Tomcat" Book 3fe83e45ea merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Bevis Tseng 59627df038 Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm 2017-07-27 02:18:20 +08:00
Kartikaya Gupta 14424677af Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports
the z length modifier for format specifiers. So we don't need SizePrintfMacros.h
any more, and can just use %zu and friends directly everywhere.

MozReview-Commit-ID: 6s78RvPFMzv
2017-07-26 16:03:57 -04:00
6e14ef6649 Bug 1382555 - Add more diagnostic asserts to nsHtttpConnectionMgr. r=mcmanus 2017-07-24 16:24:33 +02:00
Kershaw Chang 0a94849c25 Bug 1378385 - Add a pref for switching off giving more priority to active tab. r=mayhemer
This patch introduce new pref "network.http.active_tab_priority" which indicate whether or not we dispatch transactions from active tab before others from background tab.
2017-07-18 21:47:00 -04:00
Patrick McManus f75e6f88c2 Bug 772589 - Implement the secureConnectionStart property for the PerformanceTiming interface r=bkelly,dragana,francois,Honza
Implements PerformanceTiming, nsITimedChannel, and devtools 'tls setup'

Also captures telemetry on this as we do for all other attributes of timedChannel

Also propogates some null transaction timings onto first real
transaction of a connection

MozReview-Commit-ID: 47TQJYVHnKC
2017-07-10 15:01:35 -04:00
cc6c478dc2 Bug 1381005 - Add some diagnostic assertions to figure out why mEnt is null. This is only temporary. r=mcmanus 2017-07-17 23:59:29 +02:00
Dragana Damjanovic 7fe8b9124e Bug 1377004 - REVERT - TCP FastOpen trying to narrow down a bug search 2. r=mcmanus 2017-07-15 19:47:47 +02:00
Honza Bambas 924d7b4579 Bug 1380351 - Reschedule HTTP transaction when ClassOfService flags influencing its priority are changed, r=mcmanus 2017-07-12 08:42:00 +02:00
Honza Bambas c360d7e378 Bug 1371700 - Some added network logs for better tracking, r=mcmanus 2017-07-12 08:44:00 +02:00
6d7ee3596e Bug 1377004 - TCP FastOpen trying to narrow down a bug search 2. r=mcmanus 2017-07-12 12:12:41 +02:00
Dragana Damjanovic 2d312df456 Bug 1377897 - If a HalfOpen can be Abndoned we need to check if mEnt is still present before setting mDoNotDestroy. r=mcmanus 2017-07-10 20:30:58 +02:00
Sylvestre Ledru 9d4a84d778 Bug 1378712 - Remove all trailing whitespaces r=Ehsan
MozReview-Commit-ID: Kdz2xtTF9EG
2017-07-06 14:00:35 +02:00
Wes Kocher 8b66e6c69d Backed out changeset 25b411a687da (bug 1377004) for quantum_pageload_google failures on win10 a=backout
MozReview-Commit-ID: IYlC0BWMxC7
2017-07-03 11:05:59 -07:00
53ec5084ca Bug 1377004 - TCP FastOpen trying to narrow down a bug search 2. r=mcmanus 2017-07-03 12:50:03 +02:00
Sebastian Hengst 369de267d2 Backed out changeset 8597b133717f (bug 1377004) for crashing many tests with mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::SetFastOpenConnected. r=backout on a CLOSED TREE 2017-07-03 11:31:16 +02:00
e8d88a6d54 Bug 1376914 - Make nsConnecionEntry weak reference in nsHalfOpenSock. r=mcmanus 2017-07-03 10:52:46 +02:00
b5803b220d Bug 1377004 - TCP FastOpen trying to narrow down a bug search 2. r=mcmanus 2017-07-03 10:48:48 +02:00
Dragana Damjanovic f554885d88 Bug 1369509 - Do not destroy nsHttpConnectionEntry if HalfOpenSock needs it. r=mcmanus 2017-06-28 06:38:28 -07:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Sebastian Hengst 965c48fbda Backed out changeset 50673cd78a02 (bug 1369509) for crashing xpcshell test_http2.js with mozilla::net::nsHttpConnectionMgr::nsHalfOpenSocket::OnOutputStreamReady. r=backout 2017-06-24 11:06:13 +02:00
Dragana Damjanovic b508ea3e1b Bug 1369509 - Let nHttpConnectionEntry be a weak reference in HalfOpenSock. r=mcmanus 2017-06-24 06:10:58 +02:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Honza Bambas d632081bdc Bug 1373064 - Add null-check for a connection entry to nsHttpConnectionMgr::IsConnEntryUnderPressure. r=mcmanus 2017-06-15 07:55:00 -04:00
Honza Bambas 58ab5e101c Bug 1369496 - HTTP transaction read throttling algorithm improvements. r=mcmanus 2017-06-08 09:45:00 -04:00
Honza Bambas 0d39f05099 Bug 1365307 - Throttling of HTTP transactions. r=mcmanus 2017-06-01 12:16:00 -04:00
Shih-Chiang Chien c4eb7112a1 Bug 1015466 - Part 0, fix warning/error covered by unified build. r=mayhemer
MozReview-Commit-ID: KUHl1ZBuddC
2017-01-16 18:20:42 +08:00
Honza Bambas 77023ca826 Bug 1365306 - Remove net::ThrottlingService, don't suspend/resume download channels on page load. r=hurley 2017-05-18 14:09:00 -04:00
Dragana Damjanovic 146794ec5a Bug 1364371 - Introduce mHalfOpenFastOpenBackups and make TFO handling clearer. r=mcmanus 2017-05-24 14:03:40 +02:00
Dragana Damjanovic 831b686b9a Bug 1364189 - Make sure not to retry socketTransaction if nsHttpConnectionMgr cancels it. r=mcmanus 2017-05-24 11:19:40 +02:00
Nathan Froyd 3b526b2200 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00