mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Merge remote-tracking branch 'public/bug4697'
This commit is contained in:
commit
878a684386
2 changed files with 8 additions and 0 deletions
5
changes/bug4697
Normal file
5
changes/bug4697
Normal file
|
@ -0,0 +1,5 @@
|
|||
o Minor bugfixes:
|
||||
- Fix an assertion failure when, while running with bufferevents, a
|
||||
connection finishes connecting after it is marked for close, but
|
||||
before it is closed. Fix for bug 4697; Bugfix on 0.2.3.1-alpha.
|
||||
|
|
@ -2953,6 +2953,9 @@ connection_handle_event_cb(struct bufferevent *bufev, short event, void *arg)
|
|||
{
|
||||
connection_t *conn = arg;
|
||||
(void) bufev;
|
||||
if (conn->marked_for_close)
|
||||
return;
|
||||
|
||||
if (event & BEV_EVENT_CONNECTED) {
|
||||
tor_assert(connection_state_is_connecting(conn));
|
||||
if (connection_finished_connecting(conn)<0)
|
||||
|
|
Loading…
Add table
Reference in a new issue