projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1277c6
)
httpd: small fixlet for POST upload - skip
author
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 17 Mar 2008 12:58:19 +0000
(12:58 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Mon, 17 Mar 2008 12:58:19 +0000
(12:58 -0000)
whitespace between "Content-length:" and number
networking/httpd.c
patch
|
blob
|
history
diff --git
a/networking/httpd.c
b/networking/httpd.c
index 522e7eec09800b827df2d8ef099db11722b78b01..620e680ac68051c7b6385ed6e269dfc958e6ec7d 100644
(file)
--- a/
networking/httpd.c
+++ b/
networking/httpd.c
@@
-1977,7
+1977,7
@@
static void handle_incoming_and_exit(const len_and_sockaddr *fromAddr)
&& prequest != request_HEAD
#endif
) {
- tptr =
iobuf + sizeof("Content-length:") - 1
;
+ tptr =
skip_whitespace(iobuf + sizeof("Content-length:") - 1)
;
if (!tptr[0])
send_headers_and_exit(HTTP_BAD_REQUEST);
/* not using strtoul: it ignores leading minus! */