Fix dangling uvreq when data is sent from tlsdns_cycle()

Ondřej Surý requested to merge ondrej/fix-dangling-uvreq-in-tlsdns into main

The tlsdns_cycle() might call uv_write() to write data to the socket, when this happens and the socket is shutdown before the callback completes, the uvreq structure was not freed because the callback would be called with non-zero status code.

Merge request reports