You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For secure connections where the Client is served over SSL, the message size is slightly greater and the below assert fails.
I replaced the != condition with < so that it fails only when message could not be send in full.
intMqttClient::endMessage()
{
if (!_txStreamPayload) {
if (!publishHeader(_txPayloadBufferIndex) ||
(clientWrite(_txPayloadBuffer, _txPayloadBufferIndex) != _txPayloadBufferIndex)) {
stop();
return0;
}
}
The text was updated successfully, but these errors were encountered:
For secure connections where the
Client
is served over SSL, the message size is slightly greater and the below assert fails.I replaced the
!=
condition with<
so that it fails only when message could not be send in full.The text was updated successfully, but these errors were encountered: