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 <>
    Reviewed-by: Atin Mukherjee <>
    NetBSD-regression: NetBSD Build System <>
    CentOS-regression: Gluster Build System <>
    Smoke: Gluster Build System <>
    Reviewed-by: Raghavendra G <>
    aravindavk committed with raghavendrahg Jan 5, 2017