fixed missing version/sequence number header in asynchronous search response
This commit is contained in:
@@ -480,6 +480,9 @@ caStatus casDGClient::asyncSearchResponse ( const caNetAddr & outAddr,
|
||||
return S_cas_sendBlocked;
|
||||
}
|
||||
|
||||
// insert version header at the start of the reply message
|
||||
this->sendVersion ();
|
||||
|
||||
cadg * pRespHdr = reinterpret_cast<cadg *> ( pRaw );
|
||||
stat = this->searchResponse ( msg, retVal );
|
||||
|
||||
@@ -522,6 +525,9 @@ caStatus casDGClient::processDG ()
|
||||
status = S_cas_sendBlocked;
|
||||
break;
|
||||
}
|
||||
|
||||
// insert version header at the start of the reply message
|
||||
this->sendVersion ();
|
||||
|
||||
cadg *pRespHdr = reinterpret_cast <cadg *> (pRaw);
|
||||
|
||||
@@ -543,9 +549,6 @@ caStatus casDGClient::processDG ()
|
||||
this->seqNoOfReq = 0;
|
||||
this->minor_version_number = 0;
|
||||
|
||||
// insert version header at the start of the reply message
|
||||
this->sendVersion ();
|
||||
|
||||
status = this->processMsg ();
|
||||
dgInBytesConsumed = this->in.popCtx ( inctx );
|
||||
if (dgInBytesConsumed>0) {
|
||||
|
||||
Reference in New Issue
Block a user