Commits

Robert Brewer committed b809eb7

A couple comments.

  • Participants
  • Parent commits b1f25b3

Comments (0)

Files changed (1)

File cherrypy/wsgiserver.py

                 self.close_connection = True
                 self.outheaders.append(("Connection", "close"))
         else:
+            # HTTP/1.0
             if headers.getheader("Connection", "") == "Keep-Alive":
                 if self.close_connection == False:
                     self.outheaders.append(("Connection", "Keep-Alive"))
             self.tick()
             if self.interrupt:
                 while self.interrupt is True:
-                    # Wait for self.stop() to complete
+                    # Wait for self.stop() to complete. See _set_interrupt.
                     time.sleep(0.1)
                 raise self.interrupt