Mercurial > hg > nginx
comparison src/http/modules/proxy/ngx_http_proxy_handler.c @ 379:73688d5d7fc3
nginx-0.0.7-2004-07-06-20:12:16 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 06 Jul 2004 16:12:16 +0000 |
parents | 41437e4fd9b4 |
children | 6f3b20c1ac50 |
comparison
equal
deleted
inserted
replaced
378:b7d3625c9336 | 379:73688d5d7fc3 |
---|---|
654 /* | 654 /* |
655 * we have to clean the connection information before the closing | 655 * we have to clean the connection information before the closing |
656 * because another thread may reopen the same file descriptor | 656 * because another thread may reopen the same file descriptor |
657 * before we clean the connection | 657 * before we clean the connection |
658 */ | 658 */ |
659 | 659 |
660 if (ngx_mutex_lock(ngx_posted_events_mutex) == NGX_OK) { | 660 if (ngx_mutex_lock(ngx_posted_events_mutex) == NGX_OK) { |
661 | 661 |
662 if (c->read->prev) { | 662 if (c->read->prev) { |
663 ngx_delete_posted_event(c->read); | 663 ngx_delete_posted_event(c->read); |
664 } | 664 } |