trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iga...@apache.org
Subject git commit: TS-1918: SSL hangs after origin handshake
Date Wed, 22 May 2013 19:36:23 GMT
Updated Branches:
  refs/heads/3.2.x 54fe42849 -> cdb24d2d9


TS-1918: SSL hangs after origin handshake

When using SSL with a Netscaler origin, I'm seeing the handshake
complete but ATS never issuing the HTTP request. It seems that while
the handshake is in progress, the write to the origin is not
rescheduled, so ATS never notices that it can send the origin
request.

Conflicts:
	CHANGES

test/review: jpeach, igalic, zwoop
backport: igalic


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/cdb24d2d
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/cdb24d2d
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/cdb24d2d

Branch: refs/heads/3.2.x
Commit: cdb24d2d97b4517177a01b445b8289ed7ce0da23
Parents: 54fe428
Author: James Peach <jpeach@apache.org>
Authored: Fri May 17 14:41:21 2013 -0700
Committer: Igor Galić <i.galic@brainsware.org>
Committed: Wed May 22 21:20:58 2013 +0200

----------------------------------------------------------------------
 CHANGES                          |    2 ++
 iocore/net/UnixNetVConnection.cc |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cdb24d2d/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index e3129f3..b844bdb 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 3.2.5
 
+  *) [TS-1918] SSL hangs after origin handshake.
+
   *) [TS-1779] Crash when using ssl_ca_name
 
   *) [TS-1483] Manager uses hardcoded FD limit causing restarts

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/cdb24d2d/iocore/net/UnixNetVConnection.cc
----------------------------------------------------------------------
diff --git a/iocore/net/UnixNetVConnection.cc b/iocore/net/UnixNetVConnection.cc
index 9bfb137..b14e807 100644
--- a/iocore/net/UnixNetVConnection.cc
+++ b/iocore/net/UnixNetVConnection.cc
@@ -385,6 +385,7 @@ write_to_net_io(NetHandler *nh, UnixNetVConnection *vc, EThread *thread)
       nh->read_ready_list.remove(vc);
       vc->write.triggered = 0;
       nh->write_ready_list.remove(vc);
+      write_reschedule(nh, vc);
     } else if (ret == EVENT_DONE) {
       vc->write.triggered = 1;
       if (vc->write.enabled)


Mime
View raw message