Commit e42c786e authored by Baiju Muthukadan's avatar Baiju Muthukadan

Remove obsolete code comment

( https://bugs.launchpad.net/bugs/280020 )
parent 47ddd922
......@@ -527,27 +527,7 @@ class http_channel (asynchat.async_chat):
# no handlers, so complain
r.error (404)
#def writable (self):
# # this is just the normal async_chat 'writable', here for comparison
# return self.ac_out_buffer or len(self.producer_fifo)
#def writable_for_proxy (self):
# # this version of writable supports the idea of a 'stalled' producer
# # [i.e., it's not ready to produce any output yet] This is needed by
# # the proxy, which will be waiting for the magic combination of
# # 1) hostname resolved
# # 2) connection made
# # 3) data available.
# if self.ac_out_buffer:
# return 1
# elif len(self.producer_fifo):
# p = self.producer_fifo.first()
# if hasattr (p, 'stalled'):
# return not p.stalled()
# else:
# return 1
# ===========================================================================
# HTTP Server Object
# ===========================================================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment