You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2016/03/19 02:45:33 UTC
[jira] [Comment Edited] (TS-4277) Add option to close the client
and server connection after a number of requests
[ https://issues.apache.org/jira/browse/TS-4277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15202487#comment-15202487 ]
Leif Hedstrom edited comment on TS-4277 at 3/19/16 1:45 AM:
------------------------------------------------------------
Fwiw, this is why we added cond %{TXN-COUNT} to header_rewrite. E.g. you do
{code}
cond %{TXN-COUNT} >100
set-header Connection close
{code}
It'd also be easy / trivial to add such functionality to another plugin, since we added the API for this: TSHttpSsnTransactionCount().
was (Author: zwoop):
Fwiw, this is why we added cond %{TXN-COUNT} to header_rewrite. E.g. you do
{code}
cond %{TXN-COUNT} >100
set-header Connection close
{code}
It'd also be easy / trivial to add such functionality to another plugin, since we added the API for this: TSHttpSsnTransactionCount().
> Add option to close the client and server connection after a number of requests
> -------------------------------------------------------------------------------
>
> Key: TS-4277
> URL: https://issues.apache.org/jira/browse/TS-4277
> Project: Traffic Server
> Issue Type: Improvement
> Components: HTTP, HTTP/2
> Reporter: Bryan Call
> Fix For: sometime
>
>
> Add a configuration option to set the number of requests that can be made on a connection before it is closed.
> This feature is needed when we fail out a set of servers and the connections are still being used for a long period of time.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)