[
https://issues.apache.org/jira/browse/TS-3508?focusedWorklogId=27222&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-27222
]
ASF GitHub Bot logged work on TS-3508:
--------------------------------------
Author: ASF GitHub Bot
Created on: 26/Aug/16 15:15
Start Date: 26/Aug/16 15:15
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_r76435818
--- 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 --
🐼
That is specified in POSIX.1-2008. This is why we can't have nice things...
Issue Time Tracking
-------------------
Worklog Id: (was: 27222)
Time Spent: 3h 20m (was: 3h 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: 3h 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)