File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -176,8 +176,7 @@ async def recv(self):
176176 _LOGGER .debug ("Starting copy from target to clients" )
177177 while not self .target_reader .at_eof ():
178178 # Read header from the target server
179- async with asyncio .timeout (3 ):
180- data = await self .target_reader .read (9 )
179+ data = await self .target_reader .read (9 )
181180
182181 # Check if we have enough data for the header
183182 if len (data ) < 9 :
@@ -204,8 +203,7 @@ async def recv(self):
204203 continue
205204
206205 # Read payload from the target server
207- async with asyncio .timeout (3 ):
208- data = await self .target_reader .read (payload_length )
206+ data = await self .target_reader .read (payload_length )
209207
210208 # Check if we have enough data for the payload
211209 if len (data ) < payload_length :
You can’t perform that action at this time.
0 commit comments