From 3504be36673c550c6b2afe94794a13d043467980 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 28 Oct 2016 10:02:05 +0200 Subject: [PATCH] [Minor] Document some lua_tcp request parameters --- src/lua/lua_tcp.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.5