mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
Breaking Changes
The web terminal is readonly by default now, to make it writable,
use -W option.
Changelog 1.7.7
Bump to 1.7.7
cmake: add static version back
Changelog 1.7.6
workflow: update actions packages
cmake: get version from git ref
Changelog 1.7.5
html: allow overriding client options with URL query
server: add --exit-no-conn option
html: add safari mobile full screen support
html: Add Unicode 11 xterm.js addon
html: upgrade to xterm 5.4.0
add trzszDragInitTimeout option
Changelog 1.7.4
Leverage Docker Layer System
html: update dependencies
build(deps): update zlib version 1.2.13 to 1.3 in cross-build.sh
server: print working directory on start
server: replace --readonly with --writable
server: fix -U option not work
server: do not expose port to public by default
Add -y flag for easier installation
improve support for trzsz
info.max_http_header_data = 65535;
Add Docker pulls badge
fix flow control
Fix typo, OPTOINS -> OPTIONS
Bump CMake version to 2.8.12
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
21 lines
512 B
Diff
21 lines
512 B
Diff
--- a/src/server.c
|
|
+++ b/src/server.c
|
|
@@ -10,6 +10,7 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <sys/stat.h>
|
|
+#include <syslog.h>
|
|
|
|
#include "utils.h"
|
|
|
|
@@ -520,7 +521,8 @@ int main(int argc, char **argv) {
|
|
return -1;
|
|
}
|
|
|
|
- lws_set_log_level(debug_level, NULL);
|
|
+ openlog("ttyd", LOG_NDELAY | LOG_PID, LOG_DAEMON);
|
|
+ lws_set_log_level(debug_level, lwsl_emit_syslog);
|
|
|
|
char server_hdr[128] = "";
|
|
sprintf(server_hdr, "ttyd/%s (libwebsockets/%s)", TTYD_VERSION, LWS_LIBRARY_VERSION);
|