smallnest
3cda99a269
add statsview
2023-11-19 13:39:28 +08:00
smallnest
4c029824c7
#825 fix clients have not received server errors
2023-11-16 23:40:46 +08:00
smallnest
e43aa14df1
#817 use PreCall and PostCall plugins for RegisterFunction
2023-09-03 14:16:39 +08:00
smallnest
9294ad2ee7
add atomic.Uint64 instead of atomic operation
2023-04-26 12:12:10 +08:00
smallnest
4e5f748597
#784 unregister all services on case of shutdown automatically
2023-03-01 14:45:30 +08:00
smallnest
3661b97178
#784 unregister all services on case of shutdown automatically
2023-02-28 19:56:26 +08:00
smallnest
2e3fc76fbb
remove the message pool
2022-12-12 11:08:41 +08:00
smallnest
a6502f1543
#761 add custom pool support
2022-10-23 21:21:25 +08:00
smallnest
109df38db1
generate data after DoPreWriteResponse
2022-08-31 10:09:34 +08:00
王迎宾
f9f7c4f90c
server shutdown关闭net.listener时判断是否为nil避免panic
2022-08-19 17:11:12 +08:00
smallnest
1e8d67a55b
#743 simplify async write
2022-07-30 16:28:19 +08:00
smallnest
adafbb9fa9
#743 refactor to improve the performance
2022-07-11 20:46:40 +08:00
smallnest
5055993d67
#743 refactor to improve the performance
2022-07-10 23:06:35 +08:00
smallnest
f5fc9d3a91
#743 refactor to improve the performance
2022-07-10 22:44:47 +08:00
smallnest
0f372c4f24
#648 support customized error
2022-07-10 11:58:53 +08:00
smallnest
a3199eb07f
#743 refactor to improve the performance
2022-07-10 11:12:57 +08:00
MaoLongLong
8e28dec47b
fix: jsonrpc server graceful shutdown
2022-06-09 20:34:13 +08:00
yongliu
0755a00870
Update server.go
...
避免后续 写入空map
2022-05-23 15:30:56 +08:00
liaotonglang
3fae0245e4
fix protocol.FreeMsg() twice error
...
FreeMsg() inside sendResponse() then FreeMsg() on the bottom of goroutine,
cause same *Message return twice, then race occur.
2022-04-02 00:22:47 +08:00
liaotonglang
a50add1550
Fix incorrect write timeout when handleRequest take too long
...
Think about this situation:
s.writeTimeout=2 seconds
s.handleRequest() take 3 seconds
Then conn.Write() will always return timeout error because deadline exceed.
2022-04-01 20:18:41 +08:00
smallnest
742b7da1cb
#705 wait all inflight requests
2022-03-22 10:37:08 +08:00
Hanson
28cb7307a5
return til done chan & unregister first
2022-03-21 22:03:31 +08:00
smallnest
a966aea725
#705 the remove unused field
2022-03-21 12:05:40 +08:00
smallnest
be9a2a538c
#673 unregister all services when the node is shutdown
2022-03-20 15:56:39 +08:00
smallnest
575568e6f5
#705 make sure inflight requests are handled
2022-03-20 15:48:10 +08:00
supermario1990
92e84b3286
fix reuseportMakeListener to support some other valid ipv4 address
2022-03-12 16:25:40 +08:00
supermario1990
f30793e2d1
fix err return
2022-03-11 22:40:30 +08:00
supermario1990
69cd5d038a
fix errors.Is
2022-02-22 15:32:21 +08:00
supermario1990
843320700b
remove empty comment
2022-02-22 10:42:47 +08:00
smallnest
d84c938e50
use errors.Is
2022-02-21 08:40:59 +08:00
super_mario
e3f054eb3e
Merge branch 'smallnest:master' into master
2022-02-16 13:15:46 +08:00
smallnest
4ca2f98f45
#684 avoid hang
2022-02-13 20:58:22 +08:00
supermario1990
93a0782690
use specific error type replace strings.Contains
2022-01-29 11:28:15 +08:00
smallnest
09ea6cd72f
#600 avoid conn closing in case of reach the limit
2021-12-29 08:53:48 +08:00
smallnest
f4bc55644b
fix asyncwrite
2021-12-29 08:26:42 +08:00
smallnest
eb136b4a3d
set AsyncWrite to false
2021-12-28 14:29:53 +08:00
smallnest
c4ab2ac244
#653 support opentelemetry
2021-12-26 20:36:32 +08:00
smallnest
e3300227ac
#657 restart logics should not be managed by rpcx. it is the responsibility of users
2021-12-02 18:08:52 +08:00
smallnest
36c8e986b4
set BinaryFrame type for websocket
2021-10-31 22:38:19 +08:00
smallnest
85dadf224f
fix closed chan
2021-08-11 20:31:58 +08:00
smallnest
9255e02aaa
support async write
2021-08-02 21:39:58 +08:00
smallnest
76a04cd1b1
add handler implementation
2021-08-02 18:25:14 +08:00
smallnest
20e332420a
add handler implementation
2021-08-02 18:18:59 +08:00
smallnest
51011c6501
modify byte pool
2021-07-18 14:39:17 +08:00
qAison
3ca704e07b
req: message did not return to the pool
2021-06-30 22:47:58 +08:00
qAison
04aec6e7cb
readRequest: message did not return to the pool
2021-06-30 22:24:19 +08:00
qAison
a92854dc38
Optimize conn to close repeatedly
2021-06-30 20:17:48 +08:00
smallnest
317d69f100
users can handle service errors instead of log
2021-06-02 20:37:06 +08:00
smallnest
2b8912d3c6
support websocket
2021-03-30 20:52:51 +08:00
smallnest
475481d3b3
#564 should be Debugf
2021-03-21 17:01:38 +08:00