trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bc...@apache.org
Subject trafficserver git commit: TS-4104: return 1 on a new ticket created
Date Wed, 27 Jan 2016 21:25:34 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 7a6d97cf8 -> ed6cfbad1


TS-4104: return 1 on a new ticket created

This closes #400


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

Branch: refs/heads/master
Commit: ed6cfbad1db168036d9444974b5433c9c44c4642
Parents: 7a6d97c
Author: Oknet <xuchao@gmail.com>
Authored: Wed Jan 27 13:25:05 2016 -0800
Committer: Bryan Call <bcall@apache.org>
Committed: Wed Jan 27 13:25:18 2016 -0800

----------------------------------------------------------------------
 iocore/net/SSLUtils.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/ed6cfbad/iocore/net/SSLUtils.cc
----------------------------------------------------------------------
diff --git a/iocore/net/SSLUtils.cc b/iocore/net/SSLUtils.cc
index 91d5486..db87148 100644
--- a/iocore/net/SSLUtils.cc
+++ b/iocore/net/SSLUtils.cc
@@ -1969,7 +1969,7 @@ ssl_callback_session_ticket(SSL *ssl, unsigned char *keyname, unsigned
char *iv,
 
     Debug("ssl", "create ticket for a new session.");
     SSL_INCREMENT_DYN_STAT(ssl_total_tickets_created_stat);
-    return 0;
+    return 1;
   } else if (enc == 0) {
     for (unsigned i = 0; i < keyblock->num_keys; ++i) {
       if (memcmp(keyname, keyblock->keys[i].key_name, sizeof(keyblock->keys[i].key_name))
== 0) {


Mime
View raw message