MAJOR: connection: make the PROXY decoder a handshake handler
The PROXY protocol is now decoded in the connection before other
handshakes. This means that it may be extracted from a TCP stream
before SSL is decoded from this stream.
diff --git a/include/proto/session.h b/include/proto/session.h
index d88a19e..b9eb447 100644
--- a/include/proto/session.h
+++ b/include/proto/session.h
@@ -47,7 +47,7 @@
int section_type, struct proxy *curpx,
struct track_ctr_prm *prm,
struct proxy *defpx, char **err);
-int conn_session_initialize(struct connection *conn, int flag);
+int conn_session_complete(struct connection *conn, int flag);
/* Remove the refcount from the session to the tracked counters, and clear the
* pointer to ensure this is only performed once. The caller is responsible for