summaryrefslogtreecommitdiff
path: root/src/conn-tools/s6-tcpserver-access.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 11:26:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-04 11:26:52 +0000
commit9c5b811d182f77b67a0bb5cd5f4a33774304e1d4 (patch)
tree6a2a681054a1946d9f29ff079da54049ba9210d7 /src/conn-tools/s6-tcpserver-access.c
parent649b8640a34261574a774020dbfb5ed419170de3 (diff)
downloads6-networking-9c5b811d182f77b67a0bb5cd5f4a33774304e1d4.tar.xz
Use stopwatches and wallclocks where appropriate
Diffstat (limited to 'src/conn-tools/s6-tcpserver-access.c')
-rw-r--r--src/conn-tools/s6-tcpserver-access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conn-tools/s6-tcpserver-access.c b/src/conn-tools/s6-tcpserver-access.c
index 80360e5..9b58b69 100644
--- a/src/conn-tools/s6-tcpserver-access.c
+++ b/src/conn-tools/s6-tcpserver-access.c
@@ -133,6 +133,7 @@ int main (int argc, char const *const *argv, char const *const *envp)
if (socket_tcpnodelay(1) < 0)
if (verbosity) strerr_warnwu1sys("socket_tcpnodelay") ;
}
+ tain_now_set_stopwatch() ;
tain_now_g() ;
tain_add_g(&deadline, &tto) ;
if (!buffer_timed_flush_g(buffer_1small, &deadline))