Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test: fix
test_sigpipe
of the ClientTest
suite
There are two fixes required: 1. The request payload size needs to be increased on Linux to guarantee that more than one send is required. 2. Due to the peculiarities of how closed connections are handled in Linux [1, 2], an explicit socket shutdown is required in order to get a EPIPE error rather than a ECONNRESET. Closes #53 1. https://stackoverflow.com/a/33053926 2. https://stackoverflow.com/a/2979806
- Loading branch information