diff options
author | 2023-02-25 00:51:20 +0200 | |
---|---|---|
committer | 2023-02-24 14:51:20 -0800 | |
commit | 26df7ca8926c67311f5ca1fbfc04e2c374c3e1a3 (patch) | |
tree | f6b794c7ebc772bcd3e394b36a08b5c69ca215ff /src/http_client_async.zig | |
parent | d33a53deb0d9d2d0b8a586a72e666bb46a174a69 (diff) | |
download | bun-26df7ca8926c67311f5ca1fbfc04e2c374c3e1a3.tar.gz bun-26df7ca8926c67311f5ca1fbfc04e2c374c3e1a3.tar.zst bun-26df7ca8926c67311f5ca1fbfc04e2c374c3e1a3.zip |
fix `compiler_rt` linking failure on `x86_64` (#2163)
- minor code tweaks
Diffstat (limited to 'src/http_client_async.zig')
-rw-r--r-- | src/http_client_async.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig index 7060c3ed2..41684acde 100644 --- a/src/http_client_async.zig +++ b/src/http_client_async.zig @@ -1057,7 +1057,7 @@ pub fn hashHeaderName(name: string) u64 { while (remain.len > 0) { const end = @min(hasher.buf.len, remain.len); - hasher.update(strings.copyLowercase(remain[0..end], &buf)); + hasher.update(strings.copyLowercaseIfNeeded(remain[0..end], &buf)); remain = remain[end..]; } |