1. 13 Dec, 2019 3 commits
  2. 05 Nov, 2019 4 commits
    • Marcin Siodelski's avatar
      [#964,!577] Two trivial fixes as a result of second review. · 628d7641
      Marcin Siodelski authored
      - Addeed asterisk in the changelog to mark it incompatible change.
      - Fixed comma character in the new line.
      628d7641
    • Thomas Markwalder's avatar
      [#964,!577] Revamped to detect and close OOB Connections · ed13fb5c
      Thomas Markwalder authored
      Rather than just unregistering the socket, we now actually close
      the Connection. This ensures we never end up with an unregistered
      but open connection.
      
      src/hooks/dhcp/high_availability/ha_service.*
          HAService::clientConnectHandler() - modified to call
          HttpClient::closeIfOutOfBandwidth().
      
      src/lib/http/client.*
          Connection - replaced isTransaction(int socket_fd) with
          isMySocket(int socket_fd)
      
          ConnectionPool - replaced isTransaction(int socket_fd) with
          closeIfOutOfBandwidth(int socket_fd)
      
          HttpClient - replaced isTransaction(int socket_fd) with
          closeIfOutOfBandwidth(int socket_fd)
      ed13fb5c
    • Thomas Markwalder's avatar
      [#964,!577] Added external socket ready handler to HAService · 16f37ca0
      Thomas Markwalder authored
      src/hooks/dhcp/high_availability/ha_service.*
          HAService::socketReadyHandler(int tcp_native_fd) - new handler for external socket ready
          callback. It detects out-of-transaction ready socket and unregisters it.
      
      src/lib/http/client.*
          isTransactionOngoing(int socket_fd) - new method to return true if any of the clients
          connections are using the socket in an ongoing transaction
      16f37ca0
    • Thomas Markwalder's avatar
      [#964,!577] Added socket descriptor parameter to IfaceMgr external callback handler · 14742a09
      Thomas Markwalder authored
      src/lib/dhcp/iface_mgr.*
          typedef SocketCallback - added socket descriptpor parameter
          Added socket fd to invocations of socket ready callback
      
      src/bin/dhcp4/dhcp4to6_ipc.*
          void Dhcp4to6Ipc::handler(int /* fd */)
      
      src/bin/dhcp6/dhcp6to4_ipc.*
          void Dhcp6to4Ipc::handler(int /* fd */)
      
           Dhcp6to4Ipc& ipc = Dhcp6to4Ipc::instance();
           Pkt6Ptr pkt;
      
      src/hooks/dhcp/high_availability/ha_service.*
          socketReadyHandler() - initial stub implementation of socket ready handler
      14742a09
  3. 22 Jul, 2019 1 commit
  4. 19 Jul, 2019 1 commit
  5. 27 Jun, 2019 2 commits
    • Thomas Markwalder's avatar
      [#691,!395] Addressed review comments 1 · de3af2b8
      Thomas Markwalder authored
          Added TIMEOUT_DEFAULT_HTTP_CLIENT_REQUEST
          Removed virtual from callback declarations
          Added commentary to http/client.h
      de3af2b8
    • 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
  6. 24 Jun, 2019 1 commit
  7. 11 Dec, 2018 1 commit
  8. 05 Nov, 2018 4 commits
  9. 19 Jul, 2018 1 commit
  10. 18 Jul, 2018 2 commits
  11. 10 Jul, 2018 1 commit
  12. 14 Jun, 2018 2 commits
  13. 08 Jun, 2018 2 commits