[Lldb-commits] [lldb] [lldb] Add timeout argument to Socket::Accept (PR #117691)
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 26 01:44:16 PST 2024
================
@@ -543,7 +543,7 @@ lldb::ConnectionStatus ConnectionFileDescriptor::AcceptSocket(
if (!error.Fail()) {
post_listen_callback(*listening_socket);
- error = listening_socket->Accept(accepted_socket);
+ error = listening_socket->Accept(/*timeout=*/std::nullopt, accepted_socket);
----------------
labath wrote:
@tedwoodward I think this is the timeout you want to reduce. I'm leaving it up to you to figure out how to do that (whether to use a fixed value, setting, whatever...).
https://github.com/llvm/llvm-project/pull/117691
More information about the lldb-commits
mailing list