File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -331,7 +331,8 @@ pub fn restoreOriginalProxy(self: *Client) !void {
331331
332332// Enable TLS verification on all connections.
333333pub fn enableTlsVerify (self : * const Client ) ! void {
334- try self .ensureNoActiveConnection ();
334+ // Remove inflight connections check on enable TLS b/c chromiumoxide calls
335+ // the command during navigate and Curl seems to accept it...
335336
336337 for (self .handles .handles ) | * h | {
337338 const easy = h .conn .easy ;
@@ -348,7 +349,8 @@ pub fn enableTlsVerify(self: *const Client) !void {
348349
349350// Disable TLS verification on all connections.
350351pub fn disableTlsVerify (self : * const Client ) ! void {
351- try self .ensureNoActiveConnection ();
352+ // Remove inflight connections check on disable TLS b/c chromiumoxide calls
353+ // the command during navigate and Curl seems to accept it...
352354
353355 for (self .handles .handles ) | * h | {
354356 const easy = h .conn .easy ;
You can’t perform that action at this time.
0 commit comments