cURL cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1429 http/2 headers/body printing

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Thu, 02 Oct 2014 07:06:45 +0000

So what _do_ you see? I tried again just now and it works fine for me. Add "--trace-ascii dump2" and attached that dump2 file for us to take a look!

Can you really negotiate ALPN with that OpenSSL version?

My test version reports this:

$ ./src/curl --version
curl 7.38.1-DEV (x86_64-unknown-linux-gnu) libcurl/7.38.1-DEV OpenSSL/1.1.0 zlib/1.2.8 c-ares/1.10.1-DEV libidn/1.29 libssh2/1.4.4_DEV nghttp2/0.6.2-DEV librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS Debug TrackMemory IDN IPv6 Largefile GSS-API SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 Metalink

---
** [bugs:#1429] http/2 headers/body printing**
**Status:** pending-needsinfo
**Labels:** http2 
**Created:** Mon Sep 29, 2014 02:46 PM UTC by Scott Mitchell
**Last Updated:** Wed Oct 01, 2014 06:53 PM UTC
**Owner:** Daniel Stenberg
It seems in some scenarios curl is not printing out request/response headers and body content.  For example the following request is invalid and correctly prints out the response headers:
>$ curl --http2 -k 'https://10.0.2.2:13443/proxy/address' -d 'INVALID CONTENT' -i
HTTP/2.0 400
server:http2query2
However the following 2 requests are valid but does not print out any response headers:
>$ curl --http2 -k 'https://10.0.2.2:13443/proxy/address' -d 'VALID CONTENT' -i
$
$ curl --http2 -k 'https://10.0.2.2:13443/proxy/address' -d 'VALID CONTENT' -s -D -
$
Also the body is not printed in the second case.
---
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.