keepalive fix flow now forced closed removed
authorAndy Green <andy.green@linaro.org>
Wed, 21 Oct 2015 00:16:34 +0000 (08:16 +0800)
committerAndy Green <andy.green@linaro.org>
Wed, 21 Oct 2015 00:16:34 +0000 (08:16 +0800)
commit2627148523cdc83d07eb6aa8bdae36860922d57b
treeb4e5a2017358955c48d93a022a59eb9988c57198
parentd256194a0cdece9bb6f95d4d45d39455de99dfb4
keepalive fix flow now forced closed removed

Since 0d89f3cbed69a86251e6ed791c57e99a7f59c8d9 added recently,
http1.1 keepalive tries to actually keep alive.

Some updates are needed to keepalive flow to solve problems coming from
changes that were hidden until now by keepalive basically closing until
recently.  It's not very noticable since clients will retry as close is
the default 1.0 behaviour... anyway this lets me do

wget http://localhost:7681/test.html http://localhost:7681/test.html

using keepalive correctly on the test server.

Signed-off-by: Andy Green <andy.green@linaro.org>
lib/handshake.c
lib/server.c