Skip to content

Negotiate secure connection per current security configuration to rep… - #1

Open
communityds-kenneth wants to merge 1 commit into
communityds:masterfrom
communityds-kenneth:tls-negotiation-fix
Open

communityds-kenneth wants to merge 1 commit into
communityds:masterfrom
communityds-kenneth:tls-negotiation-fix

Conversation

@communityds-kenneth

Copy link
Copy Markdown

…orting server infrastructure; resolves internal task 48115252

…orting server infrastructure; resolves internal task 48115252

@SonOfHarris SonOfHarris left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As those curlopts are specific to the destination they need to be specified as options rather than being hard coded. Add a $curl_options protected property on RESTRequest and then use curl_setopt_array. Set the options at the start of the setCurlOpts function to ensure a developer can not override what is already set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants