mirror of
https://github.com/apache/nuttx.git
synced 2026-09-03 15:43:01 +00:00
minidumpserver.py:Improve socket performance of minidumpserver.py
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
bb24fd9108
commit
65ef1f72c1
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue