forked from trafficserver-doc-ja/trafficserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into quic-latest
* master: Get rid of code for OpenSSL that has old QUIC API (apache#7599) Fixed warning in gcc 11 about array not being initalized (apache#7840) Don't call next next dup on destroyed mime field mloc. (apache#7833) build_h3_tools: use OpenSSL_1_1_1k+quic (apache#7836) Address assert on captive_action (apache#7807) Fix so EOS are delivered to sessions in the pool (apache#7828) Fix a format specifier for size_t (apache#7830) Fix stall on sending response for request with trailer header (apache#7831) Simplification dir_init_done (apache#7817) Remove unused member from HttpSM (apache#7835) AuTest: use exteneded help output to determin curl feature support (apache#7834) Apply fmt compile time argument checking to log functions (apache#7829) Adds new X-Cache-Info header to the xdebug plugin (apache#7784) Cleanup: Remove unused members of Http2Stream (apache#7813) Cleanup: unused functions of Http2ClientSession (apache#7812) Cancel cross_thread_event on clear_io_events (apache#7815) Cleanup: Remove a meaningless Http2Stream::do_io_close() call (apache#7814) Eliminate next dup call using stale mime field mloc is s3_auth plugin. (apache#7825) NetEvent cleanup - replace #define with constexpr (apache#7804) fix origin session related crashes (apache#7808) Update HTTP version info in HostDB on new outbound connection (apache#7816) Remove a redundant argument (apache#7811) SSL Cert lookup using PP dest ip when ProxyProtocol is enabled (apache#7802) Fix MLoc assert caused by s3auth (apache#7790) Fix cpu utilization problem in session cache (apache#7719) Fix to cookie_remap.cc tp avoid Intel compiler warning. (apache#7792) TSHttpTxnCacheDiskPathGet - tighten up the code a bit. (apache#7806) Doc: tcpinfo plugin table formatting (apache#7805) fix DNS spike issue for TCP_RETRY mode (apache#7307) Adds new TS API TSHttpTxnCacheDiskPathGet (apache#7783) tests: Fixes spelling (apache#7789) Traffic Dump: Add an HTTP/3 AuTest (apache#7758) use sendmsg and recvmsg (apache#7793) HTTP: clean up the http_hdr_describe format error (apache#7797) Fixes an issue where next hop unit tests crash when run on macOS. (apache#7787) Apply log throttling to HTTP/2 session error rate messages (apache#7772) Cleans up uninitialized warning in LogMessage.cc (apache#7788) Short circuit remap reload when a valid remap file is not specified (apache#7782) DNS: Clean up argument passing to DNS queries. (apache#7778) Remove extra verify-callback (apache#7540) Augment test cases for tls_verify_override test (apache#7736) Make when_to_revalidate setting available on HTTPS (apache#7753) Add traffic_server command line option for debugging in Au test. (apache#7762) Test: Update tls_partial_blind_tunnel to have a nameserver. (apache#7773) Test: update tls_forward_nonhttp to have a nameserver. (apache#7774) Test: add nameserver to log-filter test. (apache#7776) BWF: Add support for std::error_code. (apache#7777) Test: add nameserver to log-field test. (apache#7779) Test: add nameserver to regex_remap test. (apache#7775) Elevate privileges for traffic_manager during SSL cert reload (apache#7770) Clean up HTTP version processing (apache#7766) Remove proxy.config.http.down_server.abort_threshold (apache#7748) Remove undocumented keepalive_internal_vc setting (apache#7693) doc: header_rewrite random function not inclusive (apache#7760) Experimental Cache fill plugin (apache#7470) Remove references to removed options (apache#7756) Propagate TLS errors (apache#7714) AuTest extension: check for unrecognized configurations (apache#7752) Fixes errors in the strategies.yaml documentation. (apache#7745) Updates to Nexthop strategies to limit the number of simultaneous (apache#7744) Fixes Issue apache#7739 - Next hop strategy with bad 'to' URL causes TS crash. (apache#7749) header_rewrite: Various fixes for MaxMind support (apache#7746) Remove unused variable is_revalidation_necessary (apache#7747) Fix simple remapping in regex_remap plugin. (apache#7718) Adding DNS TTL AuTests. (apache#7742) Add a chunked disabled test. (apache#7743) Fix monitor threads in lib records to exit on system shutdown. (apache#7731) Add overload for memcpy to take a destination buffer and source string_view / TextView (apache#7732) Test: Add nameserver to TLS tunnel forward test. (apache#7733) AIO_NOT_IN_PROGRESS should not be 0 (apache#7734) if transaction status non-success, bypass intercept plugin (apache#7724) ink_utf8_to_latin1 is not defined, removing declaration (apache#7737) Fix build on FreeBSD 13 (apache#7730) Update VSCode CPP Standard (apache#7723) Updating to use Proxy Verifier 2.2.0 (apache#7729) header_rewrite: Allow for relative path to geo database files (apache#7727) Override proxy.config.ssl.client.sni_policy from sni.yaml (apache#7703) compress.test.py: Reference config file from Test.RunDirectory (apache#7725) Ran clang-tidy over the code (apache#7708) Deny unknown transfer encoding values (apache#7694) Fix doc for http2.no_activity_timeout_in (apache#7721) Add DynamicStats (apache#7704) header_rewrite: allow for use of maxminddb as source of geo truth (apache#7695) Include in parentselectdefs.h in install target (apache#7713) uri_signing: fix warning which affects ubuntu:20.04 builds (apache#7717) Increase the maximum slice block size from 32MB to 128MB (apache#7709)
- Loading branch information
Showing
251 changed files
with
4,257 additions
and
1,951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
.. 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. | ||
.. _admin-plugins-cache-fill.so: | ||
.. include:: /common.defs | ||
|
||
Cache Fill Plugin | ||
*********************** | ||
|
||
The speed of the response served from the cache depends on the cache speed and the client filling the object. | ||
This dependency could significantly impact all the clients requesting the object. | ||
This plugin tries to eliminate the dependence by making the original request spawn a background request to fill the cache. | ||
The initial version of this plugin relays the initial request to the origin server instead of waiting for the background request to start filling the cache as there is no easier way to find the wait time. | ||
This plugin doesn't provide any improvement for smaller objects but could also degrade the performance as two outgoing requests for every cache update. | ||
|
||
|
||
Using the plugin | ||
---------------- | ||
|
||
This plugin functions as a per remap plugin. | ||
|
||
To activate the plugin, in :file:`remap.config`, simply append the | ||
below to the specific remap line:: | ||
|
||
@plugin=cache_fill.so @pparam=<config-file> | ||
|
||
Functionality | ||
------------- | ||
|
||
Plugin decides to trigger a background fetch of the original (Client) request if the request/response is cacheable and cache status is TS_CACHE_LOOKUP_MISS/TS_CACHE_LOOKUP_HIT_STALE. | ||
|
||
Future additions | ||
---------------- | ||
|
||
* Fetching the original request from the cache. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.