Cloud Wu
d3a6b8d80b
fix #1141
2019-12-30 10:57:44 +08:00
冉朋
386c709f42
修改制表符
2019-12-17 20:06:18 +08:00
冉朋
64d6baa176
修改制表符
2019-12-17 20:06:18 +08:00
冉朋
ed6dd39670
支持预处理句柄重置和释放
2019-12-17 20:06:18 +08:00
zixun
a15c64a73b
fix sharetable update when match self coroutine
2019-11-29 10:13:00 +08:00
Jay Li
0e3f37f38b
Call tls.closefunc
2019-11-22 16:24:11 +08:00
zixun
8450e7f366
add result of accept
2019-11-19 16:25:43 +08:00
Hanlei Qin
4585da9cbd
bug fixed
2019-11-19 16:25:43 +08:00
zixun
38c47b8a5d
add websocket address and url param
2019-11-19 16:25:43 +08:00
zixun
21d680d5b7
triger handle close when force close
2019-11-19 16:25:43 +08:00
zixun
ec8e518abc
only server websocket check frame size
2019-11-19 16:25:43 +08:00
zixun
082fb732e5
fix httpver
2019-11-19 16:25:43 +08:00
zixun
b5ea18f44b
check full frame size
2019-11-19 16:25:43 +08:00
zixun
8aac2114e3
delete debug print
2019-11-19 16:25:43 +08:00
zixun
0e96c761f8
add write with masked and limit payload
2019-11-19 16:25:43 +08:00
zixun
60f4f26b85
fix closed and delete send_buf
2019-11-19 16:25:43 +08:00
zixun
7240de08a9
use sockethelper connect
2019-11-19 16:25:43 +08:00
zixun
4341106364
fix mask and close
2019-11-19 16:25:43 +08:00
zixun
81a7c44a05
add ws/wss server and client support
2019-11-19 16:25:43 +08:00
Hanlei Qin
58291a2a48
restore some styles as before.
2019-10-29 19:14:06 +08:00
Hanlei Qin
49c21916a2
format up by vscode plugin
2019-10-29 19:14:06 +08:00
Hanlei Qin
6b4050bf2c
format up :
...
0. remove some useless multiple blank lines.
1. uniform indent as white-space.
2. add some expression white-space pad.
2019-10-29 19:14:06 +08:00
Hanlei Qin
f4d54182e9
may improve Intermediate variables.
2019-10-29 19:14:06 +08:00
Hanlei Qin
f6679a778f
remove useless Intermediate variables
2019-10-29 19:14:06 +08:00
yxt945
082430147f
使用toingeger代替math.floor判断是否整数
2019-10-29 11:50:33 +08:00
yxt945
6dd47e6690
COM_STMT_EXECUTE改为'\x17',保持COM_XXX变量类型统一
...
整数除法改为//,不再使用math.floor
_compose_packet改为使用string.pack编码
2019-10-29 11:50:33 +08:00
yxt945
d3c4bee0c9
_compose_packet取消size参数,直接从#req读取数据大小
...
read_prepare_result使用string.unpack一次性读取数据
_get_datetime使用string.unpack一次性读取数据
_parse_row_data_binary计算null_count修改为 mathfloor((ncols+9)/8)
2019-10-29 11:50:33 +08:00
yxt945
15ae26b8bc
取消变量 pow_2_16,pow_2_24,改为立即数 1<<16,1<<24
...
取消预处理语句缓存,由用户自行管理
COM_QUERY,COM_PING,COM_STMT_PREPARE改为字符类型,避免使用时转换
2019-10-29 11:50:33 +08:00
yxt945
29e7256948
替换换行符 \r 为unix风格 \n
2019-10-29 11:50:33 +08:00
yxt945
4f050fa987
增加mysql.ping测试网络状态
...
增加blob数据格式支持
增加mysql.execute支持预处理语句和存储过程调用
2019-10-29 11:50:33 +08:00
yxt945
066c2c3a54
增加mysql.ping测试网络状态
...
增加blob数据格式支持
增加mysql.execute支持预处理语句和存储过程调用
2019-10-29 11:50:33 +08:00
Cloud Wu
41c66d1b20
add skynet.trace_timeout(on), see #1098
2019-10-22 16:11:36 +08:00
Cloud Wu
82ed7efb1b
use traceback
2019-10-22 15:25:39 +08:00
zixun
f17c17b8c7
fix match intern mt and stackvalues
2019-10-21 11:41:05 +08:00
zixun
8a1d7006eb
fix match thread, table key
2019-10-21 11:41:05 +08:00
wudeng
4ddc1577ef
fix: coroutine leak when dispatch failed
2019-10-10 11:25:12 +08:00
Cloud Wu
5025e6887f
fix #1079
2019-08-29 16:21:01 +08:00
wudeng
478575436b
uniqtask for gm
2019-08-27 21:58:47 +08:00
zixun
65eb351a3b
fix replace mt when sharetable update
2019-08-15 19:08:06 +08:00
xjdrew
2e8659d5fc
dns: remove unused variable
2019-08-15 19:07:51 +08:00
Cloud Wu
7e42653f80
fix #1057
2019-07-29 16:54:49 +08:00
zixun
e9581adfc4
pass sharedtable match
2019-06-15 16:02:32 +08:00
zixun
6803f45aa1
add sharetable update
2019-06-15 16:02:32 +08:00
lwkienun
8e2facbfb8
fix crash of sharedata by incref before sharedated.monitor return cobj to client.
...
crash occr analise:
1.sharedated.update call many times in a short time(eg:3 times) to change a same name conf value to a->b->c->d.
2.sharedated sending 3 response to monitoring clients。a->b and b->c and c->d.
3.if b is destroyed and it's memory is reallocated and rewrited when client process the first message a->b, client's call lbox will crash.
solution:
conf b must be keeped before message(a->b) is processed by inc it's ref.
Any return value from host to client must use incref before send to client.
2019-06-15 15:59:37 +08:00
Cloud Wu
a8c1828786
fix #1011
2019-06-10 15:11:51 +08:00
Cloud Wu
68e94b2792
add sharetable.loadtable
2019-06-10 15:11:51 +08:00
Cloud Wu
76b166f04a
Add new sharetable
2019-06-10 15:11:51 +08:00
Cloud Wu
6addb504e4
fix #1012
2019-05-15 10:49:19 +08:00
zixun
431feb6f16
bugfix #1007
2019-05-06 14:52:06 +08:00
Cloud Wu
9b69af0a4d
use tinsert instead of table.insert
2019-05-06 10:29:23 +08:00