You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2016/06/22 21:40:23 UTC

[trafficserver] 03/14: TS-4527: Removing unneeded do_io_read and do_io_write that were cause error messages to be logged

This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://git-dual.apache.org/repos/asf/trafficserver.git

commit 5482e17ae91908c91a0de63a68cc0885ea1603fe
Author: Bryan Call <bc...@apache.org>
AuthorDate: Tue Jun 14 10:24:20 2016 -0700

    TS-4527: Removing unneeded do_io_read and do_io_write that were cause error
    messages to be logged
    
    (cherry picked from commit 029a9cce67ad5d1881789ce262ab8d79392db0bf)
---
 proxy/http2/Http2ClientSession.h | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/proxy/http2/Http2ClientSession.h b/proxy/http2/Http2ClientSession.h
index 48e6c84..b0ddc69 100644
--- a/proxy/http2/Http2ClientSession.h
+++ b/proxy/http2/Http2ClientSession.h
@@ -180,13 +180,7 @@ public:
   virtual void
   release_netvc()
   {
-    // Make sure the vio's are also released to avoid
-    // later surprises in inactivity timeout
-    if (client_vc) {
-      client_vc->do_io_read(NULL, 0, NULL);
-      client_vc->do_io_write(NULL, 0, NULL);
-      client_vc = NULL;
-    }
+    client_vc = NULL;
   }
 
   sockaddr const *

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