api: allow specifying no timeout
This functionality is used in make test when DEBUG=gdb is used.
Type: fix
@@ -23,7 +23,7 @@ class VppTransport:
def __init__(self, parent, read_timeout, server_address):
self.connected = False
- self.read_timeout = read_timeout if read_timeout > 0 else 1
+ self.read_timeout = read_timeout if read_timeout > 0 else None
self.parent = parent
self.server_address = server_address
self.header = struct.Struct('>QII')
