1. 可以在服务运行中动态require socket

2. 添加方法skynet.retpack/skynet.dispatch_unknown_request
3. skynet.filter透传参数
This commit is contained in:
xjdrew
2014-04-21 17:50:04 +08:00
parent c577a4f07d
commit c081816f06
2 changed files with 19 additions and 5 deletions

View File

@@ -491,7 +491,7 @@ luaopen_socketdriver(lua_State *L) {
if (lua == NULL || lua->ctx == NULL) {
return luaL_error(L, "Init skynet context first");
}
assert(lua->L == L);
// assert(lua->L == L);
lua_pop(L,1);
lua_pushlightuserdata(L, lua->ctx);