minidumpserver.py:Improve socket performance of minidumpserver.py
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
bb24fd9108
commit
65ef1f72c1
|
@ -820,7 +820,7 @@ def main(args):
|
|||
|
||||
# Reuse address so we don't have to wait for socket to be
|
||||
# close before we can bind to the port again
|
||||
gdbserver.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
gdbserver.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
|
||||
|
||||
try:
|
||||
gdbserver.bind(("", args.port))
|
||||
|
|
Loading…
Reference in New Issue