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

kang li edited comment on TS-3119 at 10/10/14 9:03 AM:
-------------------------------------------------------

When 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.


was (Author: kang li):
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)

Reply via email to