Skip to content

Commit

Permalink
Update server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gnh1201 authored Feb 17, 2024
1 parent 288ae6b commit 24a4881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def proxy_server(webserver, port, scheme, method, url, conn, addr, data):

# Wait to see if there is more data to transmit
if len(data) == buffer_size:
conn.settimeout(5)
conn.settimeout(1)
while True:
try:
chunk = conn.recv(buffer_size)
Expand Down

0 comments on commit 24a4881

Please sign in to comment.