[ 
https://issues.apache.org/jira/browse/TS-3508?focusedWorklogId=27056&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27056
 ]

ASF GitHub Bot logged work on TS-3508:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Aug/16 17:45
            Start Date: 24/Aug/16 17:45
    Worklog Time Spent: 10m 
      Work Description: Github user SolidWallOfCode commented on a diff in the 
pull request:

    https://github.com/apache/trafficserver/pull/909#discussion_r76104710
  
    --- Diff: iocore/eventsystem/P_UnixSocketManager.h ---
    @@ -55,21 +55,52 @@ transient_error()
       return transient;
     }
     
    +#if !HAVE_ACCEPT4
    +int
    +accept4(int sockfd, struct sockaddr *addr, socklen_t *addrlen, int flags)
    +{
    +  int fd, err;
    --- End diff --
    
    Maybe use `ats_scoped_fd` here, makes clean up a bit simpler.


Issue Time Tracking
-------------------

    Worklog Id:     (was: 27056)
    Time Spent: 1h 50m  (was: 1h 40m)

> 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: 1h 50m
>  Remaining Estimate: 0h
>
> The accept4() syscall can set flags on the accepted socket.



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

Reply via email to