diff mbox series

[FFmpeg-devel] avformat/http: double header length to 8192

Message ID DBAPR08MB5685C5E9FFBD80E954DADD96B2340@DBAPR08MB5685.eurprd08.prod.outlook.com
State New
Headers show
Series [FFmpeg-devel] avformat/http: double header length to 8192
Related show


Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Alexandru Mihaiuc Sept. 27, 2020, 9:53 p.m. UTC
The old length of 4096 chars for the headers is not enough when sites
expect a significant amount of cookies - for example microsoftstream.

Signed-off-by: foxmsft <foxmsft@hotmail.com>
 libavformat/http.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff mbox series


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.