Re: [go-nuts] bufio.Writer and timeouts

2017-09-09 Thread Ian Lance Taylor
On Sat, Sep 9, 2017 at 7:39 AM, Juliusz Chroboczek wrote: > > I've got a bufio.Writer which is wrapping a net.TCPConn. Once in > a while, Flush() will trigger a write timeout (set with SetWriteDeadline > on the underlying connection), in which case I'd like to reschedule some >

[go-nuts] bufio.Writer and timeouts

2017-09-09 Thread Juliusz Chroboczek
Hi, I've got a bufio.Writer which is wrapping a net.TCPConn. Once in a while, Flush() will trigger a write timeout (set with SetWriteDeadline on the underlying connection), in which case I'd like to reschedule some requests on a different connection, and then restart the Flush() with a more