trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ok...@apache.org
Subject [trafficserver] branch master updated: Avoid closing the last netvc if accept_till_done is set
Date Fri, 25 Aug 2017 06:45:05 GMT
This is an automated email from the ASF dual-hosted git repository.

oknet pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/master by this push:
     new 6395adc  Avoid closing the last netvc if accept_till_done is set
6395adc is described below

commit 6395adc825523d38aea789db7bfce37f7173a298
Author: Oknet Xu <xuchao@skyguard.com.cn>
AuthorDate: Mon Aug 21 20:33:30 2017 +0800

    Avoid closing the last netvc if accept_till_done is set
---
 iocore/net/UnixNetAccept.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/iocore/net/UnixNetAccept.cc b/iocore/net/UnixNetAccept.cc
index 1ce7fce..4f748be 100644
--- a/iocore/net/UnixNetAccept.cc
+++ b/iocore/net/UnixNetAccept.cc
@@ -470,6 +470,7 @@ NetAccept::acceptFastEvent(int event, void *ep)
     } else {
       close_UnixNetVConnection(vc, e->ethread);
     }
+    vc = nullptr;
   } while (loop);
 
 Ldone:

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <commits@trafficserver.apache.org>'].

Mime
View raw message