mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00
Subject: [PATCH] serve_http_file: add feature test macro for API change
introduced in 917f43
This commit is contained in:
parent
303f65fbe2
commit
49d0ce17d5
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ LWS_VISIBLE LWS_EXTERN void lwsl_hexdump(void *buf, size_t len);
|
|||
/* you can call lws_get_peer_write_allowance */
|
||||
#define LWS_FEATURE_PROTOCOLS_HAS_PEER_WRITE_ALLOWANCE
|
||||
|
||||
/* extra parameter introduced in 917f43ab821 */
|
||||
#define LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_LEN
|
||||
|
||||
enum libwebsocket_context_options {
|
||||
LWS_SERVER_OPTION_REQUIRE_VALID_OPENSSL_CLIENT_CERT = 2,
|
||||
LWS_SERVER_OPTION_SKIP_SERVER_CANONICAL_NAME = 4,
|
||||
|
|
Loading…
Add table
Reference in a new issue