I hope you already figured this out...... The documentation for SetDeadline in the tls package specifically says:
After a Write has timed out, the TLS state is corrupt and all future > writes will return the same error. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f2958160-789d-4fd8-b0c4-f02afd262e9e%40googlegroups.com.