From 78caf8449d29589ae9dfce968b00eab804889f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyril=20Bont=C3=A9?= Date: Wed, 10 Mar 2010 22:41:43 +0100 Subject: [PATCH] [DOC] Some more documentation cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since the last documentation cleanups, I've found more typos that I kept in a corner instead of sending you a mail just for one character :) -- Cyril Bonté --- doc/configuration.txt | 45 ++++++++++++++++++++++--------------------- src/proto_uxst.c | 2 +- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index ae4558ae4c..aaa73fef32 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -141,8 +141,9 @@ This can obviously have a tremendous benefit on performance because the network latency is eliminated between subsequent requests. Many HTTP agents do not correctly support pipelining since there is no way to associate a response with the corresponding request in HTTP. For this reason, it is mandatory for the -server to reply in the exact same order as the requests were received. HAProxy -supports pipelined requsts on the client side and processes them one at a time. +server to reply in the exact same order as the requests were received. +HAProxy supports pipelined requests on the client side and processes them one +at a time. 1.2. HTTP request @@ -686,11 +687,11 @@ http stats by allowing only authenticated and authorized users. To do this, it is required to create at least one userlist and to define users. userlist - Creates new userlist with name . Many indepenend userlists can be + Creates new userlist with name . Many independent userlists can be used to store authentication & authorization data for independent customers. group [users ,,(...)] - Adds group to the current userlist. It is also possible to + Adds group to the current userlist. It is also possible to attach users to this group by using a comma separated list of names proceeded by "users" keyword. @@ -698,8 +699,8 @@ user [password|insecure-password ] [groups ,,(...)] Adds user to the current userlist. Both secure (encrypted) and insecure (unencrypted) passwords can be used. Encrypted passwords are - evaluated using the crypt(3) function so dependig of the system's - capabilities, different algoritms are supported. For example modern Glibc + evaluated using the crypt(3) function so depending of the system's + capabilities, different algorithms are supported. For example modern Glibc based Linux system supports MD5, SHA-256, SHA-512 and of course classic, DES-based method of crypting passwords. @@ -2042,19 +2043,19 @@ http-request { allow | deny | http-auth [realm ] } instance. Example: - acl nagios src 192.168.129.3 - acl local_net src 192.168.0.0/16 - acl auth_ok http_auth(L1) + acl nagios src 192.168.129.3 + acl local_net src 192.168.0.0/16 + acl auth_ok http_auth(L1) - http-request allow if nagios - http-request allow if local_net auth_ok - http-request auth realm Gimme if local_net auth_ok - http-request deny + http-request allow if nagios + http-request allow if local_net auth_ok + http-request auth realm Gimme if local_net auth_ok + http-request deny - Exampe: - acl auth_ok http_auth_group(L1) G1 + Example: + acl auth_ok http_auth_group(L1) G1 - http-request auth unless auth_ok + http-request auth unless auth_ok See section 3.4 about userlists and 7 about ACL usage. @@ -4845,9 +4846,9 @@ stick-table type {ip | integer | string [len ] } size increase. is the maximum number of entries that can fit in the table. This - value directly impats memory usage. Count approximately 50 bytes - per entry, plus the size of a string if any. The size supports - suffixes "k", "m", "g" for 2^10, 2^20 and 2^30 factors. + value directly impacts memory usage. Count approximately + 50 bytes per entry, plus the size of a string if any. The size + supports suffixes "k", "m", "g" for 2^10, 2^20 and 2^30 factors. [nopurge] indicates that we refuse to purge older entries when the table is full. When not specified and the table is full when haproxy @@ -5232,7 +5233,7 @@ timeout srvtimeout (deprecated) timeout tarpit - Set the duration for which tapitted connections will be maintained + Set the duration for which tarpitted connections will be maintained May be used in sections : defaults | frontend | listen | backend yes | yes | yes | yes Arguments : @@ -5248,7 +5249,7 @@ timeout tarpit unit if the number is suffixed by the unit, as specified at the top of this document. If unspecified, the same value as the backend's connection timeout ("timeout connect") is used, for backwards compatibility with older versions - with no "timeout tapit" parameter. + with no "timeout tarpit" parameter. See also : "timeout connect", "contimeout". @@ -5916,7 +5917,7 @@ fe_conn(frontend) criteria. fe_id - Applies to the fronted's id. Can be used in backends to check from which + Applies to the frontend's id. Can be used in backends to check from which frontend it was called. fe_sess_rate diff --git a/src/proto_uxst.c b/src/proto_uxst.c index 980df43ea2..91b394489e 100644 --- a/src/proto_uxst.c +++ b/src/proto_uxst.c @@ -427,7 +427,7 @@ int uxst_event_accept(int fd) { } if (fcntl(cfd, F_SETFL, O_NONBLOCK) == -1) { - Alert("accept(): cannot set the socket in non blocking mode. Giving up\n"); + Alert("accept(): cannot set the socket in non blocking mode. Giving up.\n"); goto out_free_task; }