cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: building with nghttp2 + ssl

From: Guenter <lists_at_gknw.net>
Date: Wed, 29 Oct 2014 22:35:31 +0100

Hi Daniel,
On 29.10.2014 21:35, Guenter wrote:
> On 29.10.2014 20:46, Daniel Stenberg wrote:
>> It shouldn't be. OpenSSL 1.0.1 supports NPN and we can have nghttp2 use
>> that.
> I was going to ask Fabian Frank if it was intentional to make ALPN
> mandatory ...
>
>> And even more: we can even allow nghttp2 + an OpenSSL version without
>> both ALPN and NPN like for the case when users are fine with doing http2
>> only over plain-text http.
>>
>> Please try out the attached patch and see if it makes things better for
>> you!
> looks good (while I've not yet tested it, but will do asap);
builds & works fine with OpenSSL 1.0.1j:

src\curl -V
curl 7.38.1-20141029 (i386-pc-win32) libcurl/7.38.1-20141029
OpenSSL/1.0.1j zlib/1.2.8 nghttp2/0.6.4
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3
pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS Largefile NTLM SSL libz HTTP2

src\curl -kI --http2 https://nghttp2.org
HTTP/2.0 200
accept-ranges:bytes
content-length:21534
content-type:text/html
date:Wed, 29 Oct 2014 21:31:50 GMT
etag:"54422f7b-541e"
last-modified:Sat, 18 Oct 2014 09:14:35 GMT
server:nghttpx nghttp2/0.6.5-DEV
via:1.1 nghttpx
strict-transport-security:max-age=31536000

src\curl -kI --http2 https://nghttp2.org:3456/
HTTP/2.0 200
server:lucid
content-type:text/html; charset=utf-8

Gün.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-10-29