You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "kang li (JIRA)" <ji...@apache.org> on 2014/10/10 11:04:33 UTC

[jira] [Commented] (TS-3119) Add option to support SO_LINGER to origin server

    [ https://issues.apache.org/jira/browse/TS-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166573#comment-14166573 ] 

kang li commented on TS-3119:
-----------------------------

We merging this patch I noticed that we do not need set linger_timeout as ATS are using non-blocking socket. 

Would it be better just add a new tag in sockopt_flags ?
{code}
static unit32_t const SOCK_OPT_LINGER_OUT = 4;
{code}

This would make the code more clean.

> Add option to support SO_LINGER to origin server
> ------------------------------------------------
>
>                 Key: TS-3119
>                 URL: https://issues.apache.org/jira/browse/TS-3119
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Network
>            Reporter: kang li
>             Fix For: 5.2.0
>
>         Attachments: linger.diff
>
>
> When install ATS and apache in the same box to do SSL termination. We saw port exhaustion, performance drop and request missing through ATS. 
> Before migration we are using stunnel to do SSL termination. There were no such problem. After investigation we found add SO_LINGER option to origin could resolve these problem. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)