Skip to content

Commit 43958b8

Browse files
committed
http: remove inflight conn check
chromiumoxide sends the command while connections are in progress and it doesn't cause issue w/ curl.
1 parent 2d8a959 commit 43958b8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/http/Client.zig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ pub fn restoreOriginalProxy(self: *Client) !void {
338338

339339
// Enable TLS verification on all connections.
340340
pub fn enableTlsVerify(self: *const Client) !void {
341-
try self.ensureNoActiveConnection();
342-
343341
for (self.handles.handles) |*h| {
344342
const easy = h.conn.easy;
345343

@@ -355,8 +353,6 @@ pub fn enableTlsVerify(self: *const Client) !void {
355353

356354
// Disable TLS verification on all connections.
357355
pub fn disableTlsVerify(self: *const Client) !void {
358-
try self.ensureNoActiveConnection();
359-
360356
for (self.handles.handles) |*h| {
361357
const easy = h.conn.easy;
362358

0 commit comments

Comments
 (0)