diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-10-28 14:25:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-28 14:25:55 +0200 |
commit | fa7aff806785f3bf94eeab46084b1fe3747364b6 (patch) | |
tree | 1ca5b7ea082a6dde848e6e17a4c49c6db8ed2a47 | |
parent | 18ba2737e95d4dc8a08f7ebae08a6e0091c34c26 (diff) | |
parent | 3504be36673c550c6b2afe94794a13d043467980 (diff) | |
download | rspamd-fa7aff806785f3bf94eeab46084b1fe3747364b6.tar.gz rspamd-fa7aff806785f3bf94eeab46084b1fe3747364b6.zip |
Merge pull request #1079 from fatalbanana/docs
[Minor] Document some lua_tcp request parameters
-rw-r--r-- | src/lua/lua_tcp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_tcp.c b/src/lua/lua_tcp.c index a6cbf1f42..63c9f8a07 100644 --- a/src/lua/lua_tcp.c +++ b/src/lua/lua_tcp.c @@ -535,6 +535,8 @@ lua_tcp_arg_toiovec (lua_State *L, gint pos, rspamd_mempool_t *pool, * - `timeout`: floating point value that specifies timeout for IO operations in **seconds** * - `partial`: boolean flag that specifies that callback should be called on any data portion received * - `stop_pattern`: stop reading on finding a certain pattern (e.g. \r\n.\r\n for smtp) + * - `shutdown`: half-close socket after writing (boolean: default false) + * - `read`: read response after sending request (boolean: default true) * @return {boolean} true if request has been sent */ static gint |