forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1863995 - Make webtransport datagram test more robust, r=necko-re…
…viewers,valentin With neqo 0.6.7, we send ACK packet if the last time we ACK is more than one RTT. This change makes our test HTTP/3 server send an ACK packet before sending the webtransport datagram. On windows platform, this causes a problem that the server failed to send the datagram, because ACK frame and datagram frame are in two UDP packets and the OS API prevents from sending two patckets in a short time. Since webtransport datgram is unreiable, quic won't retransmit it. As the result, the test fails because of timeout. To fix this problem, this patch uses another way to check if the server really gets the datagram sent from Firefox by creating another HTTP request to get the stored datagram. Differential Revision: https://phabricator.services.mozilla.com/D194046
- Loading branch information
1 parent
0af4788
commit 351eb49
Showing
2 changed files
with
66 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters