comparison sat/plugins/plugin_xep_0065.py @ 3132:b64dd7c1496d

plugin ip: fixed IP detection with external website
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 19:53:31 +0100
parents fee60f17ebac
children 9d0df638c8b4
comparison
equal deleted inserted replaced
3131:d6da17f6e4ce 3132:b64dd7c1496d
1080 @param session_hash(str): hash as returned by getSessionHash 1080 @param session_hash(str): hash as returned by getSessionHash
1081 @param client: %(doc_client)s 1081 @param client: %(doc_client)s
1082 """ 1082 """
1083 log.info("Socks5 Bytestream: TimeOut reached") 1083 log.info("Socks5 Bytestream: TimeOut reached")
1084 session = self.getSession(client, session_hash) 1084 session = self.getSession(client, session_hash)
1085 session[DEFER_KEY].errback(exceptions.TimeOutError) 1085 session[DEFER_KEY].errback(exceptions.TimeOutError())
1086 1086
1087 def killSession(self, failure_, session_hash, sid, client): 1087 def killSession(self, failure_, session_hash, sid, client):
1088 """Clean the current session 1088 """Clean the current session
1089 1089
1090 @param session_hash(str): hash as returned by getSessionHash 1090 @param session_hash(str): hash as returned by getSessionHash