[
https://issues.apache.org/jira/browse/TS-4779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Phil Sorber reassigned TS-4779:
-------------------------------
Assignee: Phil Sorber
> Remove SET_CLOSE_ON_EXEC #ifdef's from socket code.
> ---------------------------------------------------
>
> Key: TS-4779
> URL: https://issues.apache.org/jira/browse/TS-4779
> Project: Traffic Server
> Issue Type: Task
> Components: Network
> Reporter: Phil Sorber
> Assignee: Phil Sorber
> Fix For: 7.0.0
>
>
> This appears to be set nowhere, and so effectively disables CLOEXEC.
> [[email protected]] suggests we remove just the #ifdef's and thereby enable
> CLOEXEC. I agree with this approach, but it is a change in behavior.
> {noformat}
> $ grep -ir CLOSE_ON_EXEC
> iocore/net/UnixConnection.cc:#ifdef SET_CLOSE_ON_EXEC
> iocore/net/UnixConnection.cc:#ifdef SET_CLOSE_ON_EXEC
> iocore/net/Connection.cc:#ifdef SET_CLOSE_ON_EXEC
> iocore/net/Connection.cc:#ifdef SET_CLOSE_ON_EXEC
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)