introduce uri args
authorAndy Green <andy.green@linaro.org>
Tue, 12 Nov 2013 23:45:17 +0000 (07:45 +0800)
committerAndy Green <andy.green@linaro.org>
Tue, 12 Nov 2013 23:45:17 +0000 (07:45 +0800)
commit1e3f7b8de914eb3fb8d0e1b24ce8453f13736b18
treeddf1acf7b8156571f3c98a798166e37321416776
parentd3f687394257514863f3fc5919fb6f9c761e1e5e
introduce uri args

If the URI coming from the client contains '?' then

 - the URI part is terminated with a '\0'

 - the remainder of the URI goes in a new header WSI_TOKEN_HTTP_URI_ARGS

 - the remainder of the URI is not subject to path sanitization measures (it
    still has %xx processing done on it)

In the test server, http requests now also dump header information to stderr.

The attack.sh script is simplified and can now parse the test server header dumps.

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/libwebsockets.h
lib/parsers.c
lib/private-libwebsockets.h
test-server/attack.sh
test-server/test-server.c