src: move url internals into anonymous namespace
This helps because `static` doesn’t work for C++ classes, but refactoring `url_host` into a proper C++ class seems the most reasonable soluation for the memory leak fixed by the next commit. PR-URL: https://github.com/nodejs/node/pull/17470 Reviewed-By:Timothy Gu <timothygu99@gmail.com>
parent
2050bab0
Please register or sign in to comment