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

10 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu da614ff256 Bug 1641222 - Follow CNAME/AliasForm chains r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79264
2020-06-30 12:27:09 +00:00
Butkovits Atila c1c17273e8 Backed out changeset ce1a126dcf10 (bug 1641222) for failures at test_trr_httpssvc.js. CLOSED TREE 2020-06-23 12:48:49 +03:00
Valentin Gosu cb869c015c Bug 1641222 - Follow CNAME/AliasForm chains r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79264
2020-06-22 13:24:19 +00:00
Valentin Gosu 841562eab6 Bug 1640724 - head_trr.js: Emit DoH response when we got all the bytes instead of "end" event r=dragana,necko-reviewers
This patch is a workaround for an issue that causes an intermittent failure
in test_trr_case_sensitivity.js.
I was able to reproduce the bug locally with some logging, but not with
nsHttp:5 or under rr, which made it difficult to diagnose the root cause.
What I was able to determine using logging and timestamps in the nodejs code
is that we would not get the "end" event for a request, to which we were
reacting to send back the DoH response. The request has a timer, and
eventually that timer would fire and cancel the request. At that point
we would see the "end" event in nodejs but it's too late to actually process
the response.

It's not clear if this was a bug in Firefox's HTTP2 implementation
(maybe the end isn't signaled properly) or in nodejs.

This fix makes it so we send back the response when the number of bytes
specified in contentLength reaches the server.
We should investigate in a follow-up bug if there's another Necko bug
involved here.

Differential Revision: https://phabricator.services.mozilla.com/D78676
2020-06-09 13:17:28 +00:00
Valentin Gosu cb3096e639 Bug 1640091 - Add test for using PAC script with TRR r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78524
2020-06-08 13:11:50 +00:00
Mihai Alexandru Michis b0a610bce5 Backed out 3 changesets (bug 1640091) for causing xpcshell failures in nsCOMPtr.h
CLOSED TREE

Backed out changeset 03c4c517ee37 (bug 1640091)
Backed out changeset a1d86c177d79 (bug 1640091)
Backed out changeset f481d4ec255a (bug 1640091)
2020-06-08 12:51:42 +03:00
Valentin Gosu b0af883a42 Bug 1640091 - Add test for using PAC script with TRR r=kershaw,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78524
2020-06-08 06:57:15 +00:00
Valentin Gosu d68d384a5d Bug 1635566 - Create reusable code for running TRR tests in a separate node container r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D75078
2020-05-25 13:06:11 +00:00
Dorel Luca 773143da8a Backed out 3 changesets (bug 1635566) for XPCShell in netwerk/test/unit/test_trr_case_sensitivity.js. CLOSED TREE
Backed out changeset 873f7e079fd8 (bug 1635566)
Backed out changeset d9b4727f85cf (bug 1635566)
Backed out changeset 832dfd3bf2dd (bug 1635566)
2020-05-14 21:27:28 +03:00
Valentin Gosu 6ddc89bcb2 Bug 1635566 - Create reusable code for running TRR tests in a separate node container r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D75078
2020-05-14 10:52:32 +00:00