Hi, Mike!

In spite of new changes, it's still work incorrect because of init_remote(c) 
connect to the address from root config section:

        protocol(c, PROTOCOL_PRE_CONNECT);
        init_remote(c);  <<<<<<<<<< destination address from root section
        protocol(c, PROTOCOL_PRE_SSL);
        init_ssl(c); <<<<<<<<<<< switch to target SNI config section only there
        protocol(c, PROTOCOL_POST_SSL); <<<<<<<<<<< send PROXY protocol to 
incorrect address

Context switch to target section parameters after init_ssl(c) only.


/Alexey V. Drozdov
e-mail: [email protected]
_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

Reply via email to