mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-28 06:33:29 +00:00
http: remove inflight conn check
chromiumoxide sends the command while connections are in progress and it doesn't cause issue w/ curl.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user