Re: Simple TLS NPN negotiation not working on socket server

2012-04-18 Thread Antoine Pitrou
Alek Storm gmail.com> writes: > > Connecting with either Firefox 11 or Chrome (which both support NPN) causes > this to print None, rather than a protocol name. What's going on? Ok, I've just tried with Firefox 11. You have to go in "about:config" and set "network.http.spdy.enabled" to true. The

Simple TLS NPN negotiation not working on socket server

2012-04-17 Thread Alek Storm
Hi all, Support for the TLS NPN extension was apparently just added in Python 3.3 (see http://bugs.python.org/issue14204), but I can't get the following simple TCP server using it to work with a browser: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.bind(('',8000)) sock.listen(5)