Updated Branches:
  refs/heads/master a1d9f286b -> b4d2b8804

Be more precise in SSL debugging


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

Branch: refs/heads/master
Commit: b4d2b8804f658efcee5cd73f2b86a5f0c3380890
Parents: a1d9f28
Author: Igor Galić <[email protected]>
Authored: Mon Oct 22 15:32:36 2012 +0200
Committer: Igor Galić <[email protected]>
Committed: Mon Oct 22 15:32:36 2012 +0200

----------------------------------------------------------------------
 iocore/net/SSLNetVConnection.cc |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/b4d2b880/iocore/net/SSLNetVConnection.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLNetVConnection.cc b/iocore/net/SSLNetVConnection.cc
index 201e346..f2b8ecf 100644
--- a/iocore/net/SSLNetVConnection.cc
+++ b/iocore/net/SSLNetVConnection.cc
@@ -117,10 +117,13 @@ ssl_read_from_net(NetHandler * nh, UnixNetVConnection * 
vc, EThread * lthread, i
         Debug("ssl", "[SSL_NetVConnection::ssl_read_from_net] 
SSL_ERROR_WOULD_BLOCK(write)");
         break;
       case SSL_ERROR_WANT_READ:
-      case SSL_ERROR_WANT_X509_LOOKUP:
         event = SSL_READ_WOULD_BLOCK;
         Debug("ssl", "[SSL_NetVConnection::ssl_read_from_net] 
SSL_ERROR_WOULD_BLOCK(read)");
         break;
+      case SSL_ERROR_WANT_X509_LOOKUP:
+        event = SSL_READ_WOULD_BLOCK;
+        Debug("ssl", "[SSL_NetVConnection::ssl_read_from_net] 
SSL_ERROR_WOULD_BLOCK(read/x509 lookup)");
+        break;
       case SSL_ERROR_SYSCALL:
         if (rres != 0) {
           // not EOF

Reply via email to