Host and HostSNI


Can we say that with HTTP routers we need to use Host and with TCP and UDP we need to use HostSNI? If not, could you explain when use each other?

Thank you

You can use HostSNI() for any TLS connections, be it plain TCP or https.

You can use Host() with http and decrypted https.

No routing is possible with UDP, it’s one router per UDP entrypoint.

Thank you @bluepuma77

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.