diff --git a/proto/http.c b/proto/http.c index 57655b78..87ee24a2 100644 --- a/proto/http.c +++ b/proto/http.c @@ -260,6 +260,7 @@ int uwsgi_proto_http_parser(struct wsgi_request *wsgi_req) { len = read(wsgi_req->poll.fd, wsgi_req->proto_parser_buf + wsgi_req->proto_parser_pos, uwsgi.buffer_size - wsgi_req->proto_parser_pos); if (len <= 0) { + uwsgi_log("errno = %d\n", errno); free(wsgi_req->proto_parser_buf); uwsgi_error("recv()"); return -1;