Comment 16 for bug 686804

Revision history for this message
sifu (mathieu-roche-site) wrote :

I have the same problem with on Windows Seven:
- Python 2.7
- PyOpenSSL (pyOpenSSL-0.13-py2.7-win32.egg)

I'm trying with SimpleSecureHTTPServer.py from http://code.activestate.com/recipes/442473-simple-http-server-supporting-ssl-secure-communica/

Serving HTTPS on 0.0.0.0 port 9000 ...
mymachine - - [06/Dec/2011 15:37:52] code 404, message File
not found
mymachine - - [06/Dec/2011 15:37:52] "GET /test HTTP/1.1"
04 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 54408)
Traceback (most recent call last):
  File "C:\Python27\lib\SocketServer.py", line 284, in _handle_request_noblock
    self.process_request(request, client_address)
  File "C:\Python27\lib\SocketServer.py", line 311, in process_request
    self.shutdown_request(request)
  File "C:\Python27\lib\SocketServer.py", line 459, in shutdown_request
    request.shutdown(socket.SHUT_WR)
TypeError: shutdown() takes exactly 0 arguments (1 given)
----------------------------------------
Traceback (most recent call last):
  File "C:\Users\mylogin\Desktop\test.py", line 60, in <module>
    test()
  File "C:\Users\mylogin\Desktop\test.py", line 56, in test
    httpd.serve_forever()
  File "C:\Python27\lib\SocketServer.py", line 227, in serve_forever
    self._handle_request_noblock()
  File "C:\Python27\lib\SocketServer.py", line 287, in _handle_request_noblock
    self.shutdown_request(request)
  File "C:\Python27\lib\SocketServer.py", line 459, in shutdown_request
    request.shutdown(socket.SHUT_WR)
TypeError: shutdown() takes exactly 0 arguments (1 given)

Thanks.