comparison src/http/ngx_http_request_body.c @ 1456:698ea64f71e1

fix unlikely socket leak
author Igor Sysoev <igor@sysoev.ru>
date Sat, 01 Sep 2007 16:41:52 +0000
parents 7f2adaebb81f
children 227152b66458
comparison
equal deleted inserted replaced
1455:7f2adaebb81f 1456:698ea64f71e1
519 } 519 }
520 520
521 /* rc == NGX_AGAIN */ 521 /* rc == NGX_AGAIN */
522 522
523 if (ngx_handle_read_event(rev, 0) == NGX_ERROR) { 523 if (ngx_handle_read_event(rev, 0) == NGX_ERROR) {
524 c->error = 1;
524 ngx_http_finalize_request(r, rc); 525 ngx_http_finalize_request(r, rc);
525 return; 526 return;
526 } 527 }
527 528
528 if (timer) { 529 if (timer) {