summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Kittenbrink <brad@lindenlab.com>2019-05-01 15:28:55 -0700
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 18:39:21 -0400
commit6ffbed484ac9bc8358db44b420a3d598d14b72ac (patch)
tree9b0fc544ecdde5fa29c524090b8025bb27db5aa1
parent6419c6e279816b21e30fef1a6ac4864df7fcf91d (diff)
Fix stall during login by yielding when needed from the LLXXMLRPCListener's Poller.
-rw-r--r--indra/newview/llxmlrpclistener.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llxmlrpclistener.cpp b/indra/newview/llxmlrpclistener.cpp
index 7bc8af4a0b..5871161032 100644
--- a/indra/newview/llxmlrpclistener.cpp
+++ b/indra/newview/llxmlrpclistener.cpp
@@ -43,6 +43,7 @@
// other Linden headers
#include "llerror.h"
+#include "lleventcoro.h"
#include "stringize.h"
#include "llxmlrpctransaction.h"
#include "llsecapi.h"
@@ -401,6 +402,8 @@ public:
// whether successful or not, send reply on requested LLEventPump
replyPump.post(data);
+ // need to wake up the loginCoro now
+ llcoro::suspend();
// Because mTransaction is a boost::scoped_ptr, deleting this object
// frees our LLXMLRPCTransaction object.