Commit Graph

55 Commits

Author SHA1 Message Date
Shuanglei Tao
055463542f Upgrade to xterm.js 2.7.0 2017-06-10 08:20:17 +08:00
Shuanglei Tao
4e0801db8e Do not reconnect if process exited, fixes #50 2017-05-20 18:56:40 +08:00
Shuanglei Tao
153fc94855 Upgrade to xterm.js 2.6.0 2017-05-13 19:51:52 +08:00
Shuanglei Tao
b63ecd0abe Remove the duplicated "listening on ..." log
Already logged by libwebsockets
2017-04-29 10:06:56 +08:00
dohnuts
f6361caa50 Do not try to reuse for lws_serve_http_file, fixes #43
Following documentation it s important to not try to reuse when lws_serve_http_file
return 0 nor to try to reuse the socket.

This fix the issue on openbsd 6.0 ( my current test is with upgraded libwebsocket 2.0.3 instead of 2.0.2 but it shouldnt matter
2017-04-25 20:35:41 +08:00
Shuanglei Tao
3580e80783 Add support for the --max-clients option 2017-04-06 21:45:07 +08:00
Shuanglei Tao
9cc5e4a03b Upgrade to xterm.js 2.5.0 2017-04-06 21:14:25 +08:00
Shuanglei Tao
5e4d121218 cmake: add support for generating deb package for ubuntu 2017-03-26 09:15:47 +08:00
Shuanglei Tao
35c97df863 Fix client count calculation 2017-03-21 23:14:48 +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
08ac6dc43c Fix potential segmentation fault (SIGSEGV) error
The server->clients variable may still holds reference to user data which is already freed after websocket connection closed.
2017-03-11 02:34:37 +08:00
Shuanglei Tao
4d31e534c0 Fix an issue that can bypass basic authentication
Reported by Donato Ferrante (NCC Group).
2017-03-11 02:11:52 +08:00
dohnuts
1d7d21f898 Shims to compile under OpenBSD
STAILQ_HEAD is implemented as SIMPLEQ_HEAD
pty.h is like in apple , util.h
2017-03-09 22:18:02 +08:00
Shuanglei Tao
5db15646c7 Upgrade to xterm.js 2.4.0 2017-03-08 20:04:01 +08:00
Shuanglei Tao
0a057b22c3 Print more details about errors 2017-02-23 19:57:17 +08:00
Shuanglei Tao
2c34c5230b Add padding for terminal container 2017-02-22 23:45:40 +08:00
Shuanglei Tao
e6c0961b24 Fix font-family for windows (#40) 2017-02-22 00:00:25 +08:00
Shuanglei Tao
1fc2dfb3a5 Upgrade to xterm.js 2.3.2 2017-02-18 16:52:07 +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
62b2bb5510 Upgrade to xterm.js 2.3.1 2017-02-10 23:54:57 +08:00
Shuanglei Tao
c4dd409aac Fix signal string not work, revert to sys_signame 2017-02-08 23:14:24 +08:00
Shuanglei Tao
e4c4fea1cb Add support for the --browser option 2017-02-05 20:52:10 +08:00
Shuanglei Tao
82148cd613 Add confirm for window closing 2017-02-05 18:06:32 +08:00
Shuanglei Tao
ffdf56e440 Execute command after authentication 2017-02-05 18:06:13 +08:00
Shuanglei Tao
f0414d30d8 Improve base64 decode and utf8 handling 2017-02-03 11:23:59 +08:00
Shuanglei Tao
de75490d3e Add support for listening on UNIX domain socket 2017-01-30 21:50:57 +08:00
Shuanglei Tao
c9ffa8a8d7 Add support for the --index option 2017-01-19 23:40:20 +08:00
Shuanglei Tao
3b58edbfb6 Bump to 1.2.2 2016-12-26 00:33:54 +08:00
Shuanglei Tao
70cb376208 Replace sys_signame with strsignal and rename malloc functions 2016-12-24 22:02:49 +08:00
Shuanglei Tao
085f6d54db Reformat C source files 2016-12-21 23:10:18 +08:00
Shuanglei Tao
dcacbd25af Upgrade to xterm.js 2.2.3 (#29) 2016-12-18 10:20:49 +08:00
Shuanglei Tao
b39cd986ed Make ttyd compiles on cygwin 2016-11-29 22:41:44 +08:00
Shuanglei Tao
f82f00cfcf Bump to 1.2.1 2016-11-27 09:39:42 +08:00
Shuanglei Tao
15e2dd96a4 Enable client certificate verification if ssl CA is given 2016-11-23 23:34:56 +08:00
Shuanglei Tao
16bec0a5cb Bump to 1.2.0 2016-11-13 17:58:16 +08:00
Shuanglei Tao
fdcbd3512c Show websocket connection error with overlay 2016-11-10 20:49:04 +08:00
Shuanglei Tao
e0e6d89870 Move to xterm.js for CJK and IME support (#22) 2016-11-09 20:02:04 +08:00
Shuanglei Tao
24c3f2a880 Add support for the --client-option option 2016-10-30 11:02:57 +08:00
Shuanglei Tao
a16fdfdbd4 base64_encode: do not use openssl anymore 2016-10-28 13:48:31 +08:00
Neel Chauhan
bccf6a435d Fix pty.h compile error on FreeBSD (FreeBSD uses libutil.h instead of util.h or pty.h) 2016-10-15 22:01:06 +08:00
Shuanglei Tao
ec2d581d68 Bump to 1.1.0 2016-10-13 07:35:18 +08:00
Shuanglei Tao
3bc006b81e Optimize client js 2016-10-11 00:35:36 +08:00
Shuanglei Tao
e714cc8718 Add support for the --check-origin option
requires libwebsockets 1.7.0+ since lws_parse_uri is available from 1.7.0
2016-10-10 23:42:11 +08:00
Shuanglei Tao
67d6564cfb Add support for the --readonly option 2016-10-10 22:08:17 +08:00
Shuanglei Tao
3c9884a87b Add support for the --once option 2016-10-10 21:53:03 +08:00
Shuanglei Tao
f3d06b2857 Use custom Server header in http response 2016-10-06 15:25:03 +08:00
Shuanglei Tao
c4d16c0283 libwebsockets: hande fragmented messages, fixes #9 2016-10-01 20:34:45 +08:00
Shuanglei Tao
659567dd5f cmake: enhance dependency check 2016-09-27 23:28:05 +08:00