[HN Gopher] Show HN: Golang HTTP Clients/Servers and Alternative...
___________________________________________________________________
Show HN: Golang HTTP Clients/Servers and Alternative Networking
Hello everyone! I was poking around GoLang's HTTP/networking
capabilities to see what things I could do. Turns out it is pretty
easy to insert your own networking stack into HTTP clients and
servers.
Author : andrewpmartinez
Score : 64 points
Date : 2022-09-26 11:56 UTC (11 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| RenThraysk wrote:
| Problem with HTTPS is some browser functionality requires secure
| contexts.
| svnpenn wrote:
| Does this offer any control at the TLS level? I have been looking
| for alternate TLS stacks for Go, and the only one I really found
| was uTLS:
|
| https://github.com/refraction-networking/utls
| andrewpmartinez wrote:
| 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 wrote:
| so no?
| andrewpmartinez wrote:
| Depends 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.
| [deleted]
___________________________________________________________________
(page generated 2022-09-26 23:02 UTC)