Skip to content

dgram: append actual errors to ERR_SOCKET_CANNOT_SEND

Rodrigo Muino Tomonari requested to merge github/fork/oyyd/dgram into master

One of our apps has used up all available ports because of misuse and we have noticed some ERR_SOCKET_CANNOT_SEND errors in our logs indicating this. I think appending the actual errors to the ERR_SOCKET_CANNOT_SEND error would help with diagnosing.

This commit appends the actual error to the emitted ERR_SOCKET_CANNOT_SEND error so that we could know the detailed reason why the send() operation failed.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading