Ticket #1098: diff
| File diff, 0.6 kB (added by gcleary@…, 19 months ago) |
|---|
-
src/request.c
$ diff -uN ~ctaylor/Stuff/lighttpd-svn/src src/request.c
old new 371 371 372 372 r = strtoll(ds->value->ptr, &err, 10); 373 373 374 if (*err != '\0') { 374 /* accept any valid content-length inspite of trailing characters */ 375 if (err == ds->value->ptr) { 375 376 TRACE("content-length is not a number: %s (Status: 400)", err); 376 377 377 378 con->http_status = 400;

