1. 27 Jun, 2019 3 commits
    • Thomas Markwalder's avatar
      [#691,!395] HAService now registers HTTP client sockets with InterfaceMgr · ff3d254d
      Thomas Markwalder authored
      src/hooks/dhcp/high_availability/ha_service.cc
      
          HAService
              clientConnectHandler() - new client connection connect callback
              clientCloseHandler() - new client connection close callback
      
              asyncSendLeaseUpdate()
              asyncSendHeartbeat()
              asyncDisableDHCPService()
              asyncEnableDHCPService()
              asyncSyncLeasesInternal() - added new call backs to
              HttpClient::asyncSendRequest() invocation
      
      src/lib/http/client.cc
          Connection::resetState() - added reset of close callback
      ff3d254d
    • Thomas Markwalder's avatar
      [#691,!395] Add Connection socket exposure and close_callback handler · 770aeae6
      Thomas Markwalder authored
      Addes close_callback and exposes Connectin's TCP socket to it
      and connect_callback.
      
      src/lib/http/client.h b/src/lib/http/client.h
          HttpClient:
              Added second parameter, socket FD, to ConnectHandler
              Added CloseHandler typedef
      
              asyncSendRequest() - added close_callback parameter
      
      src/lib/http/client.cc
          Connection - added close_callback parameter to all
          methods that accept connect_callback parameter
      
          Added invocation of close_callback wherever the connection's
          socket is closed.
      
      src/lib/http/tests/server_client_unittests.cc
          TEST_F(HttpClientTest, connectCloseCallbacks) - new test that
          verifies connect and close callback operations
      770aeae6
    • Michal Nowikowski's avatar
      9240a766
  2. 26 Jun, 2019 7 commits
  3. 25 Jun, 2019 5 commits
  4. 24 Jun, 2019 12 commits
  5. 22 Jun, 2019 13 commits