~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/http_server.py

  • Committer: Vincent Ladeuil
  • Date: 2010-06-23 16:43:16 UTC
  • mto: (5247.3.43 smart-server-leaks)
  • mto: This revision was merged to the branch mainline in revision 5396.
  • Revision ID: v.ladeuil+lp@free.fr-20100623164316-yffl9m72oh8jy46a
Closing the connection is what pycurl was waiting for.

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
    def handle(self):
79
79
        SimpleHTTPServer.SimpleHTTPRequestHandler.handle(self)
80
80
        # Some client (pycurl, I'm looking at you) are more picky than others
81
 
        # and require that the socket itself is close
 
81
        # and require that the socket itself is closed
82
82
        # (SocketServer.StreamRequestHandler only close the two associated
83
83
        # 'makefile' objects)
84
84
        self.connection.close()