[libsoup] Revert "Renable advertising brotli support"



commit 22a11bdb8109e79d527c0e18633c54beca3c03e5
Author: Patrick Griffis <pgriffis igalia com>
Date:   Thu May 20 10:53:52 2021 -0500

    Revert "Renable advertising brotli support"
    
    This reverts commit d58335ed3ca1eb7a20dc1703ad100788e2586e3a.

 libsoup/content-decoder/soup-content-decoder.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/libsoup/content-decoder/soup-content-decoder.c b/libsoup/content-decoder/soup-content-decoder.c
index ac680d6f..b6684575 100644
--- a/libsoup/content-decoder/soup-content-decoder.c
+++ b/libsoup/content-decoder/soup-content-decoder.c
@@ -178,7 +178,10 @@ soup_content_decoder_content_processor_init (SoupContentProcessorInterface *proc
 
 /* This is constant for now */
 #ifdef WITH_BROTLI
-#define ACCEPT_ENCODING_HEADER "gzip, deflate, br"
+/* Don't advertise br support atm until some edge cases are resolved:
+   https://gitlab.gnome.org/GNOME/libsoup/issues/146 */
+/* #define ACCEPT_ENCODING_HEADER "gzip, deflate, br" */
+#define ACCEPT_ENCODING_HEADER "gzip, deflate"
 #else
 #define ACCEPT_ENCODING_HEADER "gzip, deflate"
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]