Permalink
Commits on Jan 6, 2017
  1. eventsapi: Use `getaddrinfo` instead of `gethostbyname`

    `gethostbyname` is not thread safe. Use `getaddrinfo` to avoid
    any race or segfault while sending events
    
    BUG: 1410313
    Change-Id: I164af1f8eb72501fb0ed47445e68d896f7c3e908
    Signed-off-by: Aravinda VK <avishwan@redhat.com>
    Reviewed-on: http://review.gluster.org/16327
    Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
    NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
    CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
    Smoke: Gluster Build System <jenkins@build.gluster.org>
    Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
    aravindavk committed with raghavendrahg Jan 5, 2017