Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2759

afb-daemon doesn't close correctly when client hangup

XMLWordPrintable

      The commit 51ab7c2f95d6d459302423a57cc617021ef6126d fixing SPEC-2651 introduced a regression that makes the daemon loop on client disconnection but not closing it. See below:

      epoll_wait(5, [{EPOLLIN|EPOLLHUP, {u32=14794336, u64=14794336}}], 5, -1) = 1
      clock_gettime(CLOCK_BOOTTIME, {tv_sec=17522, tv_nsec=90811826}) = 0
      readv(10, [{iov_base="", iov_len=2}], 1) = 0
      epoll_wait(5, [{EPOLLIN|EPOLLHUP, {u32=14794336, u64=14794336}}], 5, -1) = 1
      clock_gettime(CLOCK_BOOTTIME, {tv_sec=17522, tv_nsec=90867020}) = 0
      readv(10, [{iov_base="", iov_len=2}], 1) = 0
      epoll_wait(5, [{EPOLLIN|EPOLLHUP, {u32=14794336, u64=14794336}}], 5, -1) = 1
      clock_gettime(CLOCK_BOOTTIME, {tv_sec=17522, tv_nsec=90922228}) = 0
      readv(10, [{iov_base="", iov_len=2}], 1) = 0
      epoll_wait(5, [{EPOLLIN|EPOLLHUP, {u32=14794336, u64=14794336}}], 5, -1) = 1
      clock_gettime(CLOCK_BOOTTIME, {tv_sec=17522, tv_nsec=90977075}) = 0
      readv(10, [{iov_base="", iov_len=2}], 1) = 0
      epoll_wait(5, [{EPOLLIN|EPOLLHUP, {u32=14794336, u64=14794336}}], 5, -1) = 1
      clock_gettime(CLOCK_BOOTTIME, {tv_sec=17522, tv_nsec=91031855}) = 0
      readv(10, [{iov_base="", iov_len=2}], 1) = 0
      ...
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol-iot jose bollo
            jobol-iot jose bollo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: