[Zope-Checkins] SVN: Zope/trunk/src/ZServer/medusa/http_server.py Remove obsolete code comment

Baiju M baiju.m.mail at gmail.com
Wed Feb 11 05:39:37 EST 2009


Log message for revision 96442:
  Remove obsolete code comment 
  ( https://bugs.launchpad.net/bugs/280020 )
  

Changed:
  U   Zope/trunk/src/ZServer/medusa/http_server.py

-=-
Modified: Zope/trunk/src/ZServer/medusa/http_server.py
===================================================================
--- Zope/trunk/src/ZServer/medusa/http_server.py	2009-02-11 09:39:54 UTC (rev 96441)
+++ Zope/trunk/src/ZServer/medusa/http_server.py	2009-02-11 10:39:37 UTC (rev 96442)
@@ -527,27 +527,7 @@
                     
                     # 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
                 # ===========================================================================



More information about the Zope-Checkins mailing list