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

Forgot to add WSI_TOKEN_OPTIONS_URI to the switch statement in parsers.

This commit is contained in:
Andrew Canaday 2014-05-24 16:17:17 -04:00
parent 09c007eba4
commit 2648e903a2

View file

@ -185,6 +185,7 @@ int libwebsocket_parse(struct libwebsocket *wsi, unsigned char c)
switch (wsi->u.hdr.parser_state) {
case WSI_TOKEN_GET_URI:
case WSI_TOKEN_POST_URI:
case WSI_TOKEN_OPTIONS_URI:
case WSI_TOKEN_HOST:
case WSI_TOKEN_CONNECTION:
case WSI_TOKEN_KEY1: