Page MenuHomePhabricator

Support arbitrary cURL options, for Kerberos auth
Closed, ResolvedPublic

Description

See PHI1726. This issue requests a way to make Kerberos-authenticated HTTP requests from an arc context.

This is generally a poor fit for the upstream (in particular, I can't actually test it) but the patch is so straightforward that I'm comfortable making the change until some more obvious peril presents itself. This task largely exists to explain why there's going to be a low-level API method on HTTPSFuture with no callers.

In the issue environment, a minimal functional caller only needs access to curl_setopt() to set these options:

curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_GSSNEGOTIATE);
curl_setopt($curl, CURLOPT_USERPWD, ":");

Exposing curl_setopt() via an API on HTTPSFuture will support this use case.

Revisions and Commits

Restricted Differential Revision

Event Timeline

epriestley triaged this task as Wishlist priority.May 14 2020, 3:54 PM
epriestley created this task.
epriestley added a revision: Restricted Differential Revision.May 14 2020, 4:14 PM
epriestley closed this task as Resolved by committing Restricted Diffusion Commit.May 14 2020, 4:16 PM
epriestley added a commit: Restricted Diffusion Commit.