http uri arguments process in fragments
authorAndy Green <andy.green@linaro.org>
Tue, 15 Dec 2015 14:57:19 +0000 (22:57 +0800)
committerAndy Green <andy.green@linaro.org>
Tue, 15 Dec 2015 15:07:31 +0000 (23:07 +0800)
commit4eb36373d70b3fda099d1896733c6ddd3046bdf1
tree1d206ec755a2b885d49e2bda1ccbb28058f4aeaf
parentf35801b19dac61d4a9043c5e831a149413872fca
http uri arguments process in fragments

This makes the URI argument processing split each parameter into
a "fragment".  Processing header content as fragments already exists
in lws, because it's legal to deliver header content by repeating
the header.

Now there's an api to access individual fragments, also add the
code to the test server to print each URI argument separately.

Adapt attack.sh to parse the fragments.

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