Save first byte timestamp for writers too.

This commit is contained in:
Aldo Cortesi 2015-05-31 16:54:14 +12:00
parent 4ec181c140
commit 73376e605a

View File

@ -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)