announce only spdy3

This commit is contained in:
Unbit
2013-01-30 08:30:33 +01:00
parent c643c3069c
commit feca5abc53
+2 -1
View File
@@ -763,7 +763,8 @@ newframe:
int uwsgi_spdy_npn(SSL *ssl, const unsigned char **data, unsigned int *len, void *arg) {
*data = (const unsigned char *) "\x06spdy/3\x06spdy/2\x08http/1.1\x08http/1.0";
//*data = (const unsigned char *) "\x06spdy/3\x06spdy/2\x08http/1.1\x08http/1.0";
*data = (const unsigned char *) "\x06spdy/3\x08http/1.1\x08http/1.0";
*len = strlen((const char *) *data);
return SSL_TLSEXT_ERR_OK;
}