summaryrefslogtreecommitdiff
path: root/core/protocol.c
diff options
context:
space:
mode:
authorUnbit <info@unbit.it>2013-01-30 12:24:38 +0100
committerUnbit <info@unbit.it>2013-01-30 12:24:38 +0100
commit443c2c5a293f972f3779553dae8e36bbf8ac48b0 (patch)
tree36c2c009b7e0fa282814f547164308a2da7af586 /core/protocol.c
parentfeca5abc534908f1fed2cfb0411603bde7b2ae50 (diff)
downloaduwsgi-443c2c5a293f972f3779553dae8e36bbf8ac48b0.tar.gz
better route/sendfile/offload logging
Diffstat (limited to 'core/protocol.c')
-rw-r--r--core/protocol.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/protocol.c b/core/protocol.c
index 49561915..d0583659 100644
--- a/core/protocol.c
+++ b/core/protocol.c
@@ -839,7 +839,6 @@ next:
// read to disk if post_cl > post_buffering (it will eventually do upload progress...)
if (wsgi_req->post_cl >= (size_t) uwsgi.post_buffering) {
if (!uwsgi_read_whole_body(wsgi_req, wsgi_req->post_buffering_buf, uwsgi.post_buffering_bufsize)) {
- wsgi_req->status = -1;
return -1;
}
wsgi_req->body_as_file = 1;
@@ -847,7 +846,6 @@ next:
// on tiny post use memory
else {
if (!uwsgi_read_whole_body_in_mem(wsgi_req, wsgi_req->post_buffering_buf)) {
- wsgi_req->status = -1;
return -1;
}
}
@@ -861,7 +859,6 @@ next:
if (cache_value && cache_value_size > 0) {
uwsgi_response_write_body_do(wsgi_req, cache_value, cache_value_size);
free(cache_value);
- wsgi_req->status = -1;
return -1;
}
}
@@ -873,7 +870,6 @@ next:
if (cache_value && cache_value_size > 0) {
uwsgi_response_write_body_do(wsgi_req, cache_value, cache_value_size);
free(cache_value);
- wsgi_req->status = -1;
return -1;
}
}