Skip to content

Commit

Permalink
http_async_client: small notes on $http_req(timeout) usage
Browse files Browse the repository at this point in the history
  • Loading branch information
igorolhovskiy authored and miconda committed Mar 29, 2019
1 parent fb99f74 commit cffc115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/modules/http_async_client/README
Expand Up @@ -425,7 +425,7 @@ xlog("L_INFO", "received reply for query $http_req_id\n");
* method: sets the HTTP method: either "GET", "POST", "PUT" or
"DELETE" (these are the supported methods). (Note: if the method is
not set, curl will use GET, or POST if a body is specified)
* timeout: sets the HTTP timeout
* timeout: sets the HTTP timeout (Note, this timeout should be normally less, than tm.fr_timer timeout, cause transaction timeout has a higher priority over HTTP timeout)
* tls_client_cert: sets the client certificate to use
* tls_client_key: sets the client certificate key to use
* tls_ca_path: sets the CA certificate path to use
Expand Down
4 changes: 2 additions & 2 deletions src/modules/http_async_client/doc/http_async_client_admin.xml
Expand Up @@ -435,12 +435,12 @@ xlog("L_INFO", "received reply for query $http_req_id\n");
<listitem><para><emphasis>hdr</emphasis>: sets/modifies/removes a HTTP header. N.B.: setting this variable multiple times will add several headers to the query.</para></listitem>
<listitem><para><emphasis>body</emphasis>: sets/modifies/removes the request body</para></listitem>
<listitem><para><emphasis>method</emphasis>: sets the HTTP method: either "GET", "POST", "PUT" or "DELETE" (these are the supported methods). (Note: if the method is not set, curl will use GET, or POST if a body is specified)</para></listitem>
<listitem><para><emphasis>timeout</emphasis>: sets the HTTP timeout</para></listitem>
<listitem><para><emphasis>timeout</emphasis>: sets the HTTP timeout. (Note, this timeout should be normally less, than <literal>tm.fr_timer</literal> timeout, cause transaction timeout has a higher priority over HTTP timeout)</para></listitem>
<listitem><para><emphasis>tls_client_cert</emphasis>: sets the client certificate to use</para></listitem>
<listitem><para><emphasis>tls_client_key</emphasis>: sets the client certificate key to use</para></listitem>
<listitem><para><emphasis>tls_ca_path</emphasis>: sets the CA certificate path to use</para></listitem>
<listitem><para><emphasis>authmethod</emphasis>:
Sets the preferred authentication mode for HTTP/HTTPS requests. The value is a bitmap
Sets the preferred authentication mode for HTTP/HTTPS requests. The value is a bitmap<literal>
and multiple methods can be used. Note that in this case, the CURL library will make an
extra request to discover server-supported authentication methods. You may want to use
a specific value.
Expand Down

0 comments on commit cffc115

Please sign in to comment.