summaryrefslogtreecommitdiff
path: root/gpg-interface.h
diff options
context:
space:
mode:
authorLibravatar Shawn Pearce <spearce@spearce.org>2016-02-13 17:39:34 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-02-15 13:21:43 -0800
commit00540458a82ff2454ae1cc63e38a9ce4a1eea878 (patch)
tree4582a0ee4e7fab32af5d1b3afb683d2d46f9745e /gpg-interface.h
parentGit 2.7.1 (diff)
downloadtgif-00540458a82ff2454ae1cc63e38a9ce4a1eea878.tar.xz
remote-curl: include curl_errorstr on SSL setup failures
For curl error 35 (CURLE_SSL_CONNECT_ERROR) users need the additional text stored in CURLOPT_ERRORBUFFER to debug why the connection did not start. This is curl_errorstr inside of http.c, so include that in the message if it is non-empty. Sometimes HTTP response codes aren't yet available, such as when the SSL setup fails. Don't include HTTP 0 in the message. Signed-off-by: Shawn Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gpg-interface.h')
0 files changed, 0 insertions, 0 deletions