diff options
author | Andy Green <andy@warmcat.com> | 2016-03-23 09:22:11 +0800 |
---|---|---|
committer | Andy Green <andy@warmcat.com> | 2016-03-23 09:22:11 +0800 |
commit | c6fd360160fce25e7e2b86ab2f3440da5ebf834f (patch) | |
tree | ff38bb6f6b33098dbf787978034d445360420cdc /changelog | |
parent | f107e4bb85bb06b0de8bc1b1882111d28ace0260 (diff) | |
download | libwebsockets-c6fd360160fce25e7e2b86ab2f3440da5ebf834f.tar.gz |
LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT to default to runtime ssl disable
https://github.com/warmcat/libwebsockets/issues/468
Adds lws_check_opt() to regularize multibit flag checking.
There's a new context creation flag LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT,
this is included automatically if you give any other SSL-related option flag.
If you give no SSL-related option flag, nor this one directly, then even
though SSL support may be compiled in, it is never initialized nor used for the
whole lifetime of the lws context.
Conversely in order to prepare the context to use SSL, even though, eg, you
are not listening on SSL but will use SSL client connections later, you can
give this flag explicitly to make sure SSL is initialized.
Signed-off-by: Andy Green <andy@warmcat.com>
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -90,6 +90,16 @@ to your original connection. additional library, "libhubbub". This allows lws to do html rewriting on the fly, adjusting proxied urls in a lightweight and fast way. +11) There's a new context creation flag LWS_SERVER_OPTION_DO_SSL_GLOBAL_INIT, +this is included automatically if you give any other SSL-related option flag. +If you give no SSL-related option flag, nor this one directly, then even +though SSL support may be compiled in, it is never initialized nor used for the +whole lifetime of the lws context. + +Conversely in order to prepare the context to use SSL, even though, eg, you +are not listening on SSL but will use SSL client connections later, you must +give this flag explicitly to make sure SSL is initialized. + User API additions ------------------ |