Skip to content

Commit

Permalink
Merge pull request #1 from Edge/5.3.x
Browse files Browse the repository at this point in the history
update changes from main fork
  • Loading branch information
jkenny committed Dec 17, 2015
2 parents 6eb1835 + b11273f commit 6d7c7e9
Show file tree
Hide file tree
Showing 34 changed files with 167 additions and 207 deletions.
6 changes: 6 additions & 0 deletions doc/admin/event-logging-formats.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,12 @@ The following list describes Traffic Server custom logging fields.
connection reuse. This mirrors the behavior of the client-side boolean
flag for connection reuse, ``cqtr``.

.. _sscc:

``sscc``
The number of open connections to specified origin at the time of
connection establishment.

.. _ttms:

``ttms``
Expand Down
10 changes: 7 additions & 3 deletions iocore/net/SSLUtils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1692,9 +1692,13 @@ ssl_store_ssl_context(const SSLConfigParams *params, SSLCertLookup *lookup, cons
SSL_CTX_set_next_protos_advertised_cb(ctx, SSLNetVConnection::advertise_next_protocol, NULL);
#endif /* TS_USE_TLS_NPN */

#if TS_USE_TLS_ALPN
SSL_CTX_set_alpn_select_cb(ctx, SSLNetVConnection::select_next_protocol, NULL);
#endif /* TS_USE_TLS_ALPN */
void (*test_alpn)(SSL_CTX*, int (*)(SSL*, const unsigned char**, unsigned char*, const unsigned char*, unsigned int, void*), void*) =
(void (*)(SSL_CTX*, int (*)(SSL*, const unsigned char**, unsigned char*, const unsigned char*, unsigned int, void*), void*)) dlsym(RTLD_DEFAULT, "SSL_CTX_set_alpn_select_cb");
if (test_alpn) {
test_alpn(ctx, SSLNetVConnection::select_next_protocol, NULL);
Debug("ssl", "apln is enabled");
}

if (sslMultCertSettings.first_cert) {
certpath = Layout::relative_to(params->serverCertPathOnly, sslMultCertSettings.first_cert);
} else {
Expand Down
13 changes: 4 additions & 9 deletions lib/atscppapi/examples/async_http_fetch/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=AsyncHttpFetch.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = AsyncHttpFetch.la
AsyncHttpFetch_la_SOURCES = AsyncHttpFetch.cc
AsyncHttpFetch_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
AsyncHttpFetch_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
13 changes: 4 additions & 9 deletions lib/atscppapi/examples/async_http_fetch_streaming/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=AsyncHttpFetchStreaming.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = AsyncHttpFetchStreaming.la
AsyncHttpFetchStreaming_la_SOURCES = AsyncHttpFetchStreaming.cc
AsyncHttpFetchStreaming_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
AsyncHttpFetchStreaming_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
14 changes: 5 additions & 9 deletions lib/atscppapi/examples/async_timer/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=AsyncTimer.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = AsyncTimer.la
AsyncTimer_la_SOURCES = AsyncTimer.cc
AsyncTimer_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
AsyncTimer_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
15 changes: 6 additions & 9 deletions lib/atscppapi/examples/boom/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=boom.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = boom.la
boom_la_SOURCES = boom.cc
boom_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
boom_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
15 changes: 6 additions & 9 deletions lib/atscppapi/examples/clientredirect/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=ClientRedirect.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = ClientRedirect.la
ClientRedirect_la_SOURCES = ClientRedirect.cc
ClientRedirect_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
ClientRedirect_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
13 changes: 4 additions & 9 deletions lib/atscppapi/examples/clientrequest/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=ClientRequest.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = ClientRequest.la
ClientRequest_la_SOURCES = ClientRequest.cc
ClientRequest_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
ClientRequest_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
14 changes: 5 additions & 9 deletions lib/atscppapi/examples/customresponse/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=CustomResponse.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = CustomResponse.la
CustomResponse_la_SOURCES = CustomResponse.cc
CustomResponse_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
CustomResponse_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
14 changes: 5 additions & 9 deletions lib/atscppapi/examples/globalhook/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=GlobalHookPlugin.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = GlobalHookPlugin.la
GlobalHookPlugin_la_SOURCES = GlobalHookPlugin.cc
GlobalHookPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
GlobalHookPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
13 changes: 4 additions & 9 deletions lib/atscppapi/examples/gzip_transformation/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=GzipTransformationPlugin.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = GzipTransformationPlugin.la
GzipTransformationPlugin_la_SOURCES = GzipTransformationPlugin.cc
GzipTransformationPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
GzipTransformationPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
14 changes: 5 additions & 9 deletions lib/atscppapi/examples/helloworld/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=HelloWorldPlugin.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = HelloWorldPlugin.la
HelloWorldPlugin_la_SOURCES = HelloWorldPlugin.cc
HelloWorldPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
HelloWorldPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
15 changes: 5 additions & 10 deletions lib/atscppapi/examples/intercept/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,12 @@
# 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.
#
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=intercept.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = intercept.la
intercept_la_SOURCES = intercept.cc
intercept_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
intercept_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
14 changes: 5 additions & 9 deletions lib/atscppapi/examples/internal_transaction_handling/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=InternalTransactionHandling.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = InternalTransactionHandling.la
InternalTransactionHandling_la_SOURCES = InternalTransactionHandling.cc
InternalTransactionHandling_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
InternalTransactionHandling_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
13 changes: 4 additions & 9 deletions lib/atscppapi/examples/logger_example/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=LoggerExample.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = LoggerExample.la
LoggerExample_la_SOURCES = LoggerExample.cc
LoggerExample_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
LoggerExample_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
15 changes: 6 additions & 9 deletions lib/atscppapi/examples/multiple_transaction_hooks/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=MultipleTransactionHookPlugins.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = MultipleTransactionHookPlugins.la
MultipleTransactionHookPlugins_la_SOURCES = MultipleTransactionHookPlugins.cc
MultipleTransactionHookPlugins_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
MultipleTransactionHookPlugins_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
14 changes: 5 additions & 9 deletions lib/atscppapi/examples/null_transformation_plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=NullTransformationPlugin.so
pkglibdir = ${pkglibexecdir}

pkglib_LTLIBRARIES = NullTransformationPlugin.la
NullTransformationPlugin_la_SOURCES = NullTransformationPlugin.cc
NullTransformationPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
NullTransformationPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
14 changes: 5 additions & 9 deletions lib/atscppapi/examples/post_buffer/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@
# 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.
AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=PostBuffer.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = PostBuffer.la
PostBuffer_la_SOURCES = PostBuffer.cc
PostBuffer_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
PostBuffer_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
13 changes: 4 additions & 9 deletions lib/atscppapi/examples/remap_plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

AM_CPPFLAGS = -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable
include $(top_srcdir)/build/plugins.mk

AM_CPPFLAGS += -I$(top_srcdir)/lib/atscppapi/src/include -Wno-unused-variable

target=RemapPlugin.so
pkglibdir = ${pkglibexecdir}
pkglib_LTLIBRARIES = RemapPlugin.la
RemapPlugin_la_SOURCES = RemapPlugin.cc
RemapPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_srcdir)/lib/atscppapi/src/ -latscppapi

all:
ln -sf .libs/$(target)

clean-local:
rm -f $(target)
RemapPlugin_la_LDFLAGS = -module -avoid-version -shared -L$(top_builddir)/lib/atscppapi/src/ -latscppapi $(TS_PLUGIN_LDFLAGS)
Loading

0 comments on commit 6d7c7e9

Please sign in to comment.