Glenn Strauss
f680becd0b
v0.4
5 years ago
Glenn Strauss
925707722f
more robust chunked response parsing ( fixes #2554 )
handle chunked parts across multiple reads
fixes https://redmine.lighttpd.net/issues/2554
where Happstack performs multiple writes to send HTTP chunked header,
HTTP chunked body, and CRLF ending HTTP chunked body
supercedes https://github.com/lighttpd/weighttp/pull/8
handle additional chunked case of split CR and LF
reference
https://github.com/lighttpd/weighttp/pull/9/files#r52358620
thx stbuehler
detect CR not followed by LF (error)
handle NIL in chunked stream
(should not occur in HTTP headers or chunked header,
but could occur in chunked body)
x-ref:
"weighttp closing connection too early(?)"
https://redmine.lighttpd.net/issues/2554
github: closes #8 , closes #9
5 years ago
Stefan Bühler
8f2147e429
add autobuild; remove build-date from binary
6 years ago
Xiaochen Wang
7da292b242
calculate concur & reqs more easily
When i is increased to (config.thread_count - 1), rest_concur has been decreased to zero.
Therefore diff is always 1 in loop. It is unnecessary to calculate diff.
8 years ago
Stefan Bühler
c14ac587e0
Improve option error handling
8 years ago
Stefan Bühler
1ebdbb88ff
Fix bug with unsigned 'char' type (arm) in option parsing (fixes github#6)
8 years ago
Ben Brown
c24b5051c0
User-Agent header no longer needs a leading space
8 years ago
Ben Brown
23181d6f4f
Corrected Host header handling ( fixes #2477 )
8 years ago
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>
8 years ago
Thomas Porzelt
1bdbe4003c
v0.3
10 years ago
Thomas Porzelt
0fdf9d4229
add stats about response status codes (2xx, 3xx, 4xx, 5xx)
10 years ago
Thomas Porzelt
0e287d6736
add -H commandline parameter to specify custom headers
10 years ago
Thomas Porzelt
cb720d0bf1
remove some bogus defines from wscript
12 years ago
Thomas Porzelt
5c686391cb
add User-Agent header to request
12 years ago
Thomas Porzelt
bdfdd127c1
add support for responses that are not keepalive, not chunked and don't have any content-length header
12 years ago
Thomas Porzelt
9df53d5efc
v0.2
12 years ago
Thomas Porzelt
b9a679e2f5
add chunked encoding support
12 years ago
Thomas Porzelt
9d7e517a0d
v0.1
12 years ago
Thomas Porzelt
4a454553a6
add ipv6 support
12 years ago
Thomas Porzelt
993ed0a6b0
fix tiny memory leak
12 years ago
Thomas Porzelt
98278f6de2
add progress output
12 years ago
Thomas Porzelt
2a8afc8dfb
fix handling of responses bigger than the client BUFFER_SIZE (32kb)
12 years ago
Thomas Porzelt
572ab4496e
fix state machine bug which would lead to failed request even though there was no error
12 years ago
Thomas Porzelt
9df7f495cc
fix integer overflows with commandline parameters resulting in wrong amount of requests performed
fix client state machine
12 years ago
Thomas Porzelt
20738ad079
waf: fix broken wscript
12 years ago
Thomas Porzelt
dd6f9d16ad
add newlines at end of files
12 years ago
Thomas Porzelt
a5fc82bc70
fix syntax error introduced by last-minute cleanups...
12 years ago
Thomas Porzelt
5adc0d587e
waf: don't treat warnings as errors when compiling
12 years ago
Thomas Porzelt
68b711e66b
initial commit
12 years ago