1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

SIGUSR2 doesn't exist on windows.

This commit is contained in:
Joakim Soderberg 2014-01-13 15:41:25 +01:00
parent a775ded2fa
commit ad8a5962f3

View file

@ -2104,6 +2104,7 @@ libwebsocket_create_context(struct lws_context_creation_info *info)
goto bail;
}
#ifndef _WIN32
signal(SIGUSR2, lws_sigusr2);
{
sigset_t mask;
@ -2112,6 +2113,7 @@ libwebsocket_create_context(struct lws_context_creation_info *info)
sigprocmask(SIG_BLOCK, &mask, NULL);
}
#endif // NOT _WIN32
#ifdef SSL_OP_NO_COMPRESSION
SSL_CTX_set_options(context->ssl_ctx, SSL_OP_NO_COMPRESSION);