ywkaras commented on a change in pull request #6489:
URL: https://github.com/apache/trafficserver/pull/6489#discussion_r442395951
##########
File path: iocore/net/UnixNetProcessor.cc
##########
@@ -237,16 +237,18 @@ UnixNetProcessor::connect_re_internal(Continuation *cont,
sockaddr const *target
vc->action_ = cont;
}
- MUTEX_TRY_LOCK(lock, cont->mutex, t);
- if (lock.is_locked()) {
- MUTEX_TRY_LOCK(lock2, get_NetHandler(t)->mutex, t);
- if (lock2.is_locked()) {
- int ret;
- ret = vc->connectUp(t, NO_FD);
- if ((using_socks) && (ret == CONNECT_SUCCESS)) {
- return &socksEntry->action_;
- } else {
- return ACTION_RESULT_DONE;
+ if (reinterpret_cast<EThread *>(this_thread()) == t) {
Review comment:
So specifically are you asking me to change the commit comment?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]