Граф коммитов

21327 Коммитов

Автор SHA1 Сообщение Дата
Dragana Damjanovic e76337e2d9 Bug 1676854 - Set mSupportsHttp3 in the child process as well r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D96827
2020-11-12 17:31:03 +00:00
ffxbld 61127bb43b No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D96840
2020-11-12 16:43:02 +00:00
smolnar 091f26214a Backed out changeset ae843e9f7e7c (bug 1676854) for causing mochitest and wpt failures. CLOSED TREE 2020-11-12 18:52:05 +02:00
Dragana Damjanovic 4f97cd3e80 Bug 1676854 - Set mSupportsHttp3 in the child process as well r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D96827
2020-11-12 15:48:43 +00:00
Csoregi Natalia 1f289c43a8 Backed out 3 changesets (bug 1675411) for failures on test_http3_fatal_stream_error_2.js. CLOSED TREE
Backed out changeset 7c4261286c23 (bug 1675411)
Backed out changeset 50ce7be1daac (bug 1675411)
Backed out changeset 0feda4383903 (bug 1675411)
2020-11-12 04:10:46 +02:00
Dragana Damjanovic 6183b450dc Bug 1675411 - Some HTTP3 tests use HTTP2 server that needs to run sequentially r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D96002
2020-11-11 22:46:15 +00:00
Dragana Damjanovic f04571d6d7 Bug 1675411 - Add a test for a HTTP3 protocol error r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D96000
2020-11-11 21:25:45 +00:00
Dragana Damjanovic 67bff2fbe6 Bug 1675411 - Add a test for a HTTP3 protocol error r=necko-reviewers,kershaw
it will test transactions that are in 3 different states:
 - transaction has received some data before the protocol error occurred. This transaction will be closed with NS_ERROR_NET_PARTIAL_TRANSFER
 - transaction has only send some data but has not received any data. This transaction will be closed with NS_ERROR_NET_HTTP3_PROTOCOL_ERROR
 - transaction is queued in Http3Session because of the stream concurrency limit. In this case the transaction will be restarted and it will succeeed using HTTP2.

Differential Revision: https://phabricator.services.mozilla.com/D95988
2020-11-11 22:28:19 +00:00
Moritz Birghan 21cf959be5 Bug 1272794 - Clean up Digest class API r=keeler,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D40983
2020-11-11 22:16:38 +00:00
Dragana Damjanovic ba7fba8f98 Bug 1675016 - Disable tests for exluding HTTP3 domains when the socket process is turned on. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96651
2020-11-11 16:24:26 +00:00
Dragana Damjanovic 6a86545948 Bug 1675016 - Some tests needs to run sequentially r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96580
2020-11-11 16:24:25 +00:00
Dragana Damjanovic f2d2d6d69a Bug 1675016 - Remove Alternate_Service_Used header if alt-svc route is not used. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D96016
2020-11-11 16:24:25 +00:00
Dragana Damjanovic 01346afb24 Bug 1675016 - Exclude SSL_ERROR_BAD_CERT_DOMAIN when adding a domain to excluded list. r=necko-reviewers,kershaw
This error is well mitigated with checking if a certificate is valied for a domain before dispatching. If we include this error we will have a case as in test_altsvc_https.js where a domain is valid for foo.example.com but not for bar.example.com and if bar.example.com as altsvc to that domain the domain will be excluded for foo.example.com.

Differential Revision: https://phabricator.services.mozilla.com/D95845
2020-11-11 16:24:25 +00:00
Dragana Damjanovic 9904ac554c Bug 1675016 - Add more test for HTTP3 failure r=necko-reviewers,kershaw
- Add 2 test: 1) server is not listening to the port and 2) server is not responding that will cause the connection to timeout and fall back to HTTP2
 - Adds a server that only reads packets but never sends any to simulate a handshake timing out

Differential Revision: https://phabricator.services.mozilla.com/D95816
2020-11-11 19:43:43 +00:00
Dragana Damjanovic fc26dd32a5 Bug 1675016 - Refactor code that exclude HTTP3 domains when an fatal happens r=necko-reviewers,kershaw
Domains are excluded:
 - if NS_ERROR_NET_HTTP3_PROTOCOL_ERROR error happens, this is a single error for all different HTTP3 protocol errors,
 - also if a connection times out before the handshake is done

Change the current behavior to exclude HTTP3 domains instead of excluding the origin host names. HTTP2 disable AltSvc mapping if a origin domain is excluded which may not be ideal. This patch only changes behavior of HTTP3.

Refactor test_http3_fatal_stream_error.js. The test use to try to connect to http3 server on port 443 that does nto exist and it would return an error. This patch make the test use HTTP2 so that the the connection to the origin host (not AltSvc host) succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D95807
2020-11-11 16:24:24 +00:00
Tim Huang fd15d2199a Bug 1641270 - Part 3: Make nsICookieJarSetting serializable. r=dimi
In order to send the cookieJarSetting across processes in JS. We need to
make it serializable.

Differential Revision: https://phabricator.services.mozilla.com/D95613
2020-11-11 11:13:55 +00:00
Tim Huang f0c895fc31 Bug 1641270 - Part 1: Expose cookieJarSettings to UI code through Document. r=smaug,dimi
Differential Revision: https://phabricator.services.mozilla.com/D95611
2020-11-11 11:13:57 +00:00
Sebastian Hengst 3bc7e60008 Bug 1675008 - disable test_altsvc_http3.js for failing frequently. r=jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D96733
2020-11-11 17:27:21 +00:00
Andreea Pavel 67ba0c2bfb Backed out 8 changesets (bug 1675016) for black linting failure at runxpcshelltests.py on a CLOSED TREE
Backed out changeset 542f33bccb47 (bug 1675016)
Backed out changeset ab07b3a3e2ca (bug 1675016)
Backed out changeset 2c6391e0243b (bug 1675016)
Backed out changeset 8100a5f39ec5 (bug 1675016)
Backed out changeset c2a169663175 (bug 1675016)
Backed out changeset 84cde60b4e5f (bug 1675016)
Backed out changeset 29ed71c7b265 (bug 1675016)
Backed out changeset 5745916ae50b (bug 1675016)
2020-11-11 18:20:32 +02:00
Dragana Damjanovic ec01fdc457 Bug 1675016 - Disable test_altsvc_http3.js r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D96708
2020-11-11 15:20:30 +00:00
Dragana Damjanovic 39c43fcff9 Bug 1675016 - Disable tests for exluding HTTP3 domains when the socket process is turned on. r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96651
2020-11-11 13:06:05 +00:00
Dragana Damjanovic c6c8e2d9a3 Bug 1675016 - Some tests needs to run sequentially r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96580
2020-11-10 23:35:53 +00:00
Dragana Damjanovic 584d63794b Bug 1675016 - Remove Alternate_Service_Used header if alt-svc route is not used. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D96016
2020-11-10 14:45:23 +00:00
Dragana Damjanovic e6e665d26f Bug 1675016 - Exclude SSL_ERROR_BAD_CERT_DOMAIN when adding a domain to excluded list. r=necko-reviewers,kershaw
This error is well mitigated with checking if a certificate is valied for a domain before dispatching. If we include this error we will have a case as in test_altsvc_https.js where a domain is valid for foo.example.com but not for bar.example.com and if bar.example.com as altsvc to that domain the domain will be excluded for foo.example.com.

Differential Revision: https://phabricator.services.mozilla.com/D95845
2020-11-10 12:26:04 +00:00
Dragana Damjanovic 25db47d6a9 Bug 1675016 - Add more test for HTTP3 failure r=necko-reviewers,kershaw
- Add 2 test: 1) server is not listening to the port and 2) server is not responding that will cause the connection to timeout and fall back to HTTP2
 - Adds a server that only reads packets but never sends any to simulate a handshake timing out

Differential Revision: https://phabricator.services.mozilla.com/D95816
2020-11-11 13:32:24 +00:00
Dragana Damjanovic 46030d2607 Bug 1675016 - Refactor code that exclude HTTP3 domains when an fatal happens r=necko-reviewers,kershaw
Domains are excluded:
 - if NS_ERROR_NET_HTTP3_PROTOCOL_ERROR error happens, this is a single error for all different HTTP3 protocol errors,
 - also if a connection times out before the handshake is done

Change the current behavior to exclude HTTP3 domains instead of excluding the origin host names. HTTP2 disable AltSvc mapping if a origin domain is excluded which may not be ideal. This patch only changes behavior of HTTP3.

Refactor test_http3_fatal_stream_error.js. The test use to try to connect to http3 server on port 443 that does nto exist and it would return an error. This patch make the test use HTTP2 so that the the connection to the origin host (not AltSvc host) succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D95807
2020-11-10 12:26:03 +00:00
Mihai Alexandru Michis 4038013e6f Backed out 9 changesets (bug 1641270) for causing dt failures in browser_jsonview_save_json.js
CLOSED TREE

Backed out changeset 89a6dab92f1a (bug 1641270)
Backed out changeset 5f9c5af66b77 (bug 1641270)
Backed out changeset dfeb879f4131 (bug 1641270)
Backed out changeset 143728b1b1ab (bug 1641270)
Backed out changeset 265ae2953416 (bug 1641270)
Backed out changeset 55ea7810c160 (bug 1641270)
Backed out changeset 7bef9112f296 (bug 1641270)
Backed out changeset 2663dc1e9a3e (bug 1641270)
Backed out changeset fcba6dba3649 (bug 1641270)
2020-11-11 13:10:11 +02:00
Tim Huang 13ec804734 Bug 1641270 - Part 3: Make nsICookieJarSetting serializable. r=dimi
In order to send the cookieJarSetting across processes in JS. We need to
make it serializable.

Differential Revision: https://phabricator.services.mozilla.com/D95613
2020-11-10 11:47:32 +00:00
Tim Huang 5a9cd22328 Bug 1641270 - Part 1: Expose cookieJarSettings to UI code through Document. r=smaug,dimi
Differential Revision: https://phabricator.services.mozilla.com/D95611
2020-11-10 11:47:11 +00:00
Sylvestre Ledru 396275b3c3 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
# ignore-this-changeset

Depends on D96608

Differential Revision: https://phabricator.services.mozilla.com/D96609
2020-11-10 19:10:16 +00:00
Kershaw Chang 83ffab26f9 Bug 1676129 - Don't overwrite the rv with the result from GetEsniUsed r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D96403
2020-11-10 14:22:05 +00:00
Andreas Farre c208b33fc0 Bug 1646474 - Remove LoadInfo::mDocumentHasLoaded. r=nika,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D96010
2020-11-10 12:45:22 +00:00
smolnar 03e890da15 Backed out 5 changesets (bug 1675016) for causing xpcshell failures in test_http3_fatal_stream_error. CLOSED TREE
Backed out changeset aae840485291 (bug 1675016)
Backed out changeset c5f004fdef59 (bug 1675016)
Backed out changeset 56b8282707e0 (bug 1675016)
Backed out changeset ac23fff376cf (bug 1675016)
Backed out changeset 63109e213984 (bug 1675016)
2020-11-10 14:19:44 +02:00
Dragana Damjanovic 7f79f8eb4a Bug 1675016 - Remove Alternate_Service_Used header if alt-svc route is not used. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D96016
2020-11-05 15:56:38 +00:00
Dragana Damjanovic d4297d6f4c Bug 1675016 - Exclude SSL_ERROR_BAD_CERT_DOMAIN when adding a domain to excluded list. r=necko-reviewers,kershaw
This error is well mitigated with checking if a certificate is valied for a domain before dispatching. If we include this error we will have a case as in test_altsvc_https.js where a domain is valid for foo.example.com but not for bar.example.com and if bar.example.com as altsvc to that domain the domain will be excluded for foo.example.com.

Differential Revision: https://phabricator.services.mozilla.com/D95845
2020-11-10 09:22:26 +00:00
Dragana Damjanovic caff62afed Bug 1675016 - Add more test for HTTP3 failure r=necko-reviewers,kershaw
- Add 2 test: 1) server is not listening to the port and 2) server is not responding that will cause the connection to timeout and fall back to HTTP2
 - Adds a server that only reads packets but never sends any to simulate a handshake timing out

Differential Revision: https://phabricator.services.mozilla.com/D95816
2020-11-10 09:04:41 +00:00
Dragana Damjanovic 31bbcbcdcb Bug 1675016 - Refactor code that exclude HTTP3 domains when an fatal happens r=necko-reviewers,kershaw
Domains are excluded:
 - if NS_ERROR_NET_HTTP3_PROTOCOL_ERROR error happens, this is a single error for all different HTTP3 protocol errors,
 - also if a connection times out before the handshake is done

Change the current behavior to exclude HTTP3 domains instead of excluding the origin host names. HTTP2 disable AltSvc mapping if a origin domain is excluded which may not be ideal. This patch only changes behavior of HTTP3.

Refactor test_http3_fatal_stream_error.js. The test use to try to connect to http3 server on port 443 that does nto exist and it would return an error. This patch make the test use HTTP2 so that the the connection to the origin host (not AltSvc host) succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D95807
2020-11-10 09:18:24 +00:00
Tarek Ziadé 7c132a5e1b Bug 1668494 - add an influxdb layer r=sparky
Differential Revision: https://phabricator.services.mozilla.com/D92480
2020-11-10 08:36:44 +00:00
Andi-Bogdan Postelnicu 5e91efd61f Bug 1626555 - Add `dom/security` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96427
2020-11-09 21:03:52 +00:00
Brindusan Cristian ca85f574a0 Backed out changeset 3a087ad91d30 (bug 1626555) for build bustages. CLOSED TREE 2020-11-09 21:09:33 +02:00
Andi-Bogdan Postelnicu 6ffdaf663d Bug 1626555 - Add `dom/security` to the list of non-unified-build-compatible directories. r=sg
Differential Revision: https://phabricator.services.mozilla.com/D96427
2020-11-09 17:57:01 +00:00
julianwels 2efbb0d597 Bug 1674926 - Collect telemetry for mixed display content upgrades. r=necko-reviewers,ckerschb,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95921
2020-11-09 14:40:30 +00:00
ffxbld d14f34aeb2 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D96420
2020-11-09 14:25:22 +00:00
Csoregi Natalia a9fe7c0285 Backed out changeset 4cfe953fecdb (bug 1675491) for causing NetworkDataCount crashes. CLOSED TREE 2020-11-09 13:55:09 +02:00
Dragana Damjanovic a15f3e2f6d Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin
This needs to count encrypted data, therefore it is implemented as a NSPR layer right above the PR_NSPR_IO_LAYER layer.

Differential Revision: https://phabricator.services.mozilla.com/D96083
2020-11-09 09:30:23 +00:00
Kershaw Chang 0210714e2a Bug 1675546 - Make sure we use the updated caps and connection info to create a new sticky transaction r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D96070
2020-11-09 10:34:35 +00:00
ISHIKAWA, Chiaki 42eced075d Bug 1675587 - clearing address structure passed to |connect()| r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D96177
2020-11-06 13:47:22 +00:00
ffxbld de7e9afc3e No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D96062
2020-11-05 15:46:44 +00:00
Dragana Damjanovic 1a36df103b Bug 1674922 - Cleanup ReadSegments: r=necko-reviewers,kershaw
- Move looping while calling mTransaction->ReadSegments into Http3Stream and call mTransaction->ReadSegmentsAgain. We use to loop in Http3Session which was not easy because it is not easy to find out when to leave the loop. The original code was working, but this is a better way to do this.
- Remove mReadyForWriteButBlocked it is not necessary, it was used only as a double check and can only be a source of bugs.
- Remove mContentBytesWritten, because it is not used.
- Http3Server now reads post data and returns amount of data received (this was needed to make better test).
- In test_http3.js increase the number of parallel to trigger max-concurent-stream limit and test stream queuing before streams being activated.
- Add tests for post with large amount of data that are hitting the stream bugger limits. This is testing Http3Event::Tag::DataWritable and also testing the the end of the mTransaction->ReadSegmentsAgain loop.

Differential Revision: https://phabricator.services.mozilla.com/D95622
2020-11-05 11:37:39 +00:00
Frederik Braun 92b3faea4e Bug 1674735 - add port 5060 to bad port list r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D95504
2020-11-05 00:51:24 +00:00
Sylvestre Ledru 31599d2440 Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,necko-reviewers
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D95435
2020-11-04 17:03:33 +00:00
mcccs e83823e865 Bug 1673832 - Reduce allocations in merge_rrset. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94954
2020-11-04 17:19:59 +00:00
Valentin Gosu fff64b3d07 Bug 1672528 - Test r=necko-reviewers,dragana
Depends on D95414

Differential Revision: https://phabricator.services.mozilla.com/D95415
2020-11-04 13:48:56 +00:00
Valentin Gosu 24e6fdf63c Bug 1672528 - Check IPv4-mapped IPv6 addresses for being local r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D95414
2020-11-04 13:48:54 +00:00
Valentin Gosu ad416f2616 Bug 1666678 - [cookie] rejected cookie when domain have ipv6 address r=baku
Differential Revision: https://phabricator.services.mozilla.com/D91246
2020-11-04 09:44:23 +00:00
Dragana Damjanovic 8669cfbdc7 Bug 1674124 - Disable HTTP3 if NS_HTTP_ALLOW_KEEPALIVE is set. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95316
2020-11-02 08:16:59 +00:00
Valentin Gosu 6b00235dd5 Bug 1673590 - Move TRR handling logic from nsHostResolver to TRRQuery r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D94822
2020-11-03 10:41:51 +00:00
Dragana Damjanovic bcc4efa90a Bug 1674316 - Better separate NS_HTTP_DISALLOW_HTTP3 and NS_HTTP_DISALLOW_SPDY when dispatching transactions r=necko-reviewers,valentin
- add allowHttp3 attribute to nsIHttpChannelInternal, it is used for easy testing and it will be used for Bug 1674111
 - add test for NS_HTTP_DISALLOW_HTTP3 and NS_HTTP_DISALLOW_SPDY
 - add HTTP3 test for altSvc and the cert verifiacation

Differential Revision: https://phabricator.services.mozilla.com/D95256
2020-11-03 10:21:17 +00:00
Butkovits Atila 520f93d7af Backed out changeset f166c3da94b9 (bug 1673590) for bustage on Logging.h. CLOSED TREE 2020-11-03 11:23:35 +02:00
Valentin Gosu 8a6e8092c5 Bug 1673590 - Move TRR handling logic from nsHostResolver to TRRQuery r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D94822
2020-11-03 08:08:30 +00:00
ffxbld 879482e01a No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D95518
2020-11-02 14:35:29 +00:00
Kershaw Chang d207d2627f Bug 1671886 - Record the transaction retry count when ech is used r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D94592
2020-11-02 11:17:05 +00:00
Valentin Gosu e276174f5e Bug 1674328 - Make DNS requests use TRR_DISABLED_MODE instead of using RESOLVE_DISABLE_TRR flag r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D95263
2020-11-02 10:30:31 +00:00
mcccs 039fe95a03 Bug 1667579 - Pref to manually enter NAT64 prefix. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94597
2020-11-02 08:05:10 +00:00
Dragana Damjanovic 5dc542764f Bug 1673611 - Improve Http3Stream state machine and add a test for a protocol error r=necko-reviewers,valentin
- We have an assumption that SetResponseHeaders will be called before WriteSegments is called for the first time. I would like to make it more structural add add a new state BEFORE_HEADERS
 - mDataReceived was never set, which is wrong.
 - Almost any error that occurs during ReadResponseData is a connection error and neqo will handle it internally by closing the session. This will be read by necko as ConnectionState change event. Therefore ignore errors received from mHttp3Connection->ReadResponseData and let the ConnectionChange event close the stream.
 - This also adds a test. Because the stream has received some data already the transaction will br closed with the NS_ERROR_NET_PARTIAL_TRANSFER error.

Differential Revision: https://phabricator.services.mozilla.com/D94951
2020-11-01 13:54:02 +00:00
Dragana Damjanovic addc913ff7 Bug 1673611 - Add a quic server r=necko-reviewers,valentin
This will allow us to make response that violate the Http3 protocol and cause a protocol error.
Currently the server returns only one response, we may extend it if needed.

Differential Revision: https://phabricator.services.mozilla.com/D94912
2020-11-01 15:48:45 +00:00
Dragana Damjanovic f98bbedf40 Bug 1673611 - Rewrite Http3Stream::WriteSegments to be similar to the nsHttpConnection's implementation r=necko-reviewers,valentin
- This will make handling of responses contain only headers in the same way as the responses with
   a response body
 - This will also make sure we pick up an error if neqo_http3conn_read_response_data return one.

Differential Revision: https://phabricator.services.mozilla.com/D94834
2020-11-01 13:54:54 +00:00
Dragana Damjanovic ee9a5a9657 Bug 1674095 - Make some functions in nsHttpConnectionMgr private. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95131
2020-10-29 12:54:45 +00:00
Dragana Damjanovic 7ad4b0ec71 Bug 1672520 - Make member variable of PendingTransactionInfo private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94509
2020-10-31 19:28:10 +00:00
Dragana Damjanovic 1df215415b Bug 1672520 - Part 6 - Make HalfOpens private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94507
2020-10-31 19:12:37 +00:00
Dragana Damjanovic 43fee4fc89 Bug 1672520 - Part 5 - Move PruneDeadConnectionsAfter call where the count is incremented so that everything is at one place r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94506
2020-10-31 19:12:39 +00:00
Dragana Damjanovic 1b4f6c5450 Bug 1672520 - Part 4 - Avoid changing counters when a conn is moved from one to another ConnectionEntry r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94505
2020-10-31 19:12:23 +00:00
Dragana Damjanovic 74473ecf4c Bug 1672520 - Part 3 - Make mActiveConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94503
2020-10-31 19:12:25 +00:00
Dragana Damjanovic 5961271991 Bug 1672520 - Part 2 - Make mIdleConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94437
2020-10-31 19:12:27 +00:00
Dragana Damjanovic 1115c6e2e2 Bug 1672520 - Part 1 - Move Pending queues and their logic into a separate class. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94423
2020-10-31 19:12:30 +00:00
Dragana Damjanovic e4846fef40 Bug 1672520 - Part 0 - Move all different classes defined in nsHttpConnectionMgr into separate files. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94392
2020-10-31 19:12:32 +00:00
Dorel Luca b3d70328e9 Backed out 8 changesets (bug 1672520) for Build bustage in gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp. CLOSED TREE
Backed out changeset fd7e69c065d9 (bug 1672520)
Backed out changeset dd9c9c3c959c (bug 1672520)
Backed out changeset 84ad3077d7ef (bug 1672520)
Backed out changeset 09de9356d225 (bug 1672520)
Backed out changeset 6a0a89a02779 (bug 1672520)
Backed out changeset c1b12059f317 (bug 1672520)
Backed out changeset 473498b3df4c (bug 1672520)
Backed out changeset e2a2ecf84209 (bug 1672520)
2020-10-31 21:08:35 +02:00
Dragana Damjanovic 488391f331 Bug 1674366 - Adapt to the neqo API changes r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95294
2020-10-31 18:44:41 +00:00
Dragana Damjanovic a0d95ff222 Bug 1674366 - Neqo version 0.4.14 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95291
2020-10-31 18:44:21 +00:00
Dragana Damjanovic c824810ab5 Bug 1672520 - Make member variable of PendingTransactionInfo private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94509
2020-10-31 18:26:42 +00:00
Dragana Damjanovic a0deb61454 Bug 1672520 - Part 6 - Make HalfOpens private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94507
2020-10-31 14:18:37 +00:00
Dragana Damjanovic 795bbe3c4e Bug 1672520 - Part 5 - Move PruneDeadConnectionsAfter call where the count is incremented so that everything is at one place r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94506
2020-10-31 14:16:57 +00:00
Dragana Damjanovic 9dc665f3bc Bug 1672520 - Part 4 - Avoid changing counters when a conn is moved from one to another ConnectionEntry r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94505
2020-10-31 14:10:38 +00:00
Dragana Damjanovic d5fe4bc679 Bug 1672520 - Part 3 - Make mActiveConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94503
2020-10-31 14:10:30 +00:00
Dragana Damjanovic 9bc8ff0598 Bug 1672520 - Part 2 - Make mIdleConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94437
2020-10-31 14:10:03 +00:00
Dragana Damjanovic a028a32bb4 Bug 1672520 - Part 1 - Move Pending queues and their logic into a separate class. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94423
2020-10-31 14:06:07 +00:00
Dragana Damjanovic 88c1ed7234 Bug 1672520 - Part 0 - Move all different classes defined in nsHttpConnectionMgr into separate files. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94392
2020-10-31 14:04:01 +00:00
Csoregi Natalia b85ac29e62 Bug 1663571 - Fix linting. r=fix CLOSED TREE 2020-10-30 16:17:53 +02:00
Valentin Gosu 96fa831c85 Bug 1663571 - Resolve single label DNS queries using DnsQuery_A r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D91117
2020-10-30 08:16:25 +00:00
Kershaw Chang 9c2ae9557b Bug 1671787 - Don't release the listeners if the redirected cahnnel is not opened sucesfully r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D94998
2020-10-29 18:29:27 +00:00
ffxbld bc7a07bac7 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D95151
2020-10-29 14:35:28 +00:00
Cristina Coroiu 3ccc5380fc Bug 1669892 - disable test_http3.js on mac for frequent failures r=intermittent-reviewers,necko-reviewers,ahal,dragana DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D94679
2020-10-28 14:57:18 +00:00
Frederic Wang bdcea0a95f Bug 1673315 Add a test to ensure loopback host names cannot be overridden, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94712
2020-10-28 14:33:29 +00:00
Narcis Beleuzu 41be6a07c9 Backed out changeset af04d36c832d (bug 1670530) for bc failure on browser_viewsourceprefs.js . CLOSED TREE 2020-10-28 18:01:00 +02:00
Kershaw Chang f5cd5d9ba2 Bug 1671939 - Move some dns code our of nsHttpTransaction r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D94591
2020-10-28 13:46:24 +00:00
Kershaw Chang beb27599c3 Bug 1671939 - Create speculative connection for the first service mode record, r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94014
2020-10-28 13:46:16 +00:00
Nika Layzell 3f9ef8b720 Bug 1670530 - Fix view-source loads redirecting from parent to content, r=mattwoodrow,necko-reviewers
Previously these requests would replace the nsIRequest argument to stream
listeners based on the initial process, rather than based on the final process.
This caused issues when the initial process was non-remote, but the final
process was remote, as the parameter would be replaced when it shouldn't be.

This patch now disables request-argument replacement for all loads, and
selectively re-enables it during OnStartRequest for loads which will terminate
in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D94779
2020-10-27 07:29:45 +00:00
mcccs 120881e88a Bug 1673843 - Cleanup test_trr.js and fix race in NCS test r=valentin,necko-reviewers
`promiseObserverNotification` needs to be run and start listening before the event is fired.

Differential Revision: https://phabricator.services.mozilla.com/D94962
2020-10-28 12:46:42 +00:00
Andrew Sutherland ffd386c619 Bug 1669355 - Refactor MIME type warnings into base class. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D93906
2020-10-28 12:15:23 +00:00
Dragana Damjanovic f4599c1e24 Bug 1669679 - Rebuild cert-info when a resumption token is used for HTTP3 r=keeler,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D93359
2020-10-28 11:15:14 +00:00