We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd45be3 commit eddd99cCopy full SHA for eddd99c
eventstream_rpc/source/EventStreamClient.cpp
@@ -321,6 +321,11 @@ namespace Aws
321
{
322
std::promise<RpcError> errorPromise;
323
errorPromise.set_value({baseError, 0});
324
+ if (baseError == EVENT_STREAM_RPC_NULL_PARAMETER)
325
+ {
326
+ const std::lock_guard<std::recursive_mutex> lock(m_stateMutex);
327
+ m_clientState = DISCONNECTED;
328
+ }
329
return errorPromise.get_future();
330
}
331
@@ -353,6 +358,8 @@ namespace Aws
353
358
"A CRT error occurred while attempting to establish the connection: %s",
354
359
Crt::ErrorDebugString(crtError));
355
360
errorPromise.set_value({EVENT_STREAM_RPC_CRT_ERROR, crtError});
361
362
356
363
357
364
365
else
0 commit comments