mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 02:24:18 +00:00
Save first byte timestamp for writers too.
This commit is contained in:
parent
4ec181c140
commit
73376e605a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user