Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
HTTP: Don't attempt to needlessly decompress redirect body #2798
This change fixes a regression where redirect body would needlessly be decompressed even though it was to be ignored anyway. As it happens this causes secondary issues since there appears to be a bug in apache2 that it in certain conditions generates a corrupt zlib response. The regression was created by commit: dbcced8
To reproduce the issue use a affectred curl version and attempt to:
With this change the problem disappears (read: the server bug is happily ignored).