diff options
author | bptato <nincsnevem662@gmail.com> | 2024-05-01 16:48:20 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-05-01 16:54:03 +0200 |
commit | 2fdc5d2a95a4db8ab9600cc95632647a3da98e23 (patch) | |
tree | 930564fee3699bec9a11314465f22639b5cf428f /src/config | |
parent | 7bd7f887137d67668846a37a12ef333e6029d2fa (diff) | |
download | chawan-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.nim | 1 |
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 |