1. 05 Oct, 2012 1 commit
  2. 04 Oct, 2012 3 commits
  3. 03 Oct, 2012 5 commits
  4. 23 Sep, 2012 1 commit
  5. 21 Sep, 2012 6 commits
  6. 17 Sep, 2012 4 commits
  7. 12 Sep, 2012 1 commit
  8. 11 Sep, 2012 1 commit
    • Dimitris Aragiorgis's avatar
      Fix bug that causes nfdhcpd to freeze · 8d3dcc3b
      Dimitris Aragiorgis authored
      
      
      nfdhcpd opens a socket during init. socket.send() blocks in case
      SO_SNDBUF is full. This might happen when packages are pushed to
      buffer but never consumed (e.g. VM is shuting down).
      
      To fix this we use non-blocking send with MSG_DONTWAIT and catch
      the error when the resource is not available.
      
      In order to empty the socket buffer we close the socket and re-open it.
      To this end we need CAP_NET_RAW capability otherwise operation
      (socket.socket()) is not permitted.
      
      Add various logging messages (during client creation, opening a
      socket, etc.)
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      8d3dcc3b
  9. 06 Sep, 2012 11 commits
  10. 05 Sep, 2012 2 commits
  11. 30 Aug, 2012 1 commit
  12. 07 Aug, 2012 3 commits
  13. 06 Aug, 2012 1 commit