This is an automated email from the ASF dual-hosted git repository. scw00 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 82e5c3e Correct shutdown flag in UnixNetVConnection 82e5c3e is described below commit 82e5c3e9733797de7abda160b24c4d172f5773d8 Author: scw00 <sc...@apache.org> AuthorDate: Tue Mar 13 09:36:10 2018 +0800 Correct shutdown flag in UnixNetVConnection --- iocore/net/UnixNetVConnection.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc index a7310b1..9bcc811 100644 --- a/iocore/net/UnixNetVConnection.cc +++ b/iocore/net/UnixNetVConnection.cc @@ -684,7 +684,7 @@ UnixNetVConnection::do_io_shutdown(ShutdownHowTo_t howto) read.vio.buffer.clear(); read.vio.nbytes = 0; read.vio._cont = nullptr; - f.shutdown = NET_VC_SHUTDOWN_READ; + f.shutdown |= NET_VC_SHUTDOWN_READ; break; case IO_SHUTDOWN_WRITE: socketManager.shutdown(((UnixNetVConnection *)this)->con.fd, 1); @@ -692,7 +692,7 @@ UnixNetVConnection::do_io_shutdown(ShutdownHowTo_t howto) write.vio.buffer.clear(); write.vio.nbytes = 0; write.vio._cont = nullptr; - f.shutdown = NET_VC_SHUTDOWN_WRITE; + f.shutdown |= NET_VC_SHUTDOWN_WRITE; break; case IO_SHUTDOWN_READWRITE: socketManager.shutdown(((UnixNetVConnection *)this)->con.fd, 2); -- To stop receiving notification emails like this one, please contact sc...@apache.org.