]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: connection/mux: take care of serverless proxies
authorWilly Tarreau <w@1wt.eu>
Wed, 8 Aug 2018 16:40:44 +0000 (18:40 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 8 Aug 2018 16:44:43 +0000 (18:44 +0200)
commit287527a176b470b77cc85d37a7898da3ac9a4304
treebb2eab120e34f8b1ec2baacff9c681df5970a22e
parent7ce0c891ab2ed896421251ab6c9388d751d60bda
BUG/MEDIUM: connection/mux: take care of serverless proxies

Commit 7ce0c89 ("MEDIUM: mux: Use the mux protocol specified on
bind/server lines") assumed a bit too strongly that we could only have
servers on the connect side :-) It segfaults under this config :

    defaults
        contimeout      5s
        clitimeout      5s
        srvtimeout      5s
        mode http

    listen test1
        bind :8001
        dispatch 127.0.0.1:8002

    frontend test2
        mode http
        bind :8002
        redirect location /

No backport needed.
include/proto/connection.h