From a1f5a1f7cfc6f37bff61252998589c9da443497a Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Mon, 21 Oct 2002 18:09:32 +0000 Subject: [PATCH] updates. --- doc/example_silcd.conf.in | 12 +++++++----- lib/silcutil/unix/silcunixsockconn.c | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/doc/example_silcd.conf.in b/doc/example_silcd.conf.in index 3ddf7614..c68029a5 100644 --- a/doc/example_silcd.conf.in +++ b/doc/example_silcd.conf.in @@ -148,11 +148,13 @@ General { # allowed for incoming data. If more is received at once the QoS # is applied to the data. The "qos_limit_sec" and "qos_limit_usec" # is the timeout used to delay the data handling, seconds and - # microseconds, respectively. This can be overridden with + # microseconds, respectively. NOTE: If you enable QoS in General + # section it applies to server connections as well. Server + # connections SHOULD NOT use QoS. This can be overridden with # ConnectionParams. #qos = true; - #qos_rate_limit = 5; - #qos_bytes_limit = 1024; + #qos_rate_limit = 10; + #qos_bytes_limit = 2048; #qos_limit_sec = 0; #qos_limit_usec = 500000; }; @@ -387,8 +389,8 @@ ConnectionParams { # microseconds, respectively. For server connections QoS SHOULD NOT # be set. #qos = true; - #qos_rate_limit = 5; - #qos_bytes_limit = 1024; + #qos_rate_limit = 10; + #qos_bytes_limit = 2048; #qos_limit_sec = 0; #qos_limit_usec = 500000; }; diff --git a/lib/silcutil/unix/silcunixsockconn.c b/lib/silcutil/unix/silcunixsockconn.c index 543fc833..b65ad21d 100644 --- a/lib/silcutil/unix/silcunixsockconn.c +++ b/lib/silcutil/unix/silcunixsockconn.c @@ -66,7 +66,7 @@ int silc_socket_write(SilcSocketConnection sock) } /* QoS read handler, this will call the read and write events to indicate - that data is available again after a timeout */ + that data is available again after a timeout. */ SILC_TASK_CALLBACK(silc_socket_read_qos) { -- 2.24.0