Repository navigation
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. External sites
ReviewsSee the guideline and AI policy for information on the review process. |
f96de08 to
e17e983
Compare
|
🚧 At least one of the CI tasks failed. HintsTry to run the tests locally, according to the documentation. However, a CI failure may still
Leave a comment here, if you need help tracking down a confusing failure. |
|
A socket unit test failed ( |
0ec8469 to
7148dc4
Compare
|
CI runs timed out, in some cases a log line is created for every read, and the many small chunks slowed down runs considerably. In local runs this didn't cause a problem. |
7148dc4 to
d0f84b6
Compare
A stress test reproducer. For every socket read, read data in smaller recv() calls. Instead of performing a recv for up to the available buffer size normally, break it up into smaller recv()'s, in order to stress test code paths. WARNING: Only for testing purposes, not to be merged!
d0f84b6 to
9c51624
Compare
|
CI runs have completed, with some failures (as expected). Added failed cases to #36726 -- Closing this PR (it was not intended for merging, keeping it for reference). |

WARNING: NOT INTENDED FOR MERGING!
Performing a test run with forced chunked recv.
All networking code using sockets must not make assumption about the chunking of the incoming/outgoing data, and should be resilient against any chunking. Normally, the chunking of the sends of the writer dictate the chunking of the receives at the reader, but this is not guaranteed by IP/TCP, intermediate networking elements may change the packet structure.
This branch contains a stress test reproducer. For every socket read,
recv()is not called to read all available data, but data is read and returned in smaller chunks. The goal is to test code for robustness in face of unexpected chunking of the data.This PR will be closed once the test runs complete, and kept for reference (some tests are expected to fail).
Similar to #36724 .
WARNING: NOT INTENDED FOR MERGING!