Commit Graph

22 Commits

Author SHA1 Message Date
lxsang
0daef95c25 scheduler timeout should be configurable 2021-10-08 22:47:27 +02:00
lxsang
e9cd1addf7 log level should be configured in config file 2021-10-08 22:33:16 +02:00
Xuan Sang LE
dd7ff9b434
Xle perf improvement (#1)
* alpha version of proxy
* alpha version of proxy
* fix method bug
* fix post deode bug
* regen archive
* Reduce CPU usage on idle in proxy mode:
  - Scheduler timeout event now support millisecond granularity
  - Use only READABLE event on proxy socket which reduce tasks CPU time
* use both readable event and timeout event
* reduce scheduler poll time
* Fix segmentfault error
* Log worker task in statistic
* fix high cpu usage when handling bad POST request
* fix event-stream handling bug on proxy mode
* fix missing data events when uploading
* Race condition when get IP address from host in proxy mode
  - ip_from_hostname() is not thread safe
  - use global lock mechanism
2021-02-24 18:12:36 +01:00
lxsang
520b99f94b add support to reverse proxy (alpha) 2021-01-22 01:12:26 +01:00
lxsang
b35cd61da4 add statistic log to scheduler, good for debug 2020-09-13 01:29:55 +02:00
lxsang
776bd017e2 Enhance scheduler, cleanup lib 2020-08-25 16:40:24 +02:00
lxsang
d5682fe186 user syslog for logging 2020-02-12 12:08:36 +01:00
lxsang
4608ae874f fix 2020-01-08 19:17:51 +01:00
lxsang
cb98562585 alow a plugin to require other plugin 2020-01-03 10:14:04 +01:00
lxsang
91d84baf01 fix list 2019-12-22 17:33:35 +01:00
lxsang
c429a7dd66 remove strdup calles 2019-12-22 14:33:42 +01:00
lxsang
4fb4674045 add websocket client to the library 2019-12-22 00:11:26 +01:00
lxsang
d391b78109 add timeout to io read write 2019-12-21 15:02:33 +01:00
lxsang
d01e5e13aa increte wait time 2019-12-21 00:00:53 +01:00
lxsang
f0ecc62162 rules now work on port 2019-12-20 19:26:45 +01:00
lxsang
3435733ac2 add multiport support 2019-12-20 16:49:41 +01:00
lxsang
8d2449bd69 new api 2019-12-15 12:10:06 +01:00
lxsang
3f2af063aa fix dict size 2019-12-12 18:35:00 +01:00
lxsang
e05515a537 change log mechanism 2019-12-11 22:17:42 +00:00
lxsang
5d795ce4c3 update 2019-11-30 19:40:40 +00:00
lxsang
94ab53febf minor fix 2019-11-18 11:13:30 +01:00
lxsang
424db8dd6e switch to autotools 2019-11-13 11:48:54 +01:00