mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
rewrite watchdog/agent, use new gate
This commit is contained in:
@@ -22,7 +22,6 @@ _cb(struct skynet_context * context, void * ud, int type, int session, uint32_t
|
||||
if (type == PTYPE_RESPONSE) {
|
||||
// todo: response to client with session, session may be packed into package
|
||||
} else {
|
||||
printf("client %d\n",type);
|
||||
assert(type == PTYPE_TEXT);
|
||||
// todo: support other protocol
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user