mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
parent
02396f8d5c
commit
34409635ad
@ -382,7 +382,7 @@ pub const Connection = struct {
|
||||
return c.stream_reader.getStream();
|
||||
}
|
||||
|
||||
fn host(c: *Connection) []u8 {
|
||||
pub fn host(c: *Connection) []u8 {
|
||||
return switch (c.protocol) {
|
||||
.tls => {
|
||||
if (disable_tls) unreachable;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user