fixed a bug (was not closing connection on error).

This commit is contained in:
Martin Preuss
2025-10-25 16:37:11 +02:00
parent c32be5cd38
commit 617c8551dc

View File

@@ -313,6 +313,7 @@ int _fillRingbuffer(AQH_OBJECT *o, AQH_MSG_READER *xo, AQH_OBJECT *fdObject)
if (rv<0) {
if (rv!=GWEN_ERROR_TRY_AGAIN) {
DBG_INFO(AQH_LOGDOMAIN, "here (%d)", rv);
AQH_Object_EmitSignal(o, AQH_MSG_READER_SIGNAL_CLOSED, 0, NULL);
}
return rv;
}