Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions iocore/net/UnixNetVConnection.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ UnixNetVConnection::startEvent(int /* event ATS_UNUSED */, Event *e)
if (!action_.cancelled) {
connectUp(e->ethread, NO_FD);
} else {
this->free(e->ethread);
get_NetHandler(e->ethread)->free_netevent(this);
}
return EVENT_DONE;
}
Expand Down Expand Up @@ -1213,7 +1213,6 @@ UnixNetVConnection::connectUp(EThread *t, int fd)
res = con.connect(nullptr, options);
if (res != 0) {
// fast stopIO
nh = nullptr;
goto fail;
}
}
Expand All @@ -1239,7 +1238,7 @@ UnixNetVConnection::connectUp(EThread *t, int fd)
if (fd != NO_FD) {
con.fd = NO_FD;
}
free(t);
nh->free_netevent(this);
return CONNECT_FAILURE;
}

Expand Down