HTTP¶
Keep-alive¶
Keep-alive incoming connections.
proxy.config.http.keep_alive_enabled_in
Set to
1
: Test if client re-uses the TCP connection to Traffic Server for new HTTP transactions.Set to
0
: Test if client opens new TCP connections to Traffic Server for new HTTP transactions.Keep-alive outgoing connections.
proxy.config.http.keep_alive_enabled_out
Set to
1
: Test if Traffic Server re-uses the TCP connection to origin server for new HTTP transactions.Set to
0
: Test if Traffic Server opens new TCP connections to origin server for new HTTP transactions.Keep-alive connections for POST requests.
proxy.config.http.keep_alive_post_out
Set to
1
: Test if Traffic Server re-uses the TCP connection for new POST requests.Set to
0
: Test if Traffic Server opens new TCP connections for new POST requests.
Done: test_keepalive, test_keepalive2
Connection Timeouts¶
Keep-alive connection timeout.
proxy.config.http.keep_alive_no_activity_timeout_in proxy.config.http.keep_alive_no_activity_timeout_out
Test if Traffic Server closes TCP connection to client after
N
seconds since completing last HTTP transaction.Test if Traffic Server closes TCP connection to origin server after
N
seconds since completing last HTTP transaction.No activity transacion timeout.
proxy.config.http.transaction_no_activity_timeout_in proxy.config.http.transaction_no_activity_timeout_out
Test if Traffic Server keeps connection to client for
N
seconds when a transaction stalls.Test if Traffic Server keeps connection to origin server for
N
seconds when a transaction stalls.Active transaction timeout.
proxy.config.http.transaction_active_timeout_in proxy.config.http.transaction_active_timeout_out
Test if Traffic Server keeps connection to client for
N
seconds, then close the connection even if the transfer to client is not complete.Test if Traffic Server keeps connection to origin server for
N
seconds, then close the connection even if the transfer to origin server is not complete.No activity connection timeout.
proxy.config.http.accept_no_activity_timeout
Set to
N
: Test if Traffic Server closes a connection that has no activity afterN
seconds.Active background fill timeout.
proxy.config.http.background_fill_active_timeout
Set to
N
: Test if Traffic Server keeps a background fill forN
seconds before giving up and dropping the origin server connection.Background fill completed threshold.
proxy.config.http.background_fill_completed_threshold
Set to
0.x
: Test the proportion of total document size already transferred when a client aborts at which the proxy continues fetching the document from the origin server to get it into the cache (a background fill).
Done: test_timeouts
Origin Server Connect Attempts¶
Connect attempts timeout.
proxy.config.http.connect_attempts_timeout
Set to
N
: Test if Traffic Server attemps to connect to origin server forN
seconds before receive the first byte.Connect attempts timeout for POST/PUT requests.
proxy.config.http.post_connect_attempts_timeout
Set to
N
: Test if Traffic Server attemps to connect to origin server forN
seconds before receive the first byte, when the client requests is aPOST
orPUT
request.Maximum number of connection retries.
proxy.config.http.connect_attempts_max_retries
Set to
N
: Test if Traffic Server retriesN
times, before the origin is marked dead.Maximum number of connection retries to dead server.
proxy.config.http.connect_attempts_max_retries_dead_server
Set to
N
: Test if Traffic Server retriesN
times, after the origin is marked dead.Maximum number of origin server connections.
proxy.config.http.server_max_connections
Set to
N
: Test if Traffic Server limits the number of socket connections across all origin servers toN
.Minimum number of origin server keep-alive connections.
proxy.config.http.origin_min_keep_alive_connections
Set to
N
: Test if Traffic Server keeps at leastN
connections open to origin server when connection is opened.Maximum number of connection attempts with round-robin.
proxy.config.http.connect_attempts_rr_retries
Set to
N
: Test if Traffic Server retriesN
times before a round-robin entry is marked as ‘down’, if a server has round-robin DNS entries.Server down cache time.
proxy.config.http.down_server.cache_time
Set to
N
: Test if Traffic Server remembers an origin server as unreachable forN
seconds.Server down abort threshold.
proxy.config.http.down_server.abort_threshold
Set to
N
: Test that, after a client abandons a request because an origin server was too slow in sending the response header, if Traffic Server marks that origin server as unavailable afterN
seconds.
Done: test_connect_attempts
100 Continue Response¶
proxy.config.http.send_100_continue_response
Set to 0
: Test if Traffic Server buffers the request until the post body has been received and then send the request to origin.
Set to 1
: Test if Traffic Server immediately returns a 100 Continue
response when receiving a POST
request with Expect: 100-continue
header, without waiting for the post body.
408 Post Timeout Response¶
proxy.config.http.send_408_post_timeout_response
Set to 1
: Test if Traffic Server sends a 408 Request Timeout
response when a POST
request timeout happens.
Redirection¶
proxy.config.http.redirection_enabled
proxy.config.http.number_of_redirections
Set proxy.config.http.redirection_enabled
to 1
, proxy.config.http.number_of_redirections
to N
: Test if Traffic Server do the redirecion for client, with a limit number of N-1
.
Server Session¶
proxy.config.http.share_server_sessions
proxy.config.http.server_session_sharing.match
proxy.config.http.server_session_sharing.pool
proxy.config.http.attach_server_session_to_client
...
Headers¶
Via
proxy.config.http.insert_request_via_str proxy.config.http.insert_response_via_str
Set to
0
-4
: Test ifvia
header shows up with configurated verbosity in request or response.Server
proxy.config.http.response_server_enabled proxy.config.http.response_server_str
Set to
0
: Test if Traffic Server sends response without aServer
header.Set to
1
-2
: Test if Traffic Server adds aServer
header in response.Age
proxy.config.http.insert_age_in_response
Set to
0
: Test if Traffic Server sends response without anAge
header.Set to
1
: Test if Traffic Server sends response with anAge
header.From
proxy.config.http.anonymize_remove_from
Set to
1
: Test if Traffic Server removes thefrom
header.Referrer
proxy.config.http.anonymize_remove_referer
Set to
1
: Test if Traffic Server removes thereferrer
header.User-agent
proxy.config.http.anonymize_remove_user_agent
Set to
1
: Test if Traffic Server removes theUser-agent
header.Cookie
proxy.config.http.anonymize_remove_cookie
Set to
1
: Test if Traffic Server removes theCookie
header.Client-IP
proxy.config.http.anonymize_remove_client_ip
Set to
1
: Test if Traffic Server removes theClient-IP
header.X-Forwarded-For
proxy.config.http.insert_squid_x_forwarded_for
Set to
1
: Test if Traffic Server adds the client IP address to theX-Forwarded-For
header.Accept-Encoding
proxy.config.http.normalize_ae_gzip
Set to
1
: Test if Traffic Server normalizes allAccept-Encoding
headers.Others
proxy.config.http.anonymize_other_header_list
Set to
header1;header2;...
: Test if Traffic Server removes these comma separated list of headers from outgoing requests.
Domain Expansion¶
proxy.config.http.enable_url_expandomatic
Set to 1
: Test if Traffic Server does domain expansion, which resolves unqualified hostnames by prepending with www.
and appending with .com
before redirecting to the expanded address.
Chunked Response¶
proxy.config.http.chunking_enabled
Set to 0
- 3
: Test if Traffic Server can generate a chunked response.
Done: test_chunked
HTTP 1.1 Requests¶
proxy.config.http.send_http11_requests
Set to 0
- 3
: Test if Traffic Server uses HTTP/1.1 to communicate with the origin server.
Use Client Tartget Address¶
proxy.config.http.use_client_target_addr
Set to 1
: Test if Traffic Server uses the same origin server address as the client in fully transparent ports.