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

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_r76104639
  
    --- Diff: iocore/eventsystem/I_SocketManager.h ---
    @@ -102,7 +110,7 @@ struct SocketManager {
       int dup(int s);
     
       // result is the fd or -errno
    -  int accept(int s, struct sockaddr *addr, socklen_t *addrlen);
    +  int accept4(int s, struct sockaddr *addr, socklen_t *addrlen, int flags 
= 0);
    --- End diff --
    
    I'd leave this as `accept`, no need to drag in external naming conventions.


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

    Worklog Id:     (was: 27055)
    Time Spent: 1h 40m  (was: 1.5h)

> 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 40m
>  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