comparison src/http/ngx_http_request.c @ 992:3f2e60adf4ef

correct an error log message
author Igor Sysoev <igor@sysoev.ru>
date Mon, 08 Jan 2007 18:23:38 +0000
parents 9075a1c5dc78
children bff1312b84ed
comparison
equal deleted inserted replaced
991:9075a1c5dc78 992:3f2e60adf4ef
975 "client closed prematurely connection"); 975 "client closed prematurely connection");
976 } 976 }
977 977
978 if (n == 0 || n == NGX_ERROR) { 978 if (n == 0 || n == NGX_ERROR) {
979 c->error = 1; 979 c->error = 1;
980 c->log->action = "sending response to client"; 980 c->log->action = "reading client request headers";
981 981
982 ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST); 982 ngx_http_finalize_request(r, NGX_HTTP_BAD_REQUEST);
983 return NGX_ERROR; 983 return NGX_ERROR;
984 } 984 }
985 985