Only one listener in network.Runtime

This commit is contained in:
Nikolay Govorov
2026-03-10 02:23:24 +00:00
parent 687f577562
commit 60350efa10
2 changed files with 57 additions and 54 deletions

View File

@@ -369,7 +369,7 @@ pub const Connection = struct {
pub fn setProxyCredentials(self: *const Connection, creds: [:0]const u8) !void {
try libcurl.curl_easy_setopt(self.easy, .proxy_user_pwd, creds.ptr);
}
pub fn setCredentials(self: *const Connection, creds: [:0]const u8) !void {
try libcurl.curl_easy_setopt(self.easy, .user_pwd, creds.ptr);
}