]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[CLEANUP] move the session-related functions to session.c
authorWilly Tarreau <w@1wt.eu>
Sun, 30 Nov 2008 17:47:21 +0000 (18:47 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 30 Nov 2008 17:47:21 +0000 (18:47 +0100)
commit55a8d0e1bb1507c7c80e812dff6e516e29f3c507
tree78ac97e0031c4fb22878d286aeaf23d823ba84c1
parentfe3718ab793a6e55954a8b8cfc25a4a7a2460352
[CLEANUP] move the session-related functions to session.c

proto_http.c was not suitable for session-related processing, it was
just convenient for the tranformation.

Some more splitting must occur: process_request/response in proto_http.c
must be split again per protocol, and the caller must run a list.

Some functions should be directly attached to the session or the buffer
(eg: perform_http_redirect, return_srv_error, http_sess_log).
include/proto/proto_http.h
include/types/protocols.h
src/proto_http.c
src/session.c