serve, HTTPS, Python 2.7, pyOpenSSL, and test-https.t

AntoinePitrou solipsis at pitrou.net
Mon Oct 18 07:34:14 CDT 2010


Mads Kiilerich <mads <at> kiilerich.com> writes:
> 
> My theory is that pyOpenSSL needs a fix similar to 
> http://bugs.python.org/issue7133 and/or doesn't support Python 2.7.

That would be my interpretation as well (the former, that is).

However, this one:

>    File "/tmp/py27/lib/python2.7/SocketServer.py", line 459, in 
> shutdown_request
>      request.shutdown(socket.SHUT_WR)
> TypeError: shutdown() takes exactly 0 arguments (1 given)

probably means that pyOpenSSL's socket shutdown needs to support that argument.

(you could also try to make your HTTPS server use the built-in ssl module :-))

Regards

Antoine.




More information about the Mercurial-devel mailing list