Page MenuHomePhabricator

Add "HTTPSFuture->addCurlOption()" for raw access to "curl_setopt()"
ClosedPublic

Authored by epriestley on May 14 2020, 4:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 7:41 AM
Unknown Object (File)
Thu, Apr 25, 1:40 AM
Unknown Object (File)
Thu, Apr 11, 9:29 AM
Unknown Object (File)
Sat, Apr 6, 4:42 PM
Unknown Object (File)
Mar 29 2024, 11:37 AM
Unknown Object (File)
Mar 29 2024, 2:02 AM
Unknown Object (File)
Mar 28 2024, 1:15 AM
Unknown Object (File)
Mar 10 2024, 12:57 PM
Subscribers
None

Details

Summary

Fixes T13533. This is a narrow, fragile API for a particular Kerberos use case on one install.

Test Plan
  • Set a non-scalar key, got an exception.
  • Set <"duck", "quack">, got an exception from cURL that the value was invalid.
  • Set a bunch of made-up options to arbitrary values, no errors. cURL accepts anything so there's nothing we can do about this.
  • Set CURLOPT_NOBODY and saw the request behavior change, demonstrating that the call can produce effects.

Diff Detail

Repository
rARC Arcanist
Branch
curl1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 24423
Build 33652: Run Core Tests
Build 33651: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.May 14 2020, 4:15 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.