Cloud Wu
1f22216d7c
fix #1188
2020-05-12 11:58:34 +08:00
Cloud Wu
6addb504e4
fix #1012
2019-05-15 10:49:19 +08:00
Hanlei Qin
d23e6f8d8e
1. remove unused code; 2. weird indents fixed.
2018-09-20 00:31:14 +08:00
Hanlei Qin
f217a56f6e
Uniform indent to tab and clear up.
2018-09-20 00:29:19 +08:00
Cloud Wu
f9f009a4c1
add prefix skynet to c module
2017-06-01 11:56:16 +08:00
Cloud Wu
8a6243d2a0
rename socket to skynet.socket
2017-06-01 10:51:02 +08:00
Stocom
cce8f0086a
optimize SOCKET_WARNING msg
2017-04-28 10:49:30 +08:00
云风
521a387271
Merge pull request #573 from hqwrong/pr
...
improve snax
2017-02-10 11:43:37 +08:00
hqwrong
f25e396181
1. snax hotfix recursively patch func
...
2. load hotfix source with _ENV instead of empty table
2017-02-10 11:01:36 +08:00
hqwrong
6fd1072fde
fix snax hotfix
2017-02-10 11:01:36 +08:00
hqwrong
d637d720db
snax loader
2017-02-10 11:01:36 +08:00
hqwrong
5c508e45a7
pcall->xpcall
2017-02-10 11:01:36 +08:00
dmx
1e51af2d62
get snax profile_table after rewriting info_func of snax service
2016-12-15 15:59:23 +08:00
David Feng
77f4071191
remove unused local variables
2016-01-22 10:26:13 +08:00
linse073
03617f23a1
loginserver.lua中的launch_slave的lua消息处理函数的return问题
...
之前可能是我没有表述清楚,这两个return我猜想是不是手误加上去的,因为之前都没有见过需要在消息处理函数里面return skynet.ret调用的结果,实际去掉后测试也是没有问题的,和是不是两次pcall的调用应该是没有关系的。
2015-12-07 21:00:19 +08:00
Cloud Wu
d4d188541f
add socket.close_fd
2015-12-06 16:48:28 +08:00
Cloud Wu
a4af35f442
fix issue #364
2015-10-27 14:00:25 +08:00
Cloud Wu
d2f2e299d5
call socket.abandon while auth error, see issue #355
2015-10-12 14:40:42 +08:00
bingo
325452a242
Signed-off-by: bingo <heidan725@qq.com>
2015-09-21 11:21:36 +08:00
Cloud Wu
b8f419eb69
more error message for socket, and close listen socket when reach limit of open files. See Issue #339
2015-09-15 14:52:30 +08:00
Cloud Wu
adc39705f3
remove unused netpack c api
2015-08-12 20:56:29 +08:00
Cloud Wu
a4f827a48d
use string for msgserver request
2015-08-12 14:53:36 +08:00
Cloud Wu
947727e33a
add new socket message WARNING
2015-08-11 13:21:24 +08:00
snail
e9cfdba22a
'hotfix' code cannot use '_ENV'
...
If there's no global variable or function used in any interface of a snax service,the upvalue "_ENV" for 'hotfix' is not set. This modify is not complete, it depend's on the 'collect_uv' method having upvalue '_ENV',maybe other good method to get upvalue index of '_ENV'.
2015-08-07 10:38:57 +08:00
Cloud Wu
7b471ae27d
snax service support cluster
2015-05-20 16:13:11 +08:00
Cloud Wu
6a9080157f
need require skynet.manager
2015-05-15 16:24:01 +08:00
Cloud Wu
98af25d109
better error log, see pr #260
2015-04-24 14:31:18 +08:00
Cloud Wu
7b783076e5
use hmac_hash
2015-04-16 10:41:23 +08:00
Cloud Wu
8e4a175155
use fork to dispatch more socket message
2014-11-13 11:23:15 +08:00
Cloud Wu
765749f608
accept may not start fd, so it can't close at last
2014-11-04 18:25:15 +08:00
Cloud Wu
5fad5d63ae
socket close fd when auth failed
2014-11-04 18:12:25 +08:00
Cloud Wu
535bbc7219
add log when listen
2014-09-30 06:16:16 +08:00
Cloud Wu
fe4122e579
fix issue #171
2014-09-17 21:28:24 +08:00
Cloud Wu
cab10edd1d
snaxd change add package.path
2014-08-07 19:34:48 +08:00
Cloud Wu
87a02ffe72
don't check imported function in snax.hotfix
2014-08-07 18:06:08 +08:00
Cloud Wu
0747a7d7e1
remove register_slave
2014-07-31 20:30:22 +08:00
Cloud Wu
18f20425a0
httpd don't need readline now
2014-07-23 12:19:48 +08:00
Cloud Wu
a8b80cd73e
simplify clientsocket lib
2014-07-19 14:22:24 +08:00
Cloud Wu
d41c9db019
bugfix: update the response fd, when the client reconnect
2014-07-18 12:09:05 +08:00
Cloud Wu
691bb28163
update comment
2014-07-16 12:08:42 +08:00
Cloud Wu
dbf492b761
add snax.gateserver snax.loginserver snax.msgserver
2014-07-15 12:05:58 +08:00
Cloud Wu
a4a21bd793
move lualib/snax_* to lualib/snax/
2014-04-29 17:05:27 +08:00