aboutsummaryrefslogtreecommitdiffstats
path: root/netlib
diff options
context:
space:
mode:
Diffstat (limited to 'netlib')
-rw-r--r--netlib/tcp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/netlib/tcp.py b/netlib/tcp.py
index a705c95b..c8545d4f 100644
--- a/netlib/tcp.py
+++ b/netlib/tcp.py
@@ -147,6 +147,7 @@ class Writer(_FileLike):
May raise NetLibDisconnect
"""
if v:
+ self.first_byte_timestamp = self.first_byte_timestamp or time.time()
try:
if hasattr(self.o, "sendall"):
self.add_log(v)