Page MenuHomePhabricator

Fix an issue with passing HTTP headers through in proxied cluster requests
ClosedPublic

Authored by epriestley on Apr 8 2016, 5:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 12:41 PM
Unknown Object (File)
Fri, Dec 20, 7:14 PM
Unknown Object (File)
Mon, Dec 9, 7:27 AM
Unknown Object (File)
Sat, Dec 7, 8:56 AM
Unknown Object (File)
Sun, Dec 1, 11:14 AM
Unknown Object (File)
Thu, Nov 28, 3:47 AM
Unknown Object (File)
Nov 20 2024, 3:34 PM
Unknown Object (File)
Nov 16 2024, 1:24 PM
Subscribers
None

Details

Summary

I think this fixes the Mercurial + HTTP cluster issue. PHP adds HTTP_ but we were not stripping it, so we would convert an X-Whatever-Zebra header into an Http-X-Whatever-Zebra header.

I don't think this behavior has changed? So maybe it just never worked? Git is more popular than Mercurial and SSH is easier to configure than HTTP, so it's plausible. I'll keep a careful eye on this when it deploys.

Test Plan
  • Set up local service-based Mercurial repository.
  • Tried to clone, got similar error to cluster.
  • Applied patch, clean clone.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Fix an issue with passing HTTP headers through in proxied cluster requests.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Apr 8 2016, 6:03 PM
This revision was automatically updated to reflect the committed changes.