Commit Graph

102 Commits

Author SHA1 Message Date
Shuanglei Tao
8ea2e50b69 server: update writable message 2024-11-26 22:30:41 +08:00
baitian
116ce8ff07 server: add --exit-no-conn option (#1029)
Co-authored-by: Shuanglei Tao <tsl0922@gmail.com>
2024-03-05 22:11:37 +08:00
Shuanglei Tao
eb52df7322 server: print working directory on start 2023-06-19 08:59:52 +08:00
Shuanglei Tao
f8efcddb0b server: replace --readonly with --writable 2023-05-09 18:43:26 +08:00
Shuanglei Tao
e46e3cf405 server: fix -U option not work 2023-05-08 11:00:00 +08:00
Shuanglei Tao
39206089c0 server: do not expose port to public by default
CVE-2021-34182 #692
2023-04-27 12:46:42 +08:00
Lonny Wong
8c6c6ee885 improve support for trzsz (#1084)
* trzsz support drag and drop to upload

* optimize trzsz upload speed

* trzsz support windows

* trzsz support transfer directories in browser
2023-04-27 11:57:09 +08:00
Olivier Van Rompuy
945462a45a info.max_http_header_data = 65535; (#1088) 2023-04-27 10:32:06 +08:00
LINKIWI
f58d6f3520 server: Custom user/group ownership of Unix domain socket listener, when enabled (#1007) 2022-10-29 12:19:43 +08:00
Shuanglei Tao
648215214d server: allow http on https port 2022-08-28 19:03:51 +08:00
Shuanglei Tao
8b6b71e133 server: disable tls 1.0/1.1 by default for openssl 2022-07-04 23:25:08 +08:00
Shuanglei Tao
b37ea9f274 server: fix default keepalive not working 2021-11-20 23:24:31 +08:00
Shuanglei Tao
bff3a617e6 server: add cwd support 2021-08-16 23:08:05 +08:00
Shuanglei Tao
968f1e6e70 pty: set TTYD_USER env 2021-08-15 14:55:37 +08:00
Shuanglei Tao
e402edf13c server: add auth proxy support 2021-08-13 22:09:30 +08:00
Shuanglei Tao
b2cda1d68c drop libwebsockets < 3.2.0 support 2021-08-10 22:20:56 +08:00
Shuanglei Tao
020655483b server: validate numeric value command-line arguments 2021-08-08 20:46:32 +08:00
Shuanglei Tao
4a6b2600c4 server: update default ping interval to 5s 2021-05-05 12:41:42 +08:00
Shuanglei Tao
cb758b9cc3 server: use base64 function from lws 2021-03-27 10:27:05 +08:00
Shuanglei Tao
c5f414b25a all: remove the vla usage 2021-03-16 21:40:44 +08:00
Shuanglei Tao
0b146b750c server: fix ssl ca option init 2021-03-09 22:23:28 +08:00
Shuanglei Tao
d6921b235d protocol: add conpty support 2021-03-03 21:02:33 +08:00
Shuanglei Tao
215849b5d0 protocol: fix uv handle closing 2021-02-06 09:28:04 +08:00
Shuanglei Tao
7bd16386d2 server: increase max length of base path to 128 2021-01-28 23:39:21 +08:00
Shuanglei Tao
6db541b2b1 server: add mbedtls support 2020-12-30 00:45:09 +08:00
Shuanglei Tao
268a6ff38a scripts: bump to lws 4.1.4 2020-11-07 19:59:06 +08:00
MATSUO Takatoshi
47325461eb add websocket ping interval option (#519) 2020-11-07 12:00:27 +08:00
Shuanglei Tao
4d33dc4a60 cmake: check LWS_WITH_SSL 2020-07-27 07:52:22 +08:00
Shuanglei Tao
e34fd09dee server: fix unix domain socket for lws 4.0 2020-07-26 10:56:25 +08:00
Shuanglei Tao
5902726732 server: remove ws_ping_pong_interval on lws > 4.0
https://github.com/warmcat/libwebsockets/issues/1915
2020-07-25 09:26:22 +08:00
Shuanglei Tao
ff2eebc4cc src: fix lws version check for keep alive 2020-05-02 23:26:59 +08:00
Shuanglei Tao
c38cdc3fd7 clang-format: udpate ColumnLimit to 100 and reformat code 2020-03-26 01:27:11 +08:00
Daniel Monteiro Basso
398bebf091 Improvements for --base-path usage (#292)
* Trim trailing slashes in --base-path option

* Redirect `/base-path` to `/base-path/`

* Log endpoints if --base-path is provided

* Use predefined token for standard header 'location'
2020-03-25 17:12:33 +08:00
Shuanglei Tao
2fdb4c0c03 src: reformat with clang-format 2020-03-14 17:46:26 +08:00
Shuanglei Tao
b0c4ad97f0 all: use the static keyword on functions 2020-03-11 00:54:39 +08:00
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