Daniel Monteiro Basso
|
97260858bf
|
Add -b, --base-path option for reverse proxies (#151) (#281)
* Add -b, --base-path option for reverse proxies (#151)
|
2020-03-10 09:54:34 +08:00 |
|
Shuanglei Tao
|
79acf9e896
|
server: mute lws 4.0 extensions warning
|
2020-03-10 09:35:54 +08:00 |
|
Shuanglei Tao
|
985885ce2d
|
server: print listen port on start
|
2020-01-20 23:56:36 +08:00 |
|
Dennis Chen
|
498874deb8
|
bugfix: off by one error (#257)
The strncpy function requires enough space for a NUL terminator.
|
2020-01-02 21:30:58 +08:00 |
|
Shuanglei Tao
|
b67e382ab8
|
server: improve child process handling
|
2019-12-11 21:14:17 +08:00 |
|
Shuanglei Tao
|
d5b303aa73
|
server: exit immediately on old lws versions
|
2019-12-08 13:29:47 +08:00 |
|
Shuanglei Tao
|
df6f3bd652
|
protocol: rename tty_client to pss_tty
|
2019-11-30 17:49:37 +08:00 |
|
Shuanglei Tao
|
f61b9aec11
|
server: improve signal handling
|
2019-11-30 17:25:53 +08:00 |
|
Shuanglei Tao
|
fe7bad2c63
|
server: remove sys/queue dep
|
2019-11-30 17:25:27 +08:00 |
|
Shuanglei Tao
|
59601329ae
|
libuv: initial support
|
2019-11-30 15:10:41 +08:00 |
|
Shuanglei Tao
|
831379e2bb
|
server: add a tiny timeout to lws_service
|
2019-11-28 20:46:05 +08:00 |
|
Shuanglei Tao
|
6d69f0a55d
|
server: remove the sleep from main loop
|
2019-11-26 21:55:42 +08:00 |
|
Shuanglei Tao
|
62844c2509
|
src: fix exit code check on linux
|
2019-09-15 19:07:02 +08:00 |
|
Shuanglei Tao
|
5381d0f825
|
all: remove pthread
|
2019-09-15 18:39:30 +08:00 |
|
ideal
|
4ad0cc86b7
|
Fix for upgrade of libwebsockets 3.2.0, it removes the poll which breaks every second in the previous version.
Reference:
[1] https://github.com/warmcat/libwebsockets/issues/1685
[2] https://libwebsockets.org/git/libwebsockets/tree/READMEs/README.lws_sul.md
|
2019-09-14 19:53:54 +08:00 |
|
Shuanglei Tao
|
46064ee86e
|
src: refuse to compile with lws 3.2.0
|
2019-09-14 11:30:39 +08:00 |
|
Adela0602
|
87a705223f
|
Fix potential segmentation fault (SIGSEGV) error #209 (#210)
|
2019-08-04 21:11:30 +08:00 |
|
Shuanglei Tao
|
251ad41f4c
|
server: fix pthread_mutex_trylock usage
|
2019-08-04 11:59:34 +08:00 |
|
Shuanglei Tao
|
e074513246
|
server: fix the client-option and terminal-type long option
|
2019-07-23 20:35:27 +08:00 |
|
Shuanglei Tao
|
287585d61a
|
server: hide ipv6 option if not suppored by lws
|
2019-07-19 22:56:18 +08:00 |
|
Shuanglei Tao
|
0fc275f3a3
|
server: remove the reconnect option (enabled by default)
|
2019-07-05 23:09:07 +08:00 |
|
Shuanglei Tao
|
66025e640d
|
server: allow reconnect to be 0
|
2019-05-15 20:33:06 +08:00 |
|
Shuanglei Tao
|
e73a8e8587
|
protocol: cleanup process without hanging
|
2019-05-11 10:05:51 +08:00 |
|
Shuanglei Tao
|
e954cb5481
|
server: do not block main thread when acquiring lock
|
2019-04-17 18:28:10 +08:00 |
|
Shuanglei Tao
|
74e091f954
|
server: add support for cli args via url
|
2019-04-14 22:28:03 +08:00 |
|
Shuanglei Tao
|
bd8d2cfc32
|
server: remove unused options
|
2019-04-14 19:14:25 +08:00 |
|
Shuanglei Tao
|
348de8e0a7
|
server: use the default ssl_cipher_list
|
2019-04-14 18:30:07 +08:00 |
|
Shohei Kameda
|
7f7bf3cc89
|
Update max_heaser_data deafult from 4K to 20K (#163)
|
2019-03-19 09:51:30 +08:00 |
|
Shuanglei Tao
|
62bef0d545
|
server: add option to toggle IPv6 support
|
2018-12-09 09:13:14 +08:00 |
|
Shuanglei Tao
|
cb7fe0c347
|
cmake: do not check lws_config.h
|
2018-11-29 22:37:47 +08:00 |
|
Shuanglei Tao
|
aac89aa617
|
server: custom terminal type support
|
2018-09-01 21:02:43 +08:00 |
|
Shuanglei Tao
|
176f3e18a3
|
protocol: replace sleep with pthread cond
|
2018-08-20 13:33:17 +08:00 |
|
Shuanglei Tao
|
0f97a69446
|
libwebsockets 3.0 support
|
2018-08-18 17:07:41 +08:00 |
|
Shuanglei Tao
|
be91d56904
|
src: seprate includes from server.h
|
2018-08-18 09:59:19 +08:00 |
|
Shuanglei Tao
|
26f8b17891
|
server: use libwebsockets's built-in ping-pong
|
2018-01-11 22:15:49 +08:00 |
|
Shuanglei Tao
|
3a4b993ec4
|
Fix signal name display
|
2018-01-08 19:41:42 +08:00 |
|
Shuanglei Tao
|
47ba5daa12
|
protocol: use binary message
|
2017-11-25 22:53:44 +08:00 |
|
Shuanglei Tao
|
a5b8905c19
|
Support numeric value for --signal
|
2017-11-05 11:17:03 +08:00 |
|
Shuanglei Tao
|
a59da79d62
|
Remove the --signal-list option
|
2017-11-05 11:11:06 +08:00 |
|
Shuanglei Tao
|
784ac09f05
|
protocol: fix host origin checking
Thanks @ben365 (#75)
|
2017-10-24 20:31:39 +08:00 |
|
Shuanglei Tao
|
b63ecd0abe
|
Remove the duplicated "listening on ..." log
Already logged by libwebsockets
|
2017-04-29 10:06:56 +08:00 |
|
Shuanglei Tao
|
3580e80783
|
Add support for the --max-clients option
|
2017-04-06 21:45:07 +08:00 |
|
Shuanglei Tao
|
5e4d121218
|
cmake: add support for generating deb package for ubuntu
|
2017-03-26 09:15:47 +08:00 |
|
Shuanglei Tao
|
f5333551ed
|
Add the missing null terminator to command string
|
2017-03-21 23:07:13 +08:00 |
|
Shuanglei Tao
|
7fabd8de21
|
Bump to 1.3.1
|
2017-03-11 10:02:36 +08:00 |
|
Shuanglei Tao
|
5bbcbb437d
|
Bump to 1.3.0
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
|
2017-02-11 08:26:01 +08:00 |
|
Shuanglei Tao
|
896ca9c44c
|
Add support for the --signal-list option
|
2017-02-11 08:20:08 +08:00 |
|
Shuanglei Tao
|
e4c4fea1cb
|
Add support for the --browser option
|
2017-02-05 20:52:10 +08:00 |
|
Shuanglei Tao
|
ffdf56e440
|
Execute command after authentication
|
2017-02-05 18:06:13 +08:00 |
|
Shuanglei Tao
|
de75490d3e
|
Add support for listening on UNIX domain socket
|
2017-01-30 21:50:57 +08:00 |
|