lxsang
2d2ac4f1da
cleanup unuse functions
2021-10-08 23:35:02 +02:00
lxsang
818142612a
regen archive
2021-10-08 23:25:30 +02:00
lxsang
2b457988e1
regen archive
2021-05-07 10:59:10 +02:00
lxsang
786f395139
improve proxy handling
2021-03-25 21:38:09 +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
lxsang
be71a6d146
regen release
2021-01-23 16:21:06 +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
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
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
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
lxsang
d2a5f3220a
Minor fix on configuration read
2020-08-03 18:56:51 +02:00
lxsang
a0445adcc5
user log daemon
2020-02-12 12:56:30 +01:00
lxsang
0f44d62849
add identifier for log filter & regen distrib
2020-02-12 12:27:12 +01:00
lxsang
775b025087
regen distrib.
2020-02-12 12:10:06 +01:00
lxsang
357b45aee9
gen distrib
2020-01-11 23:39:37 +01:00
lxsang
6f7d028c86
add cache control to static file, remove unthread safe code
2020-01-10 17:31:49 +01:00
lxsang
1200d9d990
gen distrib
2020-01-09 14:26:55 +01:00
lxsang
cb98562585
alow a plugin to require other plugin
2020-01-03 10:14:04 +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
d5c4461d34
fix ld bug
2020-01-01 21:21: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
ea07981160
add websocket client to the library
2019-12-22 00:13:24 +01:00
lxsang
d391b78109
add timeout to io read write
2019-12-21 15:02:33 +01:00
lxsang
50b248c9e2
fix r/w wo ssl
2019-12-21 00:22:45 +01:00
lxsang
d01e5e13aa
increte wait time
2019-12-21 00:00:53 +01:00