1. 03 Nov, 2017 1 commit
  2. 24 Oct, 2017 1 commit
  3. 23 Oct, 2017 2 commits
  4. 19 Oct, 2017 5 commits
  5. 18 Oct, 2017 3 commits
  6. 17 Oct, 2017 2 commits
  7. 16 Oct, 2017 1 commit
    • Marian Triebe's avatar
      Add possibility to register thread hooks · d8dc4018
      Marian Triebe authored
      Example:
      ```
      class my_thread_hooks : public thread_hook {
      public:
        my_thread_hooks(/*arguments...*/) {
          // ...
        }
        /// Called by the actor system once before starting any threads.
        virtual void init(actor_system&) {
          // ...
        }
      
        /// Called whenever the actor system has started a new thread.
        /// To access a reference to the started thread use `std::this_thread`.
        /// @warning must the thread-safe
        virtual void thread_started() {
          // ...
        }
      
        /// Called whenever a thread is about to quit.
        /// To access a reference to the terminating thread use `std::this_thread`.
        /// @warning must the thread-safe
        virtual void thread_terminates() {
          // ...
        }
      };
      // ...
      actor_system_config cfg{};
      cfg.add_add_thread_hook<my_thread_hooks>(/*arguments for constructor*/);
      // ...
      ```
      
      closes #603
      d8dc4018
  8. 12 Oct, 2017 1 commit
  9. 11 Oct, 2017 1 commit
    • Dominik Charousset's avatar
      Fix state cleanup in BASP broker · 4b358e63
      Dominik Charousset authored
      BASP needs to release all state kept for connection handles, because the
      OS re-uses socket IDs as soon as they are closed. Since the connection
      handle is the socket ID this leads to inconsitent state.
      4b358e63
  10. 09 Oct, 2017 2 commits
  11. 08 Oct, 2017 3 commits
  12. 06 Oct, 2017 3 commits
  13. 30 Sep, 2017 2 commits
  14. 29 Sep, 2017 4 commits
  15. 28 Sep, 2017 1 commit
    • Dominik Charousset's avatar
      Block SIGPIPE whenever calling OpenSSL · c6ec9d99
      Dominik Charousset authored
      This fixes the build with OpenSSL >= 1.1. We fall back to simply
      blocking SIGPIPE whenever calling OpenSSL since the BIO interface
      changed and the previous workaround no longer works.
      c6ec9d99
  16. 27 Sep, 2017 3 commits
  17. 26 Sep, 2017 2 commits
  18. 23 Sep, 2017 1 commit
  19. 22 Sep, 2017 2 commits