Commit Graph

11 Commits

Author SHA1 Message Date
Jyri J. Virkki b720a89d55 Fix header parsing to compare HTTP header field names case
insensitively. This fixes the problem where responses get incorrectly
marked as errors if the response header field name case doesn't happen
to match to what is in the code.

Also compare connection and transfer-encoding tokens case insensitively.

(Reference: RFC 2616: header field names are not case sensitive.)

Co-authored-by: Stefan Bühler <stbuehler@web.de>
2013-01-07 15:08:05 +01:00
Thomas Porzelt 1bdbe4003c v0.3 2011-10-16 12:01:50 +02:00
Thomas Porzelt 0fdf9d4229 add stats about response status codes (2xx, 3xx, 4xx, 5xx) 2011-10-16 12:01:08 +02:00
Thomas Porzelt bdfdd127c1 add support for responses that are not keepalive, not chunked and don't have any content-length header 2009-10-04 17:45:19 +02:00
Thomas Porzelt b9a679e2f5 add chunked encoding support 2009-09-30 23:31:03 +02:00
Thomas Porzelt 98278f6de2 add progress output 2009-09-13 16:08:15 +02:00
Thomas Porzelt 2a8afc8dfb fix handling of responses bigger than the client BUFFER_SIZE (32kb) 2009-09-11 20:16:03 +02:00
Thomas Porzelt 572ab4496e fix state machine bug which would lead to failed request even though there was no error 2009-09-11 18:27:43 +02:00
Thomas Porzelt 9df7f495cc fix integer overflows with commandline parameters resulting in wrong amount of requests performed
fix client state machine
2009-09-11 12:09:54 +02:00
Thomas Porzelt dd6f9d16ad add newlines at end of files 2009-09-10 23:45:34 +02:00
Thomas Porzelt 68b711e66b initial commit 2009-09-10 20:09:56 +02:00