mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-11 05:54:39 +00:00
[MEDIUM] rename process_request to http_process_request
Now the function only does HTTP request and nothing else. Also pass the request buffer to it.
This commit is contained in:
parent
d34af78a34
commit
59234e91c2
@ -62,7 +62,7 @@ void process_session(struct task *t, int *next);
|
|||||||
int process_cli(struct session *t);
|
int process_cli(struct session *t);
|
||||||
int process_srv_data(struct session *t);
|
int process_srv_data(struct session *t);
|
||||||
int process_srv_conn(struct session *t);
|
int process_srv_conn(struct session *t);
|
||||||
int process_request(struct session *t);
|
int http_process_request(struct session *t, struct buffer *req);
|
||||||
int http_process_tarpit(struct session *s, struct buffer *req);
|
int http_process_tarpit(struct session *s, struct buffer *req);
|
||||||
int http_process_request_body(struct session *s, struct buffer *req);
|
int http_process_request_body(struct session *s, struct buffer *req);
|
||||||
int process_response(struct session *t);
|
int process_response(struct session *t);
|
||||||
|
1409
src/proto_http.c
1409
src/proto_http.c
File diff suppressed because it is too large
Load Diff
@ -705,8 +705,8 @@ resync_stream_interface:
|
|||||||
if (!tcp_inspect_request(s, s->req))
|
if (!tcp_inspect_request(s, s->req))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (s->req->analysers)
|
if (s->req->analysers & AN_REQ_HTTP_HDR)
|
||||||
if (!process_request(s))
|
if (!http_process_request(s, s->req))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
if (s->req->analysers & AN_REQ_HTTP_TARPIT)
|
if (s->req->analysers & AN_REQ_HTTP_TARPIT)
|
||||||
|
Loading…
Reference in New Issue
Block a user