From: Andrew Lewis Date: Fri, 28 Oct 2016 08:02:05 +0000 (+0200) Subject: [Minor] Document some lua_tcp request parameters X-Git-Tag: 1.4.0~174^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3504be36673c550c6b2afe94794a13d043467980;p=rspamd.git [Minor] Document some lua_tcp request parameters --- 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