Extra close commando om timeouts te simuleren

This commit is contained in:
Marcel Nijenhof
2020-11-07 13:47:16 +01:00
parent 42133b80bd
commit ad1fed8340

View File

@@ -88,6 +88,8 @@ class sipProtocol(socketserver.BaseRequestHandler):
self.meting()
elif self.match("LO"):
self.send("!")
elif self.match("CLOSE"):
self.request.close()
else:
self.send("? ERROR")
self.read()