add a CUSTOM_SOCKET_ERROR_FUNCTION define for SET_SOCKERRNO#21
Closed
omork wants to merge 2 commits intocurl:masterfrom
Closed
add a CUSTOM_SOCKET_ERROR_FUNCTION define for SET_SOCKERRNO#21omork wants to merge 2 commits intocurl:masterfrom
omork wants to merge 2 commits intocurl:masterfrom
Conversation
added 2 commits
May 20, 2011 15:25
…ssl 1.9.0 Otherwise I'd get linker errors for the missing "SSL_CTX_load_verify_locations" functions: --snip-- Debug/libcurl.lib(cyassl.obj): In function `cyassl_connect_step1': --snip-- external/curl-7.21.6/lib/cyassl.c(127): undefined reference to `.SSL_CTX_load_verify_locations' --snip-- external/curl-7.21.6/lib/cyassl.c(164): undefined reference to `.SSL_CTX_use_certificate_file' --snip-- external/curl-7.21.6/lib/cyassl.c(172): undefined reference to `.SSL_CTX_use_PrivateKey_file'
…ithout having to look like winsock
Member
|
Please send the patch(es) to the mailing list for review and discussion. |
Member
|
On Thu, 26 May 2011, omork wrote:
Can you please look at the current git repo after Yang Tse's reorg of defines And then, please take all follow-ups (and patch submissions) on the mailing / daniel.haxx.se |
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Not sure why github won't separate these commits, but the second one is new.
The platform I'm developing on doesn't have winsock.h or a standard errno for socket errors.
I need to be able to define my own sockerrno/set_sockerrno. This patch allows me to set it outside of the curl headers and it won't be clobbered.