Skip to content

Commit

Permalink
http_client: add information about parameter loading (#3619)
Browse files Browse the repository at this point in the history
* http_client: add information about parameter loading

- Inform that the order of the parameters is important when httpcon is loaded first

* http_client: docs - typos from previous commit

---------

Co-authored-by: Daniel-Constantin Mierla <miconda@gmail.com>
  • Loading branch information
tietzsg and miconda committed Nov 2, 2023
1 parent 370991c commit 02dd4e2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/modules/http_client/doc/http_client_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@

<section>
<title>Parameters</title>
<para>
The parameters are loaded in order. That can lead to unexpected behavior:
If httpcon is set at first, the default values for all other parameters are used,
and not the values that might be set after httpcon.
For example, if setting verify_peer=0 or verify_host=0 after httpcon,
the certificates are checked and self-signed certificates are rejected nevertheless.
</para>
<section id="http_client.p.httpredirect">
<title><varname>httpredirect</varname> (int)</title>
<para>
Expand Down

0 comments on commit 02dd4e2

Please sign in to comment.