Hi Tim, I'm currently doing a major rework of idle connection management on the server side of haproxy. The goal is to be able to reuse connection that are private today, such as the ones with SNI or proxy protocol. Every server connection will be differentiated by a set of parameters to be able to reuse it only if the new request shares the same parameters.
I have a question for you on the case of the proxy protocol. One of these special parameters to identify a connection is the content of the proxy protocol block. However, this breaks the following reg-tests : - proxy_protocol_send_unique_id.vtc (from commit cf6e0c8a836da211946fa637020e776286093633) What happens in the reg-test with my modification is that on the second client request, a new proxy protocol packet for connection comparison is generated with the header of the second request as unique id. It is identified that the previous connection cannot be reused (different unique id in proxy protocol), and thus a new connection is established. However, on the reg-tests, it is expected that the first connection is reused and thus no proxy protocol resend. What is your opinion on this ? On my side, I think the behavior of my implementation is less surprising, but if it is a real use-case, I do not want to break it without knowing it. Let me know if I'm not clear, I'm putting the list on copy in case someone has an opinion on the subject. Thank you for your help, -- Amaury Denoyelle