From 701d6ec45d7e339b352b37869bd2a7d4849b35fb Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Tue, 8 Mar 2022 18:54:54 -0800 Subject: rename _global -> bun --- src/http/async_socket.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/http/async_socket.zig') diff --git a/src/http/async_socket.zig b/src/http/async_socket.zig index 7c61d994d..bdfee7412 100644 --- a/src/http/async_socket.zig +++ b/src/http/async_socket.zig @@ -9,7 +9,7 @@ const KeepAlive = @import("../http_client_async.zig").KeepAlive; const Output = @import("../global.zig").Output; const NetworkThread = @import("../network_thread.zig"); const Environment = @import("../global.zig").Environment; -const _global = @import("../global.zig"); +const bun = @import("../global.zig"); const extremely_verbose = @import("../http_client_async.zig").extremely_verbose; const SOCKET_FLAGS: u32 = @import("../http_client_async.zig").SOCKET_FLAGS; const getAllocator = @import("../http_client_async.zig").getAllocator; @@ -335,7 +335,7 @@ pub const SSL = struct { send_frame: Yield(SSL.send) = Yield(SSL.send){}, read_frame: Yield(SSL.read) = Yield(SSL.read){}, - hostname: [_global.MAX_PATH_BYTES]u8 = undefined, + hostname: [bun.MAX_PATH_BYTES]u8 = undefined, is_ssl: bool = false, handshake_state: HandshakeState = HandshakeState.none, -- cgit v1.2.3