From 43958b81f8ab2b1adbfb63ea65f54b6365e0c841 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Tue, 21 Oct 2025 17:50:11 +0200 Subject: [PATCH] http: remove inflight conn check chromiumoxide sends the command while connections are in progress and it doesn't cause issue w/ curl. --- src/http/Client.zig | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/http/Client.zig b/src/http/Client.zig index 40647336..588e0c4f 100644 --- a/src/http/Client.zig +++ b/src/http/Client.zig @@ -338,8 +338,6 @@ pub fn restoreOriginalProxy(self: *Client) !void { // Enable TLS verification on all connections. pub fn enableTlsVerify(self: *const Client) !void { - try self.ensureNoActiveConnection(); - for (self.handles.handles) |*h| { const easy = h.conn.easy; @@ -355,8 +353,6 @@ pub fn enableTlsVerify(self: *const Client) !void { // Disable TLS verification on all connections. pub fn disableTlsVerify(self: *const Client) !void { - try self.ensureNoActiveConnection(); - for (self.handles.handles) |*h| { const easy = h.conn.easy;