Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 8919:c46c2942b8fe
mod_s2s: Close sockets held by resolver (#1170)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 17 Jun 2018 20:02:40 +0200 |
parent | 8267:42fad8465537 |
child | 8920:2eaa442d81a6 |
child | 9068:95ee62b5afef |
comparison
equal
deleted
inserted
replaced
8908:144666d0ad2f | 8919:c46c2942b8fe |
---|---|
204 sendq[i] = nil; | 204 sendq[i] = nil; |
205 end | 205 end |
206 session.sendq = nil; | 206 session.sendq = nil; |
207 end | 207 end |
208 | 208 |
209 if session.resolver then | |
210 session.resolver._resolver:closeall() | |
211 end | |
209 session.resolver = nil; | 212 session.resolver = nil; |
210 session.ip_hosts = nil; | 213 session.ip_hosts = nil; |
211 session.srv_hosts = nil; | 214 session.srv_hosts = nil; |
212 end | 215 end |
213 end | 216 end |