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
F18809746: D15660.id37741.diff
Sun, Oct 19, 4:31 PM
F18772125: D15660.id37740.diff
Thu, Oct 9, 12:27 AM
F18698802: D15660.id.diff
Sat, Sep 27, 11:53 AM
F18674427: D15660.id.diff
Thu, Sep 25, 2:55 PM
F18673100: D15660.diff
Thu, Sep 25, 9:20 AM
F18667849: D15660.diff
Wed, Sep 24, 12:53 PM
F18608997: D15660.diff
Sep 14 2025, 2:19 AM
F18602579: D15660.diff
Sep 13 2025, 3:32 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.