[Asterisk-code-review] ast careful fwrite to support EPIPE gracefully (asterisk[13])

Joshua Colp asteriskteam at digium.com
Thu Jan 26 11:39:58 CST 2017


Joshua Colp has posted comments on this change. ( https://gerrit.asterisk.org/4824 )

Change subject: ast_careful_fwrite to support EPIPE gracefully
......................................................................


Patch Set 1: Code-Review-1

For the write case the following code is used:

                        if (errno == EPIPE) {
#ifndef STANDALONE
                                ast_debug(1, "write() failed due to reading end being closed: %s\n", strerror(errno));
#endif

I think mirroring that would be useful so we can still see it in debug.

-- 
To view, visit https://gerrit.asterisk.org/4824
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I6a67335cd6526608bb9b78f796c626b1677664b8
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Kirill Katsnelson <kkm at smartaction.com>
Gerrit-Reviewer: Anonymous Coward #1000019
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-HasComments: No



More information about the asterisk-code-review mailing list