Page MenuHomePhabricator

Decode "Content-Encoding: gzip" content
ClosedPublic

Authored by epriestley on Jan 31 2016, 12:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 6:41 AM
Unknown Object (File)
Sun, Dec 8, 1:18 PM
Unknown Object (File)
Thu, Dec 5, 11:13 AM
Unknown Object (File)
Wed, Dec 4, 1:33 AM
Unknown Object (File)
Wed, Dec 4, 1:33 AM
Unknown Object (File)
Wed, Dec 4, 1:33 AM
Unknown Object (File)
Wed, Dec 4, 12:13 AM
Unknown Object (File)
Mon, Dec 2, 10:44 AM
Subscribers
None

Details

Summary

Fixes T10228. When we receive a gzipped request (rare, but git may send them), decode it before providing it to the application.

This fixes the issue with proxying certain requests described in T10228.

Test Plan
  • Applied this fix in production.
  • Cloned a problem repository cleanly.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Decode "Content-Encoding: gzip" content.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.

shititquick

This revision is now accepted and ready to land.Jan 31 2016, 12:48 AM
This revision was automatically updated to reflect the committed changes.