Shuanglei Tao
49068cf536
utils: remove useless include
2021-02-20 23:25:21 +08:00
Shuanglei Tao
215849b5d0
protocol: fix uv handle closing
2021-02-06 09:28:04 +08:00
Shuanglei Tao
75105f6d48
protocol: use 2 pipe for read and write
2021-02-06 01:03:49 +08:00
Shuanglei Tao
bfb2d0cc86
src: move pty code to protocol
2021-02-03 21:34:41 +08:00
Shuanglei Tao
7bd16386d2
server: increase max length of base path to 128
2021-01-28 23:39:21 +08:00
Shuanglei Tao
7ce3081b74
protocol: fix illegal ws path error msg
2021-01-21 20:51:06 +08:00
Shuanglei Tao
e2e107170c
html: yarn upgrade
2021-01-01 14:53:46 +08:00
Shuanglei Tao
4f91d763b4
protocol: fix ws code on process exit
2020-12-31 22:18:22 +08:00
Shuanglei Tao
6db541b2b1
server: add mbedtls support
2020-12-30 00:45:09 +08:00
Shuanglei Tao
c14b1fec2f
protocol: do not show eof as error
2020-12-28 00:17:03 +08:00
Mathias Aerts
d4d854f662
html: fix styling for bottom of terminal
2020-12-27 23:08:12 +08:00
Shuanglei Tao
4ab5479a83
html: implement flow control for xterm
...
https://xtermjs.org/docs/guides/flowcontrol/#flow-control-over-websockets
2020-12-27 19:37:51 +08:00
Shuanglei Tao
61a9bcd810
html: add disableReconnect client option
2020-12-27 15:28:12 +08:00
Shuanglei Tao
5650606674
protocol: fix incorrect uv_close usage
2020-12-27 13:16:29 +08:00
Shuanglei Tao
29ef8cbc3b
html: show message on reconnect success
2020-12-19 12:38:20 +08:00
Shuanglei Tao
73639d393c
html: rebuild header file
2020-12-13 22:51:28 +08:00
Shuanglei Tao
268a6ff38a
scripts: bump to lws 4.1.4
2020-11-07 19:59:06 +08:00
Shuanglei Tao
eac1b47357
html: rebuild header file
2020-11-07 19:27:15 +08:00
MATSUO Takatoshi
47325461eb
add websocket ping interval option ( #519 )
2020-11-07 12:00:27 +08:00
Shuanglei Tao
fc037fe373
html: rebuild header file
2020-09-13 08:12:06 +08:00
Shuanglei Tao
7e0f8061cb
html: add disableResizeOverlay client option
2020-08-19 20:40:58 +08:00
Shuanglei Tao
f7c171ffbe
protocol: fix request path for h2
2020-07-28 22:55:01 +08:00
Shuanglei Tao
83020392a6
html: rebuild header file
2020-07-28 08:49:34 +08:00
Shuanglei Tao
f9d23de0fe
protocol: improve io error handling
2020-07-27 22:43:28 +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
a8417381cd
html: add titleFixed client option
2020-07-25 08:46:45 +08:00
Ondřej Caletka
cb3e72018b
Refit to the browser window after changing font size ( #416 )
...
Fixes #415
Signed-off-by: Ondřej Caletka <ondrej@caletka.cz >
2020-07-23 08:37:36 +08:00
Shuanglei Tao
260778aff2
html: add disableLeaveAlert client option
2020-06-20 12:15:35 +08:00
Bartosz Biłas
31c0dff029
src/http.c: fix checking pss's len member ( #385 )
...
len member is a size_t type so it can't be less than 0 by definition.
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com >
2020-06-19 10:14:42 +08:00
Shuanglei Tao
528aa79d01
html: rebuild header file
2020-06-19 00:00:50 +08:00
Shuanglei Tao
35e2507b7c
xterm.js 4.7.0
2020-06-18 23:05:50 +08:00
Shuanglei Tao
70c12e4afa
http: fix build with lws 1.7
2020-06-14 00:33:35 +08:00
Girts
56d26accd3
protocol: fix readonly handling ( #373 )
...
Previously, if running in readonly mode (`-R`), we would keep
accumulating incoming websocket data to `pss->buffer`, resizing it with
every incoming message. This would also break the `RESIZE` operation as
we would never get rid of the `INPUT` message.
Now we discard `INPUT` messages in `readonly` mode, 1) allowing resize
to work and 2) preventing the buffer from growing indefinitely.
2020-06-06 21:51:15 +08:00
Shuanglei Tao
17865704de
html: rebuild header file
2020-05-23 00:52:39 +08:00
Adam Bliss
2beab0d203
Fix type declaration ( #357 )
...
`pty` is a file descriptor (i.e. an int), not a pid.
2020-05-19 10:20:57 +08:00
Shuanglei Tao
ff2eebc4cc
src: fix lws version check for keep alive
2020-05-02 23:26:59 +08:00
Wiki Wang
2511d2deca
html: set URL of stylesheet by href
...
URL should be set with attribute `href`, `src` is no longer supportd by new browsers
2020-05-02 23:23:37 +08:00
Shuanglei Tao
29507eda2f
html: rebuild header file
2020-04-24 21:56:14 +08:00
Shuanglei Tao
bf8a0d21a3
html: xterm.js 4.5.0
2020-04-11 09:52:54 +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
e324cc3b91
html: update npm packages
2020-03-14 11:59:18 +08:00
Shuanglei Tao
9fece9ea8f
html: recreate sentry object on zmodem reset
2020-03-12 22:44:10 +08:00
Shuanglei Tao
b0c4ad97f0
all: use the static keyword on functions
2020-03-11 00:54:39 +08:00
Tian Yuanhao
f46744283b
protocol: replace uv_try_write with uv_write
2020-03-11 00:39:16 +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
48f53bcc00
protocol: fix lws callback compatibility
2020-03-10 09:41:35 +08:00