I don't know what I was thinking with #46. Obviously if both sides of a TLS tunnel race on the close, they'll race with close/read, close/write, and vice versa.
I guess we need a mutex guarding both client and remote connections, or possibly a separate TlsTunnel type to manage the two pipes together.
I don't know what I was thinking with #46. Obviously if both sides of a TLS tunnel race on the close, they'll race with close/read, close/write, and vice versa.
I guess we need a mutex guarding both client and remote connections, or possibly a separate
TlsTunnel
type to manage the two pipes together.