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

docs: fix req->data in multi-uv example #1088

Closed
wants to merge 1 commit into from
Closed

Conversation

bsnote
Copy link
Contributor

@bsnote bsnote commented Oct 27, 2016

Even though the address of curl_context_t struct and the address of its first field (poll_handle) coincide, the sockfd field is not always allocated immediately after the poll_handle field. See §9.2 clause 12 in the 1998 or 2003 C++ standards:

Implementation alignment requirements might cause two adjacent members not to be allocated immediately after each other;

@mention-bot
Copy link

@bsnote, thanks for your PR! By analyzing the history of the files in this pull request, we identified @captain-caveman2k, @clemensg and @valdemon to be potential reviewers.

@bagder bagder closed this in 50ef91b Oct 27, 2016
@bagder
Copy link
Member

bagder commented Oct 27, 2016

thanks!

@bsnote bsnote deleted the reqdata branch November 2, 2016 08:33
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants