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

Port libs3 to MSVC using C++ VLA shims. I did not port the s3 utility. Remove any use of select(), which isn't fit for purpose in modern code. #100

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

ned14
Copy link

@ned14 ned14 commented Jul 24, 2020

Hi, firstly thanks very much for libs3, it avoided using the not great AWS C++ SDK, a real boon.

This PR comes from the port of the cmake hunter edition of your library. It is therefore not usable as-is to you. However, I opened it so you and anyone else who might read this can pick through it for any useful bits, the obvious one being MSVC build compatibility.

I also removed anything using select(), which is unfit for use in modern high fd count programs. I rewrote the functions which need to wait on many fds to signal to use the libcurl API for that. This also let me remove including <winsock2.h> in your primary interface file just to define fdset, as that is a highly polluting header.

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.

3 participants