On Tue, Jun 04, 2019 at 10:32:19AM -0400, Patrick Hemmer wrote:
> The use case was that I was trying to log SSL data (via a Lua script) when
> the connection is first established. If the frontend is operating in http
> mode (as opposed to tcp), we can only apply actions on receipt of a request,
>
*From:* Willy Tarreau [mailto:w...@1wt.eu]
*Sent:* Tuesday, June 4, 2019, 10:08 EDT
*To:* Patrick Hemmer
*Cc:* haproxy@formilux.org
*Subject:* http_first_req not working with http2
Hi Patrick,
On Mon, Jun 03, 2019
Hi Patrick,
On Mon, Jun 03, 2019 at 05:21:26PM -0400, Patrick Hemmer wrote:
> As subject says, it appears that the http_first_req sample is not working
> with http2.
Indeed, the first request in H1 is special in that it is not
automatically retryable. In H2 it's different, all requests are
*From:* Patrick Hemmer [mailto:hapr...@stormcloud9.net]
*Sent:* Monday, June 3, 2019, 17:21 EDT
*To:* haproxy@formilux.org
*Subject:* http_first_req not working with http2
As subject says, it appears
As subject says, it appears that the http_first_req sample is not
working with http2.
Config:
frontend f1
bind :8000
option http-use-htx
log-format http_first_req=%[http_first_req]
With `curl http://localhost:8000`
Outputs:
<30>Jun 3 17:16:36 haproxy[47767]: http_first_req=1
5 matches
Mail list logo