Browse Source

[Minor] Partially restore reverted patch

tags/3.3
Vsevolod Stakhov 1 year ago
parent
commit
a853200823
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/lua/lua_tcp.c

+ 1
- 0
src/lua/lua_tcp.c View File

@@ -2069,6 +2069,7 @@ lua_tcp_connect_sync (lua_State *L)

if (!rspamd_dns_resolver_request_task (task, lua_tcp_dns_handler, cbd,
RDNS_REQUEST_A, host)) {
cbd->item = NULL; /* We have not registered watcher */
lua_pushboolean (L, FALSE);
lua_pushliteral (L, "Failed to initiate dns request");
TCP_RELEASE (cbd);

Loading…
Cancel
Save