diff options
Diffstat (limited to 'src/feature_flags.zig')
-rw-r--r-- | src/feature_flags.zig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/feature_flags.zig b/src/feature_flags.zig index aec64dee1..692ee6c1d 100644 --- a/src/feature_flags.zig +++ b/src/feature_flags.zig @@ -98,3 +98,9 @@ pub const latin1_is_now_ascii = false; pub const http_buffer_pooling = true; pub const disable_lolhtml = false; + +/// There is, what I think is, a bug in getaddrinfo() +/// on macOS that specifically impacts localhost and not +/// other ipv4 hosts. This is a workaround for that. +/// "localhost" fails to connect. +pub const hardcode_localhost_to_127_0_0_1 = env.isMac; |