MINOR: frontend: don't retrieve ALPN on the critical path
authorWilly Tarreau <w@1wt.eu>
Fri, 15 Sep 2017 09:43:32 +0000 (11:43 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Sep 2017 09:49:27 +0000 (11:49 +0200)
commit20814ff1fcb7067d0d434cdbf00a34daeb22e193
treea4c00b7d4086ee3fd61c21332e2ec668ccb3e647
parent04b928693322932339840bcd3c5772263488d5e5
MINOR: frontend: don't retrieve ALPN on the critical path

It's pointless to read it on each and every accept(), as we only need
it for reporting in debugging mode a few lines later. Let's move this
part to the relevant block.
src/frontend.c