Copy the protocol name and adjust the kill code in asyncprotocol
This commit is contained in:
@@ -45,7 +45,7 @@ struct __async_txn {
|
||||
int inp_idx; /**< index of next character (number already received) */
|
||||
AsyncTxnHandler handleResponse; /**< Txn response handler of command sender */
|
||||
void *proto_private; /**< Protocol Private structure */
|
||||
void (*kill_private) (struct __async_txn *pTxn); /**< if it needs killing */
|
||||
void (*kill_private) (pAsyncTxn pTxn); /**< if it needs killing */
|
||||
void *cntx; /**< opaque context used by command sender */
|
||||
/* The cntx field may be used by protocol handler from sendCommand
|
||||
* as long as it is restored when response is complete
|
||||
|
||||
Reference in New Issue
Block a user