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

2016-08-17 Thread Madhusudan C.S
Hi Aliaksandr, Thank you very much for these insights. This helped me understand what's going on. Also, thanks for the pointers to possible workarounds! On Wednesday, August 17, 2016 at 10:14:40 AM UTC-7, Aliaksandr Valialkin wrote: > > Hi, Madhu, > > Writes to net.Pipe connections are synchro

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

2016-08-17 Thread Aliaksandr Valialkin
Hi, Madhu, Writes to net.Pipe connections are synchronous - i.e. call to Write returns only after the corresponding call to Read on the other end of pipe is made. TLS implementation in Go may deadlock on net.Pipe connection, since both server and client may call Write on both ends of pipe while