mirror of https://github.com/lukechilds/node.git
Browse Source
inFreeBSDJail involves an execSync() and is used by localhost_ipv4 so will be unnecessarily expensive, so cache both values and reuse rather than re-evaluate each time. Renamed localhost_ipv4 to localhostIPv4 for style consistency. PR-URL: https://github.com/iojs/io.js/pull/1196 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>v1.8.0-commit
6 changed files with 31 additions and 22 deletions
Loading…
Reference in new issue