summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginprocessparent.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2025-03-21 16:04:33 +0800
committerErik Kundiman <erik@megapahit.org>2025-03-21 19:36:44 +0800
commit2fb48eb9be6df00c3baed955fd84f4d8a1ea1d9a (patch)
treeb6ba5ff2c3ebc24477e3c6d701f91672c7499132 /indra/llplugin/llpluginprocessparent.cpp
parent0cdb7d97f67b3a67097e56e71021cb6120ec8a8b (diff)
parent895a6739d3d02e11750e9ada72b730d02998d4c0 (diff)
Merge tag 'Second_Life_Release#895a6739-2025.03' into 2025.03
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.cpp')
-rw-r--r--indra/llplugin/llpluginprocessparent.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp
index 908f3c8ff5..19a0ce639a 100644
--- a/indra/llplugin/llpluginprocessparent.cpp
+++ b/indra/llplugin/llpluginprocessparent.cpp
@@ -400,9 +400,14 @@ void LLPluginProcessParent::idle(void)
apr_sockaddr_t* addr = NULL;
mListenSocket = LLSocket::create(gAPRPoolp, LLSocket::STREAM_TCP);
mBoundPort = 0;
+ if (!mListenSocket)
+ {
+ killSockets();
+ errorState();
+ break;
+ }
// This code is based on parts of LLSocket::create() in lliosocket.cpp.
-
status = apr_sockaddr_info_get(
&addr,
"127.0.0.1",