qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Stitcher (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Closed: (QPID-1722) Use of gethostbyname() in Socket.cpp isn't thread safe
Date Mon, 09 Mar 2009 21:23:50 GMT

     [ https://issues.apache.org/jira/browse/QPID-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Stitcher closed QPID-1722.
---------------------------------

    Resolution: Fixed

> Use of gethostbyname() in Socket.cpp isn't thread safe
> ------------------------------------------------------
>
>                 Key: QPID-1722
>                 URL: https://issues.apache.org/jira/browse/QPID-1722
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker, C++ Client
>    Affects Versions: M1, M2, M2.1, M3, M4
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: M5
>
>
> Using gethostbyname() like this in multiple threads at once (for instance connecting
simultaneously) may cause client/broker crashes
> The best fix is to replace the old API used with the re-entrant and more featureful getaddrinfo()
API

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message