Commit Graph

15 Commits

Author SHA1 Message Date
DanyLE
58a7738afe feat: rework on plugin support
All checks were successful
gitea-sync/ant-http/pipeline/head This commit looks good
- New plugin interface that supports multiple instances
- Fix and improve memory bugs
- Refactory and cleanup lib
- Improve scheduler
2024-03-13 18:07:07 +01:00
DanyLE
3bedc3ffb5 refactor: refactoring base code 2024-03-12 21:59:50 +01:00
lxsang
c7e9d2a579 remove debug compiling option 2021-10-08 22:53:08 +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
cbbc48d216 improvement scheduler 2021-01-03 11:24:55 +01:00
lxsang
f1a188ca3d add missing header file 2021-01-01 13:21:26 +01:00
lxsang
776bd017e2 Enhance scheduler, cleanup lib 2020-08-25 16:40:24 +02:00
lxsang
2041ee2ba0 cleanup code 2020-08-19 12:26:17 +02:00
lxsang
6f7d028c86 add cache control to static file, remove unthread safe code 2020-01-10 17:31:49 +01:00
lxsang
75df72e10a add header verify 2020-01-09 12:18:59 +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
e05515a537 change log mechanism 2019-12-11 22:17:42 +00:00
lxsang
424db8dd6e switch to autotools 2019-11-13 11:48:54 +01:00