diff options
author | Andreas Gustafsson <gson@gson.org> | 2018-03-07 23:26:15 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-05-31 21:19:24 +0200 |
commit | 058665b9fe8b00c799b3db5d9202b007fab1c2fb (patch) | |
tree | bae041f69b7c4b8ebaeda80f7b20c989c2b06820 /io/Makefile.objs | |
parent | f18d137542a48150d177031fc6c54786179bf2a3 (diff) |
slirp: disable Nagle in outgoing connections
When setting up an outgoing user mode networking TCP connection,
disable the Nagle algorithm in the host-side connection. Either the
guest is already doing Nagle, in which case there is no point in doing
it twice, or it has chosen to disable it, in which case we should
respect that choice.
This change speeds up GDB remote debugging over TCP over user mode
networking (with GDB runing on the guest) by multiple orders of
magnitude, and has been part of the local patches applied by pkgsrc
since 2012 with no reported ill effects.
Signed-off-by: Andreas Gustafsson <gson@gson.org>
Reviewed-by: Kamil Rytarowski <n54@gmx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'io/Makefile.objs')
0 files changed, 0 insertions, 0 deletions