]> git.proxmox.com Git - mirror_qemu.git/commit
gdbstub: call socket_set_fast_reuse instead of setting SO_REUSEADDR
authorSebastian Ottlik <ottlik@fzi.de>
Wed, 2 Oct 2013 10:23:13 +0000 (12:23 +0200)
committerStefan Weil <sw@weilnetz.de>
Wed, 2 Oct 2013 17:20:31 +0000 (19:20 +0200)
commit6669ca13c39a8515cc634695698d3dea5f39be1c
tree75c0bca63a7d32bee3cc051a2e11f388f573dd97
parent606600a176c981addcfedb0698f13fd0f2f4446e
gdbstub: call socket_set_fast_reuse instead of setting SO_REUSEADDR

SO_REUSEADDR should be avoided on Windows but is desired on other operating
systems. So instead of setting it we call socket_set_fast_reuse that will result
in the appropriate behaviour on all operating systems.

Signed-off-by: Sebastian Ottlik <ottlik@fzi.de>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
gdbstub.c