3 ms·
You can plug your own TCP stack in if you would like. The only thing you have to do is run the TCP handshake before you hand the net.Conn off to either the HTTP
by andrewpmartinez 4y ago
You can plug your own TCP stack in if you would like. The only thing you have to do is run the TCP handshake before you hand the net.Conn off to either the HTTP.RoundTripper or the net.Listener. The implementation would be very similar to what I did here.
- svnpenn 4y agoso no?
- andrewpmartinez 4y agoDepends on what you mean. OpenZiti the project takes over protocol security for you by securing a network connection at the host or software level. So OpenZiti does not let you bring your own stack The examples here show how to do what you are asking with the standard Go libraries. So it is a path you can replicate with your own stack choices.