Mercurial > hg > nginx
comparison .hgtags @ 4452:ed05b25a721f stable-1.0
Merge of r4422:
Fixed error handling in ngx_event_connect_peer().
Previously if ngx_add_event() failed a connection was freed two times (once
in the ngx_event_connect_peer(), and again by a caller) as pc->connection was
left set. Fix is to always use ngx_close_connection() to close connection
properly and set pc->connection to NULL on errors.
Patch by Piotr Sikora.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Sun, 05 Feb 2012 20:06:50 +0000 |
parents | ad3742e45959 |
children | 78bf74159062 |
comparison
equal
deleted
inserted
replaced
4451:aaeb1b2dcbf3 | 4452:ed05b25a721f |
---|