DOC: fix a few typos

include/types/proto_http.h: hwen -> when
include/types/server.h: SRV_ST_DOWN -> SRV_ST_STOPPED
src/backend.c: prefer-current-server -> prefer-last-server

Signed-off-by: Godbach <nylzhaowei@gmail.com>
This commit is contained in:
Godbach
2014-12-10 10:21:30 +08:00
committed by Willy Tarreau
parent e4e30f7d52
commit f2dd68d0e0
3 changed files with 3 additions and 3 deletions

View File

@@ -553,7 +553,7 @@ int assign_server(struct session *s)
(__objt_server(conn->target)->nbpend + 1) < s->be->max_ka_queue))) &&
srv_is_usable(__objt_server(conn->target))) {
/* This session was relying on a server in a previous request
* and the proxy has "option prefer-current-server" set, so
* and the proxy has "option prefer-last-server" set, so
* let's try to reuse the same server.
*/
srv = __objt_server(conn->target);