cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1428 make http/2 --next use a new stream

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Thu, 02 Oct 2014 14:42:36 +0000

curl already re-uses the connection on its own and by default, no need to do anything. Try this for a simple example:

    $ curl -v --http2 https://nghttp2.org/ https://nghttp2.org/

If the server however closes the connection after the first request or otherwise denies a connection re-use, then it will of course create a new connection for the second transfer.

---
** [bugs:#1428] make http/2 --next use a new stream**
**Status:** pending-needsinfo
**Labels:** http2 
**Created:** Mon Sep 29, 2014 02:39 PM UTC by Scott Mitchell
**Last Updated:** Thu Oct 02, 2014 02:05 PM UTC
**Owner:** Daniel Stenberg
The --next flag for HTTP/2 does not result in requests on a new stream (when --next URL is the same as previous URL).  Instead it looks like curl is attempting to open a new connection which results in SSL connection error (like the following):
>SSL/TLS handshake error error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-10-02

These mail archives are generated by hypermail.