about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-05-01 16:48:20 +0200
committerbptato <nincsnevem662@gmail.com>2024-05-01 16:54:03 +0200
commit2fdc5d2a95a4db8ab9600cc95632647a3da98e23 (patch)
tree930564fee3699bec9a11314465f22639b5cf428f /src/config
parent7bd7f887137d67668846a37a12ef333e6029d2fa (diff)
downloadchawan-2fdc5d2a95a4db8ab9600cc95632647a3da98e23.tar.gz
config: add insecure-ssl-no-verify option to siteconf
Equivalent to curl --insecure.

Note: unfortunately this does not help if the server is using unsafe
legacy renegotiation, you have to allow that in the OpenSSL config.
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/config.nim b/src/config/config.nim
index 81630f07..56c448d7 100644
--- a/src/config/config.nim
+++ b/src/config/config.nim
@@ -55,6 +55,7 @@ type
     stylesheet*: Option[string]
     proxy*: Option[URL]
     default_headers*: TableRef[string, string]
+    insecure_ssl_no_verify*: Option[bool]
 
   OmniRule* = object
     match*: Regex