diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-10-28 10:02:05 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-10-28 10:02:05 +0200 |
commit | 3504be36673c550c6b2afe94794a13d043467980 (patch) | |
tree | 1f150cd3855f5d64115ca8bfcb63c2cd82db53fa /src/lua | |
parent | 0bd145a9ac742764af8214ec1a532d1f8317f735 (diff) | |
download | rspamd-3504be36673c550c6b2afe94794a13d043467980.tar.gz rspamd-3504be36673c550c6b2afe94794a13d043467980.zip |
[Minor] Document some lua_tcp request parameters
Diffstat (limited to 'src/lua')
-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 |