mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 13:46:58 +02:00
[MINOR] prepare callers of session_set_backend to handle errors
session_set_backend will soon have to allocate areas for HTTP headers. We must ensure that the callers can handle an allocation error.
This commit is contained in:
@@ -35,7 +35,7 @@ void pause_proxy(struct proxy *p);
|
||||
void stop_proxy(struct proxy *p);
|
||||
void pause_proxies(void);
|
||||
void listen_proxies(void);
|
||||
void session_set_backend(struct session *s, struct proxy *be);
|
||||
int session_set_backend(struct session *s, struct proxy *be);
|
||||
|
||||
const char *proxy_cap_str(int cap);
|
||||
const char *proxy_mode_str(int mode);
|
||||
|
||||
Reference in New Issue
Block a user