Skip to content

dgram: pass null as error on successful send() - #5929

Merged
cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:send-err
Mar 28, 2016
Merged

cjihrig merged 1 commit into
nodejs:masterfrom
cjihrig:send-err

Conversation

@cjihrig

@cjihrig cjihrig commented Mar 28, 2016

Copy link
Copy Markdown
Contributor

Pull Request check-list

Please make sure to review and check all of these items:

  • Does make -j8 test (UNIX) or vcbuild test nosign (Windows) pass with
    this change (including linting)?
  • Is the commit message formatted according to CONTRIBUTING.md?
  • If this change fixes a bug (or a performance problem), is a regression
    test (or a benchmark) included?
  • Is a documentation update included (if this change modifies
    existing APIs, or introduces new ones)?

Affected core subsystem(s)

dgram

Description of change

Prior to c9fd9e2, UDP sockets would callback with a null error on successful send() calls. The current behavior is to pass 0 as the error. This commit restores the previous, more expected behavior.

@cjihrig cjihrig added semver-major PRs that contain breaking changes and should be released in the next major version. dgram Issues and PRs related to UDP and the dgram module. labels Mar 28, 2016
@evanlucas

Copy link
Copy Markdown
Contributor

LGTM if CI is happy

@Trott

Trott commented Mar 28, 2016

Copy link
Copy Markdown
Member

LGTM if CI doesn't reveal anything interesting

@mscdex

mscdex commented Mar 28, 2016

Copy link
Copy Markdown
Contributor

Prior to c9fd9e2, UDP sockets
would callback with a null error on successful send() calls. The
current behavior is to pass 0 as the error. This commit restores
the previous, more expected behavior.

PR-URL: nodejs#5929
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
@cjihrig
cjihrig merged commit 4bc1ccc into nodejs:master Mar 28, 2016
@cjihrig

cjihrig commented Mar 28, 2016

Copy link
Copy Markdown
Contributor Author

Thanks for the reviews. Landed in 4bc1ccc.

@cjihrig
cjihrig deleted the send-err branch March 28, 2016 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dgram Issues and PRs related to UDP and the dgram module. semver-major PRs that contain breaking changes and should be released in the next major version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants