1. 06 Feb, 2021 3 commits
  2. 05 Feb, 2021 1 commit
  3. 20 Jan, 2021 2 commits
  4. 19 Jan, 2021 1 commit
  5. 14 Jan, 2021 1 commit
  6. 10 Jan, 2021 1 commit
  7. 08 Jan, 2021 1 commit
  8. 07 Jan, 2021 7 commits
  9. 30 Dec, 2020 2 commits
  10. 29 Dec, 2020 1 commit
  11. 28 Dec, 2020 1 commit
  12. 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
  13. 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
  14. 30 Nov, 2020 1 commit
  15. 29 Nov, 2020 2 commits
  16. 28 Nov, 2020 1 commit
  17. 27 Nov, 2020 4 commits
  18. 26 Nov, 2020 2 commits
  19. 25 Nov, 2020 1 commit
  20. 24 Nov, 2020 2 commits
  21. 23 Nov, 2020 1 commit
  22. 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