Closed chetti5 closed 3 years ago
Thanks for reporting this. I see that it doesn't cover errors on sending the CRLF, or when sock_mode
isn't TCP_MODE_ASCII
. I've made those improvements and pushed the fix out in commit 14ea93224ebd. If you have a test case demonstrating the failure, please test it out with my patch.
_rs_sock_puts() error result (-1) is not propagated / returned to caller function.