|
|
@ -72,7 +72,7 @@ struct libws_http_data {
|
|
|
|
FILE *fptr;
|
|
|
|
FILE *fptr;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef HTTP_STATUS_NOT_FOUND
|
|
|
|
#ifndef LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_ARG
|
|
|
|
/* This is libwebsockets 1.2.x or earlier, we have to degrade our capabilities.
|
|
|
|
/* This is libwebsockets 1.2.x or earlier, we have to degrade our capabilities.
|
|
|
|
* Once lws 1.3 is widely available this should be removed. */
|
|
|
|
* Once lws 1.3 is widely available this should be removed. */
|
|
|
|
# define LWS_IS_OLD
|
|
|
|
# define LWS_IS_OLD
|
|
|
|