SpecialUploadStash: Disable output gzipping when outputting remove scaled thumb
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 17 Mar 2016 22:22:00 +0000 (23:22 +0100)
committerOri.livneh <ori@wikimedia.org>
Thu, 17 Mar 2016 22:26:34 +0000 (22:26 +0000)
commit8eccca254d05772345ed9857a21ebe2817eaf454
treec49243b4ee7f17d7c9906fb69445d7472d5b505b
parentd79c3b36b93bd6f814d363f584caf8f1f9bed09d
SpecialUploadStash: Disable output gzipping when outputting remove scaled thumb

This is the only code path that wasn't calling wfResetOutputBuffers()
already. All other ones end up in outputLocalFile(), which calls
it via StreamFile::prepareForStream().

I can't really tell why this causes Varnish stuff to go bust, but it's
definitely the right thing to do anyway.

Bug: T130204
Change-Id: Ib6bc9c64c6c893fd7f5a5d906da32d9bee509a98
includes/specials/SpecialUploadStash.php