[core] fix search for header end if split across chunks (fixes #2670)
From: Stefan Bühler <stbuehler@web.de> git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3043 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.38
parent
3512b5cb77
commit
a93be99441
1
NEWS
1
NEWS
|
@ -6,6 +6,7 @@ NEWS
|
|||
- 1.4.38
|
||||
* [stat-cache] fix handling of collisions, might have returned wrong data (fixes #2669)
|
||||
* [core] allocate at least 4k buffer for incoming data
|
||||
* [core] fix search for header end if split across chunks (fixes #2670)
|
||||
|
||||
- 1.4.37 - 2015-08-30
|
||||
* [mod_proxy] remove debug log line from error log (fixes #2659)
|
||||
|
|
|
@ -932,7 +932,7 @@ static int connection_handle_read_state(server *srv, connection *con) {
|
|||
|
||||
for ( ; cc; cc = cc->next, j = 0 ) {
|
||||
size_t bblen = buffer_string_length(cc->mem) - cc->offset;
|
||||
const char *bb = c->mem->ptr + cc->offset;
|
||||
const char *bb = cc->mem->ptr + cc->offset;
|
||||
|
||||
for ( ; j < bblen; j++) {
|
||||
ch = bb[j];
|
||||
|
|
Loading…
Reference in New Issue