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

fix Uri Args header name

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2015-12-04 11:57:48 +08:00
parent 02d60d6d21
commit cef609df80
2 changed files with 5 additions and 2 deletions

View file

@ -24,6 +24,9 @@
const unsigned char *lws_token_to_string(enum lws_token_indexes token)
{
if (token == WSI_TOKEN_HTTP_URI_ARGS)
return (unsigned char *)"Uri-Args:";
if ((unsigned int)token >= ARRAY_SIZE(set))
return NULL;
return (unsigned char *)set[token];

View file

@ -973,7 +973,7 @@ libwebsocket_set_proxy(struct lws_context *context, const char *proxy)
return lws_set_proxy(context, proxy);
}
#undef lws_context_destroy
#undef libwebsocket_context_destroy
LWS_VISIBLE LWS_EXTERN void
libwebsocket_context_destroy(struct lws_context *context)
{
@ -1029,7 +1029,7 @@ libwebsocket_service_fd(struct lws_context *context,
return lws_service_fd(context, pollfd);
}
#undef lws_context_user
#undef libwebsocket_context_user
LWS_VISIBLE LWS_EXTERN void *
libwebsocket_context_user(struct lws_context *context)
{