[
https://issues.apache.org/jira/browse/TS-3508?focusedWorklogId=27061&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27061
]
ASF GitHub Bot logged work on TS-3508:
--------------------------------------
Author: ASF GitHub Bot
Created on: 24/Aug/16 17:56
Start Date: 24/Aug/16 17:56
Worklog Time Spent: 10m
Work Description: Github user SolidWallOfCode commented on the issue:
https://github.com/apache/trafficserver/pull/909
I see what is being done here but I'm not sure I like defining a global
that is an alternate syscall. I would probably go with having an `accept4`
method in `SocketManager` that is called from the public `accept` and is
conditionally defined as the alternate implementation or an inline call to
`accept4` and depend on the compiler to optimize out the method call.
Issue Time Tracking
-------------------
Worklog Id: (was: 27061)
Time Spent: 2h 20m (was: 2h 10m)
> Use accept4 on linux systems where available to reduce system calls
> -------------------------------------------------------------------
>
> Key: TS-3508
> URL: https://issues.apache.org/jira/browse/TS-3508
> Project: Traffic Server
> Issue Type: Improvement
> Components: Network
> Reporter: John Plevyak
> Assignee: Phil Sorber
> Fix For: 7.0.0
>
> Time Spent: 2h 20m
> Remaining Estimate: 0h
>
> The accept4() syscall can set flags on the accepted socket.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)