HTTP time condition: force closure for 200 OK
authorDaniel Stenberg <daniel@haxx.se>
Tue, 7 Jun 2011 11:40:11 +0000 (13:40 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 7 Jun 2011 11:40:11 +0000 (13:40 +0200)
commitc0b9dd27b553c2a2fff8e0259a7ad694172ece86
treec8b66f1b1f664e883bbbb31303a15d3556c154ca
parent6aff805942c86419ccf028f13811c3ee3d6ae8a0
HTTP time condition: force closure for 200 OK

When a time condition isn't met, so that no body is delivered to the
application even though a 2xx response is being read from the server, we
must close the connection to avoid a re-use of the connection to be
completely tricked.

Added test 1128 to verify.
lib/transfer.c
tests/data/Makefile.am
tests/data/test1128 [new file with mode: 0644]