diff options
-rw-r--r-- | lib/c-hyper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/c-hyper.c b/lib/c-hyper.c index 1aba79f16..bc3f82135 100644 --- a/lib/c-hyper.c +++ b/lib/c-hyper.c @@ -967,7 +967,8 @@ CURLcode Curl_http(struct Curl_easy *data, bool *done) if(!h2) { if(data->state.aptr.host) { result = Curl_hyper_header(data, headers, data->state.aptr.host); - goto error; + if(result) + goto error; } } else { |