mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '3427-tcp-system-test-bump-socket.create_connection-timeout-v9_18' into 'v9_18'
[v9_18] Bump socket.create_connection() timeout to 10 seconds See merge request isc-projects/bind9!6780
This commit is contained in:
commit
bc53176c54
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ def timeout():
|
|||
|
||||
|
||||
def create_socket(host, port):
|
||||
sock = socket.create_connection((host, port), timeout=1)
|
||||
sock = socket.create_connection((host, port), timeout=10)
|
||||
sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, True)
|
||||
return sock
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue