diff --git a/libavformat/http.c b/libavformat/http.c
index 6c6ff5cf81059f2faa9d4680eada185b79d7bb5c..b2f2ea97f2eda3bda1f12a43956c769e06b26e68 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -669,6 +669,7 @@ URLProtocol ff_https_protocol = {
     .url_seek            = http_seek,
     .url_close           = http_close,
     .url_get_file_handle = http_get_file_handle,
+    .url_shutdown        = http_shutdown,
     .priv_data_size      = sizeof(HTTPContext),
     .priv_data_class     = &https_context_class,
     .flags               = URL_PROTOCOL_FLAG_NETWORK,