MINOR: connection: add a .get_alpn() method to xprt_ops
authorWilly Tarreau <w@1wt.eu>
Sun, 4 Dec 2016 17:42:09 +0000 (18:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Jun 2017 12:38:02 +0000 (14:38 +0200)
commita9c1741820830ea47d4ebfbc7a87fac902e764bf
treebc45e4960c789fcc132ad76d71e09a4e120a0898
parent0a6bed2394dabf7f05a7a2af2fc9b8ba936073be
MINOR: connection: add a .get_alpn() method to xprt_ops

This will be used to retrieve the ALPN negociated over SSL (or possibly
via the proxy protocol later). It's likely that this information should
be stored in the connection itself, but it requires adding an extra
pointer and an extra integer. Thus better rely on the transport layer
to pass this info for now.
include/proto/connection.h
include/types/connection.h