Skip to content

dns: report out of memory properly

This addresses a part of a TODO by properly reporting an out of memory error to the user instead of reporting ENOTFOUND.

I only changed this single entry as this is super rare and should be safe to change. Since it is a OOM, we also have no test for it.

The other two are likely used a lot and a lot of userland code will rely on that.

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

Merge request reports

Loading