File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed
Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -68,8 +68,6 @@ def __init__(
6868 our_role = h11 .CLIENT ,
6969 max_incomplete_event_size = self .MAX_INCOMPLETE_EVENT_SIZE ,
7070 )
71- # Assuming we were just connected
72- self ._network_stream_used_at = time .monotonic ()
7371
7472 async def handle_async_request (self , request : Request ) -> Response :
7573 if not self .can_handle_request (request .url .origin ):
@@ -185,7 +183,6 @@ async def _send_event(
185183 bytes_to_send = self ._h11_state .send (event )
186184 if bytes_to_send is not None :
187185 await self ._network_stream .write (bytes_to_send , timeout = timeout )
188- self ._network_stream_used_at = time .monotonic ()
189186
190187 # Receiving the response...
191188
@@ -237,7 +234,6 @@ async def _receive_event(
237234 data = await self ._network_stream .read (
238235 self .READ_NUM_BYTES , timeout = timeout
239236 )
240- self ._network_stream_used_at = time .monotonic ()
241237
242238 # If we feed this case through h11 we'll raise an exception like:
243239 #
Original file line number Diff line number Diff line change @@ -68,8 +68,6 @@ def __init__(
6868 our_role = h11 .CLIENT ,
6969 max_incomplete_event_size = self .MAX_INCOMPLETE_EVENT_SIZE ,
7070 )
71- # Assuming we were just connected
72- self ._network_stream_used_at = time .monotonic ()
7371
7472 def handle_request (self , request : Request ) -> Response :
7573 if not self .can_handle_request (request .url .origin ):
@@ -185,7 +183,6 @@ def _send_event(
185183 bytes_to_send = self ._h11_state .send (event )
186184 if bytes_to_send is not None :
187185 self ._network_stream .write (bytes_to_send , timeout = timeout )
188- self ._network_stream_used_at = time .monotonic ()
189186
190187 # Receiving the response...
191188
@@ -237,7 +234,6 @@ def _receive_event(
237234 data = self ._network_stream .read (
238235 self .READ_NUM_BYTES , timeout = timeout
239236 )
240- self ._network_stream_used_at = time .monotonic ()
241237
242238 # If we feed this case through h11 we'll raise an exception like:
243239 #
You can’t perform that action at this time.
0 commit comments