You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by sh...@apache.org on 2015/07/08 14:25:38 UTC
[4/8] trafficserver git commit: Address @SolidWallOfCode comment,
remove API
Address @SolidWallOfCode comment, remove API
+ correct comment about client request.
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/aca56694
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/aca56694
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/aca56694
Branch: refs/heads/master
Commit: aca56694ec162b9c4914c466545eedd9d8b645f5
Parents: 0413469
Author: Francois Pesce <fp...@yahoo-inc.com>
Authored: Mon Jun 29 14:38:03 2015 -0700
Committer: Francois Pesce <fp...@yahoo-inc.com>
Committed: Mon Jun 29 14:38:03 2015 -0700
----------------------------------------------------------------------
doc/admin/event-logging-formats.en.rst | 4 +--
.../api/TSNetVConnSSLCachedHitSet.en.rst | 32 --------------------
proxy/InkAPI.cc | 8 -----
proxy/api/ts/ts.h | 1 -
4 files changed, 2 insertions(+), 43 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/aca56694/doc/admin/event-logging-formats.en.rst
----------------------------------------------------------------------
diff --git a/doc/admin/event-logging-formats.en.rst b/doc/admin/event-logging-formats.en.rst
index 5529638..1c7a5db 100644
--- a/doc/admin/event-logging-formats.en.rst
+++ b/doc/admin/event-logging-formats.en.rst
@@ -173,8 +173,8 @@ The following list describes Traffic Server custom logging fields.
.. _cqtr:
``cqtr``
- The TCP reused status; indicates if this request went through an
- already established connection.
+ The TCP reused status; indicates if this client request went through
+ an already established connection.
.. _cqssl:
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/aca56694/doc/reference/api/TSNetVConnSSLCachedHitSet.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/api/TSNetVConnSSLCachedHitSet.en.rst b/doc/reference/api/TSNetVConnSSLCachedHitSet.en.rst
deleted file mode 100644
index e98c550..0000000
--- a/doc/reference/api/TSNetVConnSSLCachedHitSet.en.rst
+++ /dev/null
@@ -1,32 +0,0 @@
-.. Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed
- with this work for additional information regarding copyright
- ownership. The ASF licenses this file to you under the Apache
- License, Version 2.0 (the "License"); you may not use this file
- except in compliance with the License. You may obtain a copy of
- the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied. See the License for the specific language governing
- permissions and limitations under the License.
-
-
-TSNetVConnSSLCachedHitSet
-============
-
-Synopsis
---------
-
-`#include <ts/ts.h>`
-
-.. c:function:: void TSNetVConnSSLCachedHitSet(TSVConn vc, int state)
-
-Description
------------
-
- Mark an SSL Connection as reused, which means that an SSL Session Cache or an SSL Ticket have been used to prevent a full handshake for this SSL Connection.
-
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/aca56694/proxy/InkAPI.cc
----------------------------------------------------------------------
diff --git a/proxy/InkAPI.cc b/proxy/InkAPI.cc
index 22828d6..41176ae 100644
--- a/proxy/InkAPI.cc
+++ b/proxy/InkAPI.cc
@@ -6531,14 +6531,6 @@ TSNetVConnRemoteAddrGet(TSVConn connp)
return vc->get_remote_addr();
}
-void
-TSNetVConnSSLSessionCachedHitSet(TSVConn connp, int state)
-{
- sdk_assert(sdk_sanity_check_iocore_structure(connp) == TS_SUCCESS);
- SSLNetVConnection *vc = reinterpret_cast<SSLNetVConnection *>(connp);
- vc->setSSLSessionCacheHit((0 != state) ? true : false);
-}
-
TSAction
TSNetConnect(TSCont contp, sockaddr const *addr)
{
http://git-wip-us.apache.org/repos/asf/trafficserver/blob/aca56694/proxy/api/ts/ts.h
----------------------------------------------------------------------
diff --git a/proxy/api/ts/ts.h b/proxy/api/ts/ts.h
index 6583273..2ba589b 100644
--- a/proxy/api/ts/ts.h
+++ b/proxy/api/ts/ts.h
@@ -1702,7 +1702,6 @@ tsapi TSVConn TSTransformOutputVConnGet(TSVConn connp);
Net VConnections */
tsapi struct sockaddr const *TSNetVConnRemoteAddrGet(TSVConn vc);
-tsapi void TSNetVConnSSLCachedHitSet(TSVConn vc, int state);
/**
Opens a network connection to the host specified by ip on the port