Commit 4e668bca authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

https: fix connection failure handling

parent 0e9bd5e0
...@@ -174,6 +174,9 @@ struct vlc_http_msg *vlc_https_request(struct vlc_http_mgr *mgr, ...@@ -174,6 +174,9 @@ struct vlc_http_msg *vlc_https_request(struct vlc_http_mgr *mgr,
bool http2; bool http2;
vlc_tls_t *tls = vlc_https_connect_i11e(mgr->creds, host, port, &http2); vlc_tls_t *tls = vlc_https_connect_i11e(mgr->creds, host, port, &http2);
if (tls == NULL)
return NULL;
if (http2) if (http2)
{ {
struct vlc_h2_conn *conn2 = vlc_h2_conn_create(tls); struct vlc_h2_conn *conn2 = vlc_h2_conn_create(tls);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment