aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/daemon.c')
-rw-r--r--src/microhttpd/daemon.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
index 700cbeca..0fe47228 100644
--- a/src/microhttpd/daemon.c
+++ b/src/microhttpd/daemon.c
@@ -5849,6 +5849,7 @@ parse_options_va (struct MHD_Daemon *daemon,
5849 break; 5849 break;
5850 /* all options taking 'int' */ 5850 /* all options taking 'int' */
5851 case MHD_OPTION_STRICT_FOR_CLIENT: 5851 case MHD_OPTION_STRICT_FOR_CLIENT:
5852 case MHD_OPTION_SIGPIPE_HANDLED_BY_APP:
5852 if (MHD_NO == parse_options (daemon, 5853 if (MHD_NO == parse_options (daemon,
5853 servaddr, 5854 servaddr,
5854 opt, 5855 opt,
@@ -5927,6 +5928,16 @@ parse_options_va (struct MHD_Daemon *daemon,
5927 return MHD_NO; 5928 return MHD_NO;
5928#endif 5929#endif
5929#endif /* HTTPS_SUPPORT */ 5930#endif /* HTTPS_SUPPORT */
5931 case MHD_OPTION_SIGPIPE_HANDLED_BY_APP:
5932 if (0 == (daemon->options & MHD_USE_INTERNAL_POLLING_THREAD))
5933 daemon->sigpipe_blocked = ( (va_arg (ap,
5934 int)) != 0);
5935 else
5936 {
5937 (void) va_arg (ap,
5938 int);
5939 }
5940 break;
5930 default: 5941 default:
5931#ifdef HAVE_MESSAGES 5942#ifdef HAVE_MESSAGES
5932 if ( ( (opt >= MHD_OPTION_HTTPS_MEM_KEY) && 5943 if ( ( (opt >= MHD_OPTION_HTTPS_MEM_KEY) &&