ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-1494

C client: socket leak after receive timeout in zookeeper_interest()

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.2, 3.3.5
    • Fix Version/s: 3.4.4, 3.5.0
    • Component/s: c client
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In zookeeper_interest(), we set zk->fd to -1 without closing it when timeout happens. Instead we should let handle_socket_error_msg() function take care of closing the socket properly.

      --Michi

      1. ZOOKEEPER-1494.patch
        0.8 kB
        Mahadev konar
      2. ZOOKEEPER-1494.patch
        0.8 kB
        Michi Mutsuzaki
      3. ZOOKEEPER-1494-3.4.patch
        0.8 kB
        Michi Mutsuzaki

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Michi Mutsuzaki
            Reporter:
            Michi Mutsuzaki
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development