commit a3f9ece: [Minor] Document keepalive attribute

Vsevolod Stakhov vsevolod at
Tue Mar 12 15:00:04 UTC 2019

Author: Vsevolod Stakhov
Date: 2019-03-12 14:57:03 +0000
URL: (HEAD -> master)

[Minor] Document keepalive attribute

 src/lua/lua_http.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lua/lua_http.c b/src/lua/lua_http.c
index 4378aea89..72eec70ad 100644
--- a/src/lua/lua_http.c
+++ b/src/lua/lua_http.c
@@ -536,6 +536,7 @@ lua_http_push_headers (lua_State *L, struct rspamd_http_message *msg)
  * @param {resolver} resolver to perform DNS-requests. Usually got from either `task` or `config`
  * @param {boolean} gzip if true, body of the requests will be compressed
  * @param {boolean} no_ssl_verify disable SSL peer checks
+ * @param {boolean} keepalive enable keep-alive pool
  * @param {string} user for HTTP authentication
  * @param {string} password for HTTP authentication, only if "user" present
  * @return {boolean} `true`, in **async** mode, if a request has been successfully scheduled. If this value is `false` then some error occurred, the callback thus will not be called.

More information about the Commits mailing list