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

[SR-10140] CoreFoundation does not map curl's sockets properly on Windows #3510

Closed
compnerd opened this issue Mar 21, 2019 · 0 comments
Closed
Assignees

Comments

@compnerd
Copy link
Collaborator

Previous ID SR-10140
Radar None
Original Reporter @compnerd
Type Sub-task
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Foundation
Labels Sub-task
Assignee @compnerd
Priority Medium

md5: f0df8df7865a91b2d5920eba09027413

Parent-Task:

  • SR-10736 Windows Support for Foundation

Issue Description:

The CoreFoundation cURL wrapper does not account for the Windows types being different from UNIX (sockets have type SOCKET which is a type alias for UINT_PTR which is roughly a type alias for uintptr_t. This will truncate the handle to the socket which can break WinSock.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 5, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant