Latest update - 7353
This commit is contained in:
@@ -954,8 +954,8 @@ ngx_http_uwsgi_create_request(ngx_http_request_t *r)
|
||||
#if 0
|
||||
/* allow custom uwsgi packet */
|
||||
if (len > 0 && len < 2) {
|
||||
ngx_log_error (NGX_LOG_ALERT, r->connection->log, 0,
|
||||
"uwsgi request is too little: %uz", len);
|
||||
ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0,
|
||||
"uwsgi request is too little: %uz", len);
|
||||
return NGX_ERROR;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -3313,6 +3313,10 @@ ngx_http_lingering_close_handler(ngx_event_t *rev)
|
||||
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0, "lingering read: %z", n);
|
||||
|
||||
if (n == NGX_AGAIN) {
|
||||
break;
|
||||
}
|
||||
|
||||
if (n == NGX_ERROR || n == 0) {
|
||||
ngx_http_close_request(r, 0);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user