Commit Graph

338 Commits

Author SHA1 Message Date
lxsang
b584007d49 Race condition when get IP address from host in proxy mode
- ip_from_hostname() is not thread safe
- use global lock mechanism
2021-02-10 18:41:01 +01:00
lxsang
d3276a7df3 fix missing data events when uploading 2021-02-06 18:24:13 +01:00
lxsang
ca252b1d35 fix event-stream handling bug on proxy mode 2021-02-05 03:39:41 +01:00
lxsang
b9bd5e9ad1 fix high cpu usage when handling bad POST request 2021-02-05 03:39:41 +01:00
lxsang
d0c917ce99 fix seg fault 2021-02-05 03:39:41 +01:00
lxsang
d62b635995 Log worker task in statistic 2021-02-05 03:39:41 +01:00
lxsang
496f24e547 Fix segmentfault error 2021-02-05 03:39:41 +01:00
lxsang
c8140b8e9b Fix segmentfault error 2021-02-05 03:39:41 +01:00
lxsang
67ef88cc21 reduce scheduler poll time 2021-02-05 03:39:41 +01:00
lxsang
899687d255 use both readable event and timeout event 2021-02-05 03:39:41 +01:00
lxsang
1883330bba Reduce CPU usage on idle in proxy mode:
- Scheduler timeout event now support millisecond granulity
- Use only READABLE event on proxy socket which reduce tasks CPU time
2021-02-05 03:39:41 +01:00
lxsang
474bccd587 regen archive 2021-02-05 03:39:41 +01:00
Xuan Sang LE
12fe6ef4dc fix post deode bug 2021-02-05 03:39:41 +01:00
lxsang
6b84a9bac8 fix method bug 2021-02-05 03:39:41 +01:00
lxsang
5a2c6d53bb alpha version of proxy 2021-02-05 03:39:41 +01:00
lxsang
c590898e03 alpha version of proxy 2021-02-05 03:39:41 +01:00
Xuan Sang LE
31accd9060
Update README.md 2021-02-05 03:31:06 +01:00
Xuan Sang LE
386146fd9c
Delete ssl_score.png 2021-02-05 03:26:35 +01:00
Xuan Sang LE
e2e4dc0603
Update README.md 2021-02-05 03:25:46 +01:00
Xuan Sang LE
608c2680ed
Update README.md 2021-01-31 13:56:50 +01:00
Xuan Sang LE
8814364690
Update README.md 2021-01-31 13:40:22 +01:00
Xuan Sang LE
23bd7d67fc
Delete forward 2021-01-31 13:30:40 +01:00
Xuan Sang LE
491f288ea5
Update README.md 2021-01-30 22:43:17 +01:00
Xuan Sang LE
50a2d40213
Update .drone.yml 2021-01-27 19:58:14 +01:00
Xuan Sang LE
49ac8cb18b
Update .drone.yml 2021-01-27 08:52:47 +01:00
Xuan Sang LE
a9cf5f0123
Update .drone.yml 2021-01-27 00:44:48 +01:00
Xuan Sang LE
eec7fefb3e
Create .drone.yml 2021-01-27 00:40:51 +01:00
lxsang
be71a6d146 regen release 2021-01-23 16:21:06 +01:00
lxsang
6c4713ac62 remove reverse proxy, it should be handled by the plugin 2021-01-23 16:20:16 +01:00
lxsang
1f143327e4 proxy task is not closed imediately, result in hight CPU usage 2021-01-23 09:54:02 +01:00
lxsang
8b483f0579 fix proxy protocol bug 2021-01-22 13:12:23 +01:00
lxsang
520b99f94b add support to reverse proxy (alpha) 2021-01-22 01:12:26 +01:00
lxsang
5d1998ef1f inactivity timeout set to 60 2021-01-05 18:00:51 +00:00
lxsang
44a33e5413 regen archive 2021-01-03 21:32:17 +01:00
lxsang
08877f84ad use the new scheduler 2021-01-03 21:31:35 +01:00
lxsang
cbbc48d216 improvement scheduler 2021-01-03 11:24:55 +01:00
lxsang
9d19a81a8e fix sha1 include path 2021-01-01 13:48:00 +01:00
lxsang
77f4165fd4 fix sha1 include path 2021-01-01 13:30:46 +01:00
lxsang
7de4bd6c1c fix sha1 include path 2021-01-01 13:30:04 +01:00
lxsang
6408e646e8 add missing header 2021-01-01 13:26:51 +01:00
lxsang
f1a188ca3d add missing header file 2021-01-01 13:21:26 +01:00
lxsang
7e0232f299 fix setsockopt 2020-12-28 13:49:44 +01:00
lxsang
02d48fb659 fix 2020-12-28 12:26:08 +01:00
lxsang
4b6de31e66 improve websocket lib 2020-12-22 16:02:36 +01:00
lxsang
708e492c49 Use blocking select to monitor ports, no need to use a thread for each port 2020-09-23 13:10:54 +02:00
lxsang
9da33124bc allow ordered dictionary 2020-09-22 16:49:43 +02:00
lxsang
1e4856b08a support options method 2020-09-21 20:10:07 +02:00
lxsang
8c11f06ff0 fix scheduler bug: Scheduler dont validate client data as expected 2020-09-17 13:42:28 +02:00
lxsang
69ad08b1a1 fix scheduler statistic take too much cpu at idle 2020-09-13 02:46:24 +02:00
lxsang
b35cd61da4 add statistic log to scheduler, good for debug 2020-09-13 01:29:55 +02:00