rsrv: drop un-commited VERSION message

This is a no-op as cas_commit_msg() isn't called.
A VERSION message is already queued during create_tcp_client().
This commit is contained in:
Michael Davidsaver
2017-07-31 12:29:03 +02:00
parent 322f7a97de
commit 1f8cb740f1

View File

@@ -46,19 +46,6 @@ void camsgtask ( void *pParm )
casAttachThreadToClient ( client );
/*
* send the server's minor version number to the client
*/
status = cas_copy_in_header ( client, CA_PROTO_VERSION, 0,
0, CA_MINOR_PROTOCOL_REVISION, 0, 0, 0 );
if ( status != ECA_NORMAL ) {
LOCK_CLIENTQ;
ellDelete ( &clientQ, &client->node );
UNLOCK_CLIENTQ;
destroy_tcp_client ( client );
return;
}
while (castcp_ctl == ctlRun && !client->disconnect) {
/*