Skip to content

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

Closed
bsnote wants to merge 1 commit into
curl:masterfrom
bsnote:reqdata
Closed

bsnote wants to merge 1 commit into
curl:masterfrom
bsnote:reqdata

Conversation

@bsnote

@bsnote bsnote commented Oct 27, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown

@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

bagder commented Oct 27, 2016

Copy link
Copy Markdown
Member

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.

3 participants