Fanrncho
|
a4c31ac64e
|
Update internal.lua (#1237)
修正小错误。
|
2020-09-07 13:13:48 +08:00 |
|
zixun
|
fd27676869
|
add message type
|
2020-03-30 17:48:43 +08:00 |
|
Fanrncho
|
892189ff90
|
Update websocket.lua
根据Issue(https://github.com/cloudwu/skynet/issues/1163#issue-587403602)提出修改建议。
|
2020-03-27 12:58:42 +08:00 |
|
shuax
|
f6b8eba01e
|
https://tools.ietf.org/html/rfc6455#section-5.5.3
A Pong frame sent in response to a Ping frame must have identical
"Application data" as found in the message body of the Ping frame
being replied to.
|
2020-03-03 14:51:00 +08:00 |
|
zixun
|
99d43388ab
|
fix handshake error
|
2020-02-14 22:45:11 +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 |
|
Cloud Wu
|
7e42653f80
|
fix #1057
|
2019-07-29 16:54:49 +08:00 |
|
zixun
|
431feb6f16
|
bugfix #1007
|
2019-05-06 14:52:06 +08:00 |
|
zixun
|
ea0cc1fade
|
fix check header limit
|
2019-03-28 21:21:44 +08:00 |
|
zixun
|
7746193b5f
|
add https client and server support by bios
|
2019-03-14 10:36:02 +08:00 |
|
chengzhe
|
37157273ff
|
http中connect可能会连接失败,不应当将错误的fd继续传递下去
|
2017-10-17 17:50:54 +08:00 |
|
Cloud Wu
|
f94ca6f4b3
|
add socket.disconnected(), used by socketchannle. see #715
|
2017-08-15 13:44:06 +08:00 |
|
Cloud Wu
|
6d81c2b818
|
use socket.shutdown where timeout
|
2017-08-01 09:35:16 +08:00 |
|
Cloud Wu
|
f1ed482001
|
move to skynet module
|
2017-06-01 11:29:07 +08:00 |
|
Cloud Wu
|
8a6243d2a0
|
rename socket to skynet.socket
|
2017-06-01 10:51:02 +08:00 |
|
Cloud Wu
|
648504119e
|
bugfix: wakeup sleep
|
2017-05-08 11:45:50 +08:00 |
|
Cloud Wu
|
312943c6a0
|
connect timeout, see #611
|
2017-04-13 15:32:54 +08:00 |
|
Cloud Wu
|
ccb0e1b24c
|
suppot httpc.timeout
|
2016-09-24 12:28:57 +08:00 |
|
Cloud Wu
|
9546537256
|
debug console support simple http
|
2016-06-12 14:51:18 +08:00 |
|
Cloud Wu
|
d7a76c7c72
|
If no content-length, read all. see issue #431
|
2016-01-07 16:01:17 +08:00 |
|
Cloud Wu
|
c180036bed
|
use async dns resolve in httpc, and dns resolve cache by ttl. see about issue #253
|
2015-11-25 13:09:41 +08:00 |
|
Cloud Wu
|
13d920e185
|
body may contain ascii 0, see issue #365
|
2015-10-27 15:40:15 +08:00 |
|
HuaYang Huang
|
75d9b07158
|
fix: httpc.get
:-(
此错误会导致httpc.get无法找到正确的虚拟主机
|
2015-04-29 20:18:13 +08:00 |
|
HuaYang Huang
|
ec1bca238e
|
fix: httpc.post
调用httpc.post时,如果没有在header里面设置host时有问题
|
2015-04-01 17:54:22 +08:00 |
|
Cloud Wu
|
36ed8679b8
|
you can set host in httpc header
|
2015-03-30 09:29:22 +08:00 |
|
Cloud Wu
|
92b7b7beff
|
use table for multi header key
|
2015-03-16 20:15:57 +08:00 |
|
Cloud Wu
|
72c43b6614
|
minor fix
|
2015-03-15 21:20:56 +08:00 |
|
Cloud Wu
|
6c9ad16077
|
bugfix: socket open address, and httpd bodylimit
|
2014-10-29 16:51:39 +08:00 |
|
Cloud Wu
|
f8a50929a8
|
bugfix: break when write all
|
2014-10-29 11:04:35 +08:00 |
|
Cloud Wu
|
9bdc36526e
|
close socket after request
|
2014-10-22 11:29:03 +08:00 |
|
Cloud Wu
|
f47e4275b6
|
check new stream after finding cr
|
2014-09-22 20:18:55 +08:00 |
|
Cloud Wu
|
dec2e6fe4c
|
add httpc
|
2014-08-04 18:06:16 +08:00 |
|
Cloud Wu
|
7beed39b1d
|
bugfix: use temp array for each request
|
2014-08-04 16:34:29 +08:00 |
|
Cloud Wu
|
19e6462376
|
httpd.write_response capture socket error
|
2014-07-23 14:27:42 +08:00 |
|
Cloud Wu
|
0188e263dd
|
recv header all, and then split with \r\n
|
2014-07-23 13:34:30 +08:00 |
|
Cloud Wu
|
18f20425a0
|
httpd don't need readline now
|
2014-07-23 12:19:48 +08:00 |
|
Cloud Wu
|
551d5048c4
|
simple url parser
|
2014-07-22 23:04:37 +08:00 |
|