vanilla icon indicating copy to clipboard operation
vanilla copied to clipboard

HTTP Server has no close method

Open cablehead opened this issue 10 years ago • 0 comments

    self.signal.subscribe(signal.SIGINT, signal.SIGTERM).recv()
  File "/home/andy/git/vanilla/vanilla/message.py", line 324, in recv
    return self.pause(timeout=timeout)
  File "/home/andy/git/vanilla/vanilla/message.py", line 203, in pause
    _, ret = self.hub.pause(timeout=timeout)
  File "/home/andy/git/vanilla/vanilla/core.py", line 305, in pause
    resume = self.loop.switch()
  File "/home/andy/git/vanilla/vanilla/core.py", line 496, in main
    masks[mask].send(True)
  File "/home/andy/git/vanilla/vanilla/message.py", line 260, in send
    return self.hub.switch_to(self.other.peak, self.other, item)
  File "/home/andy/git/vanilla/vanilla/core.py", line 322, in switch_to
    return target.switch(*a)
  File "bin/w", line 20, in _
    conn.close()
AttributeError: 'HTTPServer' object has no attribute 'close'

cablehead avatar Feb 02 '15 23:02 cablehead