Closed ksysoev closed 6 days ago
This pull request adds error handling to the Send method in order to handle connection closed errors. If the error is a syscall.EPIPE or net.ErrClosed error, it returns a specific error message indicating that the connection has been closed.
This pull request adds error handling to the Send method in order to handle connection closed errors. If the error is a syscall.EPIPE or net.ErrClosed error, it returns a specific error message indicating that the connection has been closed.