1. 17 Nov, 2016 6 commits
    • Jérôme Poulin's avatar
      81286f92
    • Jérôme Poulin's avatar
      Add a switch to send log messages to syslog instead of stderr. · 44e64cba
      Jérôme Poulin authored
      - Correct some exit codes.
      - #include <syslog.h> can't be removed since we use LOG_* defines.
      - syslog/openlog/closelog do not need any special libraries.
      44e64cba
    • Krzysztof Kliś's avatar
      Merge pull request #4 from ticpu/more_fixes · 84a36ddd
      Krzysztof Kliś authored
      Correct possible hangs.
      84a36ddd
    • jerome.poulin's avatar
      Add a VIM modeline. · 62da2709
      jerome.poulin authored
      62da2709
    • jerome.poulin's avatar
      First call to splice should not block while writing to pipe. · 7c6b3b00
      jerome.poulin authored
      In certain condition, if the second call to splice does not write a full
      packet, the first call to splice can block since the pipe is full, to prevent
      this condition, we never block while writing to the pipe.
      7c6b3b00
    • jerome.poulin's avatar
      Do not update connection count in child handler. · 8444d3c0
      jerome.poulin authored
      Updating the connection count via systemd in child handler can cause a
      deadlock in certain conditions.
      
      (gdb) bt
      *0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
      *1  0x00007f6aa9a5752f in _L_lock_10524 () from /lib/x86_64-linux-gnu/libc.so.6
      *2  0x00007f6aa9a5515f in malloc_atfork (sz=140096092768344, caller=<optimized out>) at arena.c:181
      *3  0x00007f6aa9ad1427 in __GI___vasprintf_chk (result_ptr=0x7ffe17a2ef18, flags=1,
          format=0x401cf8 "STATUS=Ready. %d connections processed.\n", args=0x7ffe17a2ef20) at vasprintf_chk.c:48
      *4  0x00007f6aa9d95428 in sd_notifyf () from /lib/x86_64-linux-gnu/libsystemd.so.0
      *5  <signal handler called>
      *6  0x00007f6aa9a51792 in ptmalloc_unlock_all () at arena.c:270
      *7  0x00007f6aa9a931af in __libc_fork () at ../nptl/sysdeps/unix/sysv/linux/x86_64/../fork.c:223
      *8  0x0000000000401bba in server_loop ()
      *9  0x0000000000401201 in main ()
      8444d3c0
  2. 29 Oct, 2016 8 commits
  3. 28 Oct, 2016 1 commit
  4. 19 Dec, 2015 2 commits
  5. 21 Oct, 2015 1 commit
  6. 06 Apr, 2015 1 commit
  7. 12 Jul, 2014 1 commit
  8. 05 Jul, 2014 1 commit
  9. 03 Jul, 2014 2 commits
  10. 01 Jul, 2014 6 commits
  11. 25 Sep, 2012 1 commit
  12. 22 Aug, 2012 1 commit
  13. 20 Aug, 2012 1 commit
  14. 19 Aug, 2012 2 commits
  15. 13 Jun, 2012 2 commits
  16. 11 Jun, 2012 1 commit