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

wants to merge 1 commit into


None yet

3 participants

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;
@bsnote bsnote docs: fix req->data in multi-uv example

@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 added a commit that closed this pull request Oct 27, 2016
@bsnote @bagder bsnote + bagder docs: fix req->data in multi-uv example
Closes #1088
@bagder bagder closed this in 50ef91b Oct 27, 2016
bagder commented Oct 27, 2016


@bsnote bsnote deleted the bsnote:reqdata branch Nov 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment