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:
parent
a775ded2fa
commit
ad8a5962f3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue