From ad806652865f6c7ec1e27ac5d30d938400dbacf5 Mon Sep 17 00:00:00 2001
From: foxmsft <foxmsft@hotmail.com>
Date: Sun, 27 Sep 2020 17:53:05 +0200
Subject: [PATCH] avformat/http: double header length to 8192

Turns out that just 4096 chars for the headers is not enough when sites
expect a significant amount of cookies - for example microsoftstream.
---
 libavformat/http.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/http.h b/libavformat/http.h
index 5557ce9b58..ce1dc7d4eb 100644
--- a/libavformat/http.h
+++ b/libavformat/http.h
@@ -24,7 +24,7 @@
 
 #include "url.h"
 
-#define HTTP_HEADERS_SIZE 4096
+#define HTTP_HEADERS_SIZE 8192
 
 /**
  * Initialize the authentication state based on another HTTP URLContext.
-- 
2.28.0.windows.1

