[
https://issues.apache.org/jira/browse/TS-3508?focusedWorklogId=27224&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27224
]
ASF GitHub Bot logged work on TS-3508:
--------------------------------------
Author: ASF GitHub Bot
Created on: 26/Aug/16 15:21
Start Date: 26/Aug/16 15:21
Worklog Time Spent: 10m
Work Description: Github user PSUdaemon commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/909#discussion_r76436860
--- Diff: iocore/eventsystem/I_SocketManager.h ---
@@ -37,6 +37,14 @@
#include "I_EventSystem.h"
#include "I_Thread.h"
+#ifndef SOCK_NONBLOCK
+#define SOCK_NONBLOCK O_NONBLOCK
+#endif
+
+#ifndef SOCK_CLOEXEC
+#define SOCK_CLOEXEC O_CLOEXEC
--- End diff --
Also have evidence that it exists on 10.9.5.
Issue Time Tracking
-------------------
Worklog Id: (was: 27224)
Time Spent: 3h 40m (was: 3.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: 3h 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)