aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-07-13 19:24:06 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2017-07-13 21:18:02 +0300
commit0078559fbc964836b92d78bd0de5312c70cd67fb (patch)
tree297bd95bb30821d6f4072ae4da6431929875cf0c /src/microhttpd/daemon.c
parentf4e8fc67d46e0d7c5bc5f7a90d7db78129cbdc61 (diff)
downloadlibmicrohttpd-0078559fbc964836b92d78bd0de5312c70cd67fb.tar.gz
libmicrohttpd-0078559fbc964836b92d78bd0de5312c70cd67fb.zip
Added new value MHD_FEATURE_AUTOSUPPRESS_SIGPIPE for MHD_is_feature_supported()
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 2a662af3..08fb8827 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -6552,6 +6552,12 @@ MHD_is_feature_supported(enum MHD_FEATURE feature)
6552#else 6552#else
6553 return MHD_NO; 6553 return MHD_NO;
6554#endif 6554#endif
6555 case MHD_FEATURE_AUTOSUPPRESS_SIGPIPE:
6556#if defined(MHD_WINSOCK_SOCKETS) || defined(MHD_socket_nosignal_) || defined (MSG_NOSIGNAL)
6557 return MHD_YES;
6558#else
6559 return MHD_NO;
6560#endif
6555 } 6561 }
6556 return MHD_NO; 6562 return MHD_NO;
6557} 6563}