test: server: Do not receive SIGPIPE on closed socket
commit9e030518c3cdc7921bbce3a7dce2bbff38e87ec5
authorPetr Písař <petr.pisar@atlas.cz>
Sun, 9 Dec 2012 17:33:41 +0000 (9 18:33 +0100)
committerPetr Písař <petr.pisar@atlas.cz>
Sun, 9 Dec 2012 17:33:41 +0000 (9 18:33 +0100)
tree7a567a4aae4832a28ad55df5a1657b876b366f7b
parent57d9486742ca9db0820de2c92a599935eb5e5721
test: server: Do not receive SIGPIPE on closed socket

If client closes socket, kernel will dispatch SIGPIPE on write(2), so the
server dies. send(2) allows to disable this feature, thus use it instead of
write(2).
test/simline/http.c