1. 05 Feb, 2021 1 commit
  2. 20 Jan, 2021 2 commits
  3. 19 Jan, 2021 1 commit
  4. 14 Jan, 2021 1 commit
  5. 10 Jan, 2021 1 commit
  6. 08 Jan, 2021 1 commit
  7. 07 Jan, 2021 7 commits
  8. 30 Dec, 2020 2 commits
  9. 29 Dec, 2020 1 commit
  10. 28 Dec, 2020 1 commit
  11. 27 Dec, 2020 1 commit
    • Tachi's avatar
      Modernize CMakeLists.txt · 6cd4d7f2
      Tachi authored
      WIth this I'm trying to fix some of the issues pointed out in #827.
      
      Changes:
      
      Use add_compile_options() instead of modifying CMAKE_CXX_FLAGS.
      
      Use -Og instead of -O0
      (from https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html :
      [-Og] is a better choice than -O0 for producing debuggable code because
      some compiler passes that collect debug information are disabled at -O0)
      
      Fix LTO check (previously it would fail because it checked only
      CMAKE_CXX_FLAGS. This didn't work when properly enabling LTO
      through CMAKE_INTERPROCEDURAL_OPTIMIZATION).
      I'm not sure if I modified it correctly since I don't really understand
      what that check is trying to do in the first place.
      
      Check for Clang or GCC when applying compiler specific flags.
      
      This changes require CMake 3.9 or higher, but I don't think this will
      cause any issues.
      6cd4d7f2
  12. 10 Dec, 2020 1 commit
    • Ian Roddis's avatar
      Rest::Router add client disconnect handlers (#852) · 9a65f409
      Ian Roddis authored
      * - Adding Router::addDisconnectHandler to handle client disconnections.
      - Adding code to call handlers on client disconnection
      
      * - Adding test case for router addDisconnectHandler and associated functionality.
      
      * Changing to 2-space indentation and other formating changes to conform to LLVM style
      
      * More format changes
      Co-authored-by: default avatarIan Roddis <gitlab@ie2r.com>
      9a65f409
  13. 30 Nov, 2020 1 commit
  14. 29 Nov, 2020 2 commits
  15. 28 Nov, 2020 1 commit
  16. 27 Nov, 2020 4 commits
  17. 26 Nov, 2020 2 commits
  18. 25 Nov, 2020 1 commit
  19. 24 Nov, 2020 2 commits
  20. 23 Nov, 2020 1 commit
  21. 18 Nov, 2020 3 commits
    • Ian Roddis's avatar
      Add peer (#838) · e171e79d
      Ian Roddis authored
      * Adding an incrementing peer ID for easier connection identification on peer disconnect
      
      * Removing the private override of onDisconnection in http::Handler
      
      * Adding unit test for onDisconnection
      
      * - Exposing a peer handle from the ResponseWriter
      - Making disconnection test a bit more deterministic; there appears to be a race condition between server.shutdown() returning and the onDisconnection() callback succeeding.
      - Adding Active Connections info in test case to demonstrate usage.
      
      * Reducing verbosity of test output
      
      * Fixing getID vs getId call, removing block comment around other tests
      Co-authored-by: default avatarIan Roddis <gitlab@ie2r.com>
      e171e79d
    • Dennis Jenkins's avatar
      Revert "Adding a Peer ID to identify connections (#836)" (#837) · 551cbb47
      Dennis Jenkins authored
      This reverts commit eb9102dd.
      551cbb47
    • Ian Roddis's avatar
      Adding a Peer ID to identify connections (#836) · eb9102dd
      Ian Roddis authored
      * Adding an incrementing peer ID for easier connection identification on peer disconnect
      
      * Removing the private override of onDisconnection in http::Handler
      
      * Adding unit test for onDisconnection
      
      * - Exposing a peer handle from the ResponseWriter
      - Making disconnection test a bit more deterministic; there appears to be a race condition between server.shutdown() returning and the onDisconnection() callback succeeding.
      - Adding Active Connections info in test case to demonstrate usage.
      
      * Reducing verbosity of test output
      Co-authored-by: default avatarIan Roddis <gitlab@ie2r.com>
      eb9102dd
  22. 28 Oct, 2020 1 commit
  23. 17 Oct, 2020 1 commit
  24. 16 Oct, 2020 1 commit
    • Benjamin Beichler's avatar
      fix chunked transfer decoding · 88a30838
      Benjamin Beichler authored
      - usage of complete body_.size() seems is wrong (only valid if there is one chunk?)
      - use separate var to count already received bytes of chunk
      88a30838