base: Flip the default for ListenSocket::accept(bool nodelay).
This option was almost always overridden from false to true anyway, except in one place (in the ethertap device) which was likely just by accident. This will give external users a chance to remove the option without changing behavior, so that the option can be removed entirely in a later change. Change-Id: I77add40b8131b91997b2aecbfff6c7de0ee9ead9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/69157 Reviewed-by: Yu-hsin Wang <yuhsingw@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -104,7 +104,7 @@ class ListenSocket
|
||||
ListenSocket();
|
||||
virtual ~ListenSocket();
|
||||
|
||||
virtual int accept(bool nodelay = false);
|
||||
virtual int accept(bool nodelay = true);
|
||||
|
||||
virtual bool listen(int port, bool reuse = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user