apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56950] New: Return success if socket is already closed
Date Wed, 10 Sep 2014 18:52:56 GMT

            Bug ID: 56950
           Summary: Return success if socket is already closed
           Product: APR
           Version: HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR
          Assignee: bugs@apr.apache.org
          Reporter: tc+asf@travislists.com

Created attachment 31991
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31991&action=edit
Return success if socket is already closed


The attached patch, which applies cleanly to APR HEAD, addresses an issue we
experienced in using APR with the FreeSWITCH project.  We've been running this
patch in FreeSWITCH's version of APR for years and would like to see it
included upstream if possible.  Please let us know your thoughts and if any
changes are appropriate we'll be happy to make them and propose a revised

The patch series being proposed here is also available on the master branch of
this repository:


Author: Anthony Minessale <anthm@freeswitch.org>
Date:   Tue Aug 27 13:59:24 2013 -0400

    Return success if socket is already closed

    Prior to this commit, socket_cleanup would return an error if the
    socket had already been closed.  With this commit we return success

    This is useful, for example, if a socket is closed manually and we
    then try to close it again as part of the cleanup of a pool.

    Signed-off-by: Anthony Minessale <anthm@freeswitch.org>
    Signed-off-by: Travis Cross <tc@traviscross.com>

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org

View raw message