fix for UDP search port going deaf
This commit is contained in:
1 parent
67a8bb8bed
commit
f6962ba874
1 file changed
+9
-1
@@ -662,10 +662,18 @@ caStatus casDGClient::processDG ()
|
||||
}
|
||||
}
|
||||
|
||||
if ( status != S_cas_success ) {
|
||||
if ( status == S_cas_sendBlocked ) {
|
||||
break;
|
||||
}
|
||||
|
||||
if ( status != S_cas_success ) {
|
||||
char pHostName[64u];
|
||||
this->hostName ( pHostName, sizeof ( pHostName ) );
|
||||
errPrintf ( status, __FILE__, __LINE__,
|
||||
"Bad UDP message from client \"%s\"", pHostName );
|
||||
status = S_cas_success;
|
||||
}
|
||||
|
||||
if ( this->in.bytesPresent () > 0 && dgInBytesConsumed == 0 ) {
|
||||
this->in.removeMsg ( this->in.bytesPresent() );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user