projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
do not send an error on a full buffer for post data
[project/uhttpd.git]
/
client.c
diff --git
a/client.c
b/client.c
index
408a813
..
28c8f76
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-360,7
+360,8
@@
static void client_read_cb(struct client *cl)
break;
if (!read_cbs[cl->state](cl, str, len)) {
- if (len == us->r.buffer_len)
+ if (len == us->r.buffer_len &&
+ cl->state != CLIENT_STATE_DATA)
uh_header_error(cl, 413, "Request Entity Too Large");
break;
}