mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-30 06:22:00 +01:00
[MAJOR] get rid of the SV_STHEADERS state
The HTTP response code has been moved to a specific function called "process_response" and the SV_STHEADERS state has been removed and replaced with the flag AN_RTR_HTTP_HDR.
This commit is contained in:
parent
e46ab5524f
commit
f5483bf639
@ -62,6 +62,7 @@ void process_session(struct task *t, int *next);
|
||||
int process_cli(struct session *t);
|
||||
int process_srv(struct session *t);
|
||||
int process_request(struct session *t);
|
||||
int process_response(struct session *t);
|
||||
|
||||
void client_retnclose(struct session *s, const struct chunk *msg);
|
||||
void client_return(struct session *s, const struct chunk *msg);
|
||||
|
||||
@ -40,11 +40,10 @@
|
||||
/* different possible states for the server side */
|
||||
#define SV_STIDLE 0
|
||||
#define SV_STCONN 1
|
||||
#define SV_STHEADERS 2
|
||||
#define SV_STDATA 3
|
||||
#define SV_STSHUTR 4
|
||||
#define SV_STSHUTW 5
|
||||
#define SV_STCLOSE 6
|
||||
#define SV_STDATA 2
|
||||
#define SV_STSHUTR 3
|
||||
#define SV_STSHUTW 4
|
||||
#define SV_STCLOSE 5
|
||||
|
||||
/*
|
||||
* Transaction flags moved from session
|
||||
|
||||
1126
src/proto_http.c
1126
src/proto_http.c
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user