From 2648e903a2b1927e42d1320f6983bb3ce18e3cf4 Mon Sep 17 00:00:00 2001 From: Andrew Canaday Date: Sat, 24 May 2014 16:17:17 -0400 Subject: [PATCH] Forgot to add WSI_TOKEN_OPTIONS_URI to the switch statement in parsers. --- lib/parsers.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/parsers.c b/lib/parsers.c index 75a7f53df..aa1350909 100644 --- a/lib/parsers.c +++ b/lib/parsers.c @@ -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: