Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

curl: add new proxy constants #696

Closed
wants to merge 1 commit into from
Closed

curl: add new proxy constants #696

wants to merge 1 commit into from

Conversation

LinusU
Copy link
Contributor

@LinusU LinusU commented Jun 17, 2014

Thanks to Dr. Scre

Fixes #65469

@smalyshev
Copy link
Contributor

yes, definitely needs ifdefs

@hayleyxyz
Copy link

Any update?

@LinusU
Copy link
Contributor Author

LinusU commented Jan 13, 2015

@Kimoi Do you need it? It should be really easy to add the if in...

@hayleyxyz
Copy link

I'm currently defining it myself in my code, that isn't ideal though.

Theres an answer on SO about this with quite a few upvotes so I think it would be worth adding: http://stackoverflow.com/a/18293978

@LinusU
Copy link
Contributor Author

LinusU commented Jan 14, 2015

Fixed it and rebased on latest master

@jpauli
Copy link
Member

jpauli commented Feb 23, 2015

Merged against 5.5

@jpauli jpauli closed this Feb 23, 2015
@@ -844,6 +844,11 @@ PHP_MINIT_FUNCTION(curl)
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS4);
REGISTER_CURL_CONSTANT(CURLPROXY_SOCKS5);

#if LIBCURL_VERSION_NUM >= 0x071200 /* Available since 7.18.0 */
Copy link
Contributor

Choose a reason for hiding this comment

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

why does the comment say, available since 7.18 and the version-num const compares against 7.12?

Copy link
Member

Choose a reason for hiding this comment

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

0X12 == 18(dec)

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.

None yet

5 participants