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
|
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 |
|
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
|
c590898e03
|
alpha version of proxy
|
2021-02-05 03:39:41 +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
|
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
|
7de4bd6c1c
|
fix sha1 include path
|
2021-01-01 13:30:04 +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
|
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
|
b35cd61da4
|
add statistic log to scheduler, good for debug
|
2020-09-13 01:29:55 +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
|
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
|
d2a5f3220a
|
Minor fix on configuration read
|
2020-08-03 18:56:51 +02:00 |
|
lxsang
|
d5682fe186
|
user syslog for logging
|
2020-02-12 12:08:36 +01:00 |
|
lxsang
|
7fc12a72e6
|
add protocol selection to ssl, used for http2 support in the future
|
2020-01-11 22:30:01 +01: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
|
189120bd88
|
allow copress body with zlib
|
2020-01-08 22:04:10 +01:00 |
|
lxsang
|
4608ae874f
|
fix
|
2020-01-08 19:17:51 +01:00 |
|
lxsang
|
876f60c9a2
|
fix serve_file problem
|
2020-01-02 11:54:09 +01:00 |
|
lxsang
|
909d1f10e3
|
fix
|
2020-01-01 22:10:05 +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
|
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
|
2562c06f31
|
fix write
|
2019-12-19 09:58:19 +01:00 |
|
lxsang
|
98feff09d6
|
fix
|
2019-12-15 15:40:23 +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
|
2dc6d09413
|
add clen
|
2019-12-04 18:18:48 +00:00 |
|
lxsang
|
5d795ce4c3
|
update
|
2019-11-30 19:40:40 +00:00 |
|
lxsang
|
52ede859bd
|
add data validity to scheduler
|
2019-07-31 15:11:59 +02:00 |
|
lxsang
|
5155e9e0f5
|
add some debug msgs
|
2019-04-29 10:44:34 +02:00 |
|