send server's minor version to client during connect sequence
This commit is contained in:
1 parent
9b876d82dd
commit
15a9e07ab2
1 file changed
+14
@@ -55,6 +55,20 @@ void camsgtask ( struct client *client )
|
||||
|
||||
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 ) {
|
||||
LOCK_CLIENTQ;
|
||||
ellDelete ( &clientQ, &client->node );
|
||||
UNLOCK_CLIENTQ;
|
||||
destroy_tcp_client ( client );
|
||||
return;
|
||||
}
|
||||
cas_send_msg ( client, TRUE );
|
||||
|
||||
while ( TRUE ) {
|
||||
client->recv.stk = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user