Fix bug 893: check AP connections for markedness before expiring them.

svn:r18298
This commit is contained in:
Nick Mathewson 2009-01-28 16:29:58 +00:00
parent 5e457a1f77
commit 1d55b06902
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,9 @@
Changes in version 0.2.0.34 - 2009-??-??
o Minor bugfixes:
- Fix compilation on systems where time-t is a 64-bit integer.
- Fix compilation on systems where time_t is a 64-bit integer.
Patch from Matthias Drochner.
- Don't consider consider expiring already-closed client connections.
Fixes bug 893. Bugfix on 0.0.2pre20.
Changes in version 0.2.0.33 - 2009-01-21

View File

@ -361,7 +361,7 @@ connection_ap_expire_beginning(void)
SMARTLIST_FOREACH(conns, connection_t *, c,
{
if (c->type != CONN_TYPE_AP)
if (c->type != CONN_TYPE_AP || c->marked_for_close)
continue;
conn = TO_EDGE_CONN(c);
/* if it's an internal linked connection, don't yell its status. */