[go-nuts] Re: TLS handshake through net.Pipe()

2016-08-17 Thread Madhusudan C.S
n, which already solves the problem. > See, for instance, > https://godoc.org/github.com/valyala/fasthttp/fasthttputil#PipeConns . > > On Wednesday, August 17, 2016 at 7:01:00 PM UTC+3, Madhusudan C.S wrote: >> >> I am writing some test code where I am creating `tls.Server

[go-nuts] TLS handshake through net.Pipe()

2016-08-17 Thread Madhusudan C.S
I am writing some test code where I am creating `tls.Server()` and `tls.Client()` using the `Conn` pair returned by `net.Pipe()`. I have a few positive tests (where the Handshakes are expected to succeed) and a few negative tests (where the Handshakes are expected to fail). Each test sets up a `tls