summaryrefslogtreecommitdiffstats
path: root/proxy/tests/interposetest.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-04-03 16:31:14 -0400
committerSimo Sorce <simo@redhat.com>2013-04-03 16:39:11 -0400
commit212d8f424125cdd40c154b2f09a219d4d0325b8d (patch)
treeb46cb33dc9ff630eb75d212b4c03fc2315d24c85 /proxy/tests/interposetest.c
parentca7a49fbefef59fe4839a83077a3abaa995c47d9 (diff)
downloadgss-proxy-212d8f424125cdd40c154b2f09a219d4d0325b8d.tar.gz
gss-proxy-212d8f424125cdd40c154b2f09a219d4d0325b8d.tar.xz
gss-proxy-212d8f424125cdd40c154b2f09a219d4d0325b8d.zip
Use send() in client library to avoid SIGPIPE
The client library lives in applications that may not be blocking or ignoring SIGPIPE. Using write() can cause SIGPIPE to be raised in the application if the proxy is restarted. If the application does not catch the signal then it is terminated. Make sure this does not happen by using send() with the MSG_NOSIGNAL flag. Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'proxy/tests/interposetest.c')
0 files changed, 0 insertions, 0 deletions