mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 04:02:13 +02:00
MEDIUM: stream: move the frontend's pointer to the session
Just like for the listener, the frontend is session-wide so let's move it to the session. There are a lot of places which were changed but the changes are minimal in fact.
This commit is contained in:
@@ -2139,8 +2139,8 @@ __LJMP static int hlua_socket_new(lua_State *L)
|
||||
socket->s->flags = 0;
|
||||
|
||||
/* Assign the configured proxy to the new stream. */
|
||||
socket->s->sess->fe = &socket_proxy;
|
||||
socket->s->be = &socket_proxy;
|
||||
socket->s->fe = &socket_proxy;
|
||||
|
||||
/* XXX: Set namy variables */
|
||||
socket->s->store_count = 0;
|
||||
|
||||
Reference in New Issue
Block a user