1. 28 Jul, 2018 1 commit
  2. 20 Jul, 2018 1 commit
    • Oliver Giles's avatar
      Ignore ECHILD in UnixEventPort::ChildSet::checkExits · 4c2796b0
      Oliver Giles authored
      If no child process has changed state, waitpid() returns zero. But if there
      are no more child processes at all, it returns -1 and sets errno to ECHILD.
      Since checkExits calls waitpid() in a loop, it must ignore ECHILD.
      
      +Unit test modified to exhibit the unexpected behaviour.
      4c2796b0
  3. 16 Jul, 2018 6 commits
  4. 15 Jul, 2018 3 commits
  5. 14 Jul, 2018 2 commits
  6. 13 Jul, 2018 1 commit
    • Harris Hancock's avatar
      cmake: Use search-specific-dirs-then-system-dirs idiom · df0fbbe3
      Harris Hancock authored
      An inconsistency was introduced with the previous fix to allow Cap'n Proto
      installations in system directories to be found by CapnProtoTargets.cmake:
      if the user installed Cap'n Proto in two locations, one of which is a
      system directory, e.g. /usr and /somewhere/else, and set
      PKG_CONFIG_PATH=/somewhere/else/lib/pkgconfig, the dependent project
      would use headers from /somewhere/else/include, but libraries from /usr/lib.
      
      This change resolves the inconsistency, allowing PKG_CONFIG_PATH to solely
      control the location of the desired installation of Cap'n Proto.
      df0fbbe3
  7. 30 Jun, 2018 3 commits
  8. 25 Jun, 2018 2 commits
  9. 24 Jun, 2018 2 commits
  10. 21 Jun, 2018 1 commit
  11. 20 Jun, 2018 1 commit
    • Kenton Varda's avatar
      Fix handling of disconnect during WebSocket::pumpTo(). · ce83d192
      Kenton Varda authored
      Before this change, if *either* the `from` or the `to` end of the pump threw a DISCONNECTED exception, we'd then try to call `to.disconnect()`. But if the exception had been thrown from `to` in the first place, then this would throw again, this time complaining about a previous write not having completed. But the whole point was always to propagate errors from the *receiving* end to the sending end. An error on the sending end should just propagate up the stack.
      ce83d192
  12. 13 Jun, 2018 6 commits
  13. 12 Jun, 2018 2 commits
  14. 11 Jun, 2018 2 commits
  15. 10 Jun, 2018 1 commit
  16. 09 Jun, 2018 1 commit
    • Kenton Varda's avatar
      Fix chunked body gather-write test. · b3096736
      Kenton Varda authored
      The braced array literals seem to be constructed as temporaries. The test passes in debug builds, but in optimized builds, the arrays have been overwritten by the time they are used.
      b3096736
  17. 08 Jun, 2018 1 commit
  18. 07 Jun, 2018 3 commits
  19. 05 Jun, 2018 1 commit