1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-01 12:59:47 +02:00
Commit Graph

327 Commits

Author SHA1 Message Date
Xuan Sang LE
46c1102537
Update .drone.yml 2021-03-19 10:01:31 +01:00
Xuan Sang LE
d32df84f2e
Update README.md 2021-03-10 16:26:28 +01:00
Xuan Sang LE
b28f1a3fa0
Update README.md 2021-03-04 13:48:52 +01: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
Xuan Sang LE
ce5549d394
Update README.md 2021-02-05 03:44:30 +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
lxsang
e38cd9de1b scheduler cause high CPU usage in syslog 2020-08-31 08:24:21 +02:00
lxsang
883ef9c3a3 limit header size 2020-08-27 13:43:27 +02:00
lxsang
5e60eeac02 limit header size 2020-08-27 13:42:58 +02:00
lxsang
806a7ccc6a limit header size 2020-08-27 13:31:40 +02:00
lxsang
56806fb25b add more verbose to log 2020-08-27 12:46:05 +02:00
lxsang
280ad920e9 fix plugin include error 2020-08-25 17:04:17 +02: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
5765df3697 optimise cpu usage 2020-08-19 11:08:30 +02:00
lxsang
397145662c add service file 2020-08-08 20:35:21 +02:00
lxsang
adb0811a08 add BST to lib 2020-08-06 18:45:12 +02:00