diff options
| author | Alexandre Flament <alex@al-f.net> | 2022-10-14 16:06:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-14 16:06:29 +0200 |
| commit | 2eb817011cb405c427ed2dfbd57f5a6f0269c429 (patch) | |
| tree | 2b70a212b2ccc5e26e77690f8a766f6e573c3c77 /searx/network/network.py | |
| parent | 72f6367e2323b2c57b2bb479dbadccd5b690a986 (diff) | |
| parent | 32e8c2cf098ae59baae5672e70436e47299bec82 (diff) | |
Merge pull request #1529 from dalf/network_trust_env
searx.network: use SSL_CERT_FILE and SSL_CERT_DIR when they are defined
Diffstat (limited to 'searx/network/network.py')
| -rw-r--r-- | searx/network/network.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/network/network.py b/searx/network/network.py index 677a908bf..87c077f23 100644 --- a/searx/network/network.py +++ b/searx/network/network.py @@ -334,7 +334,7 @@ def initialize(settings_engines=None, settings_outgoing=None): # see https://github.com/encode/httpx/blob/e05a5372eb6172287458b37447c30f650047e1b8/httpx/_transports/default.py#L108-L121 # pylint: disable=line-too-long default_params = { 'enable_http': False, - 'verify': True, + 'verify': settings_outgoing['verify'], 'enable_http2': settings_outgoing['enable_http2'], 'max_connections': settings_outgoing['pool_connections'], 'max_keepalive_connections': settings_outgoing['pool_maxsize'], |