Sorry to bother again: is this feature intended to be used in the way I am
trying to do? Meaning that independent HTTP/1.1 requests get multiplexed
over a single FastCGI connection.

Or did I misunderstand it and only multiplexed incoming connections (HTTP2
maybe?) get forwarded identically to the backend?

Best regards,
Harris

On Fri, Nov 6, 2020 at 7:56 PM Harris Kaufmann <[email protected]>
wrote:

> Hi everyone,
>
> I wanted to try the FastCGI multiplexing feature, but whatever I do
> HAProxy never sends multiple requests simultaneously over the same backend
> connection. This is my configuration:
>
>
> ------------------------------------------------------------------------------
>
> defaults
>     mode http
>     timeout connect 5000ms
>     timeout client 50000ms
>     timeout server 50000ms
>
>
> backend fastcgi
>     server server0 127.0.0.1:9002 proto fcgi maxconn 1
>     use-fcgi-app fcgi-app
>
> fcgi-app fcgi-app
>     docroot /
>     option mpxs-conns
>     option max-reqs 20
>     no option get-values
>
> frontend web
>     bind *:8080
>     default_backend fastcgi
>
>
> ------------------------------------------------------------------------------
>
> When I send multiple HTTP requests that overlap, Haproxy just executes
> them serially with new backend connections for each request (because of
> maxconn) and most of them time out. Is my configuration wrong? Did I
> misunderstand this feature?
>
> Thanks and best regards,
> Harris
>
>
>

Reply via email to