anonymou3
f214c68ff3
The listen function supports passing backlog parameters ( #1941 )
...
Co-authored-by: anonymou3 <anonymou3>
2024-06-24 07:21:49 +08:00
iamwlj
72688f5771
Update msgserver.lua ( #1889 )
...
使用本地变量,不然本地变量`request_handler`未使用
2024-03-18 18:54:12 +08:00
丁大龙
f344a49755
修复client_number计数错误 ( #1704 )
2023-02-17 14:36:32 +08:00
Cloud Wu
b61daaccf1
watchdog returns addr,port
2022-09-04 14:22:13 +08:00
Cloud Wu
c8197328a4
socket.listen returns addr,port
2022-09-04 00:13:49 +08:00
Cloud Wu
800a3376d6
Revert "Update the return values of socket.listen, also return the real port bind to zero ( #1638 )"
...
This reverts commit c1eeba215d .
2022-09-03 22:03:11 +08:00
zaxbbun
c1eeba215d
Update the return values of socket.listen, also return the real port bind to zero ( #1638 )
2022-09-03 07:19:03 +08:00
dxb218
fad27d7775
Update interface.lua ( #1612 )
...
string.format语法错误
2022-06-11 20:22:22 +08:00
Cloud Wu
e98378e874
Fix #1609
2022-06-09 08:05:26 +08:00
涵曦
39e0aaa27e
Fix typo ( #1436 )
2021-07-10 07:24:07 +08:00
Cloud Wu
037c3a5c48
do not close fd if no handler.disconnect, #1358
2021-03-11 12:31:37 +08:00
Cloud Wu
094b20aae7
fix half close issue, #1358
2021-03-11 11:32:27 +08:00
Cloud Wu
30279f2f8d
Add gameserver embed mode, see #1326
2021-01-18 16:56:46 +08:00
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