Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket configuration #3979

Merged
merged 9 commits into from
Sep 1, 2022
Merged

Commits on Aug 29, 2022

  1. Updated network dependency

    network-3.1.2.2 package exposes `StructLinger`, see
    haskell/network#491
    coot committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    74598cc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2830297 View commit details
    Browse the repository at this point in the history
  3. snocket: do not configure sockets in bind method

    Configuring sockets in `Ouroboros.Network.Snocket.bind` method has the
    disadvantage that systemd sockets, or outbound sockets (for which we do
    not use bind method) are left not configured.
    
    This patch removes sockets configuration in `bind` method, in a later
    commit it will be added as a diffusion level callbacks which configure
    the listening  sockets  (and thus accept sockets) as well as connection
    sockets.
    coot committed Aug 29, 2022
    Configuration menu
    Copy the full SHA
    0bbef16 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    251fcb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2022

  1. socket: added methods to configure sockets

    * `configureSocket`: used by listening and connection sockets by the
      connection manager
    * `configureSystemdSocket`: used by listening sockets passed through
      systemd socket activation
    * `configureOutboundSocket`: sued by connection sockets created by
      `connectTo`
    
    These methods are only used to configure `node-to-node` sockets; We
    don't do anything special to unix sockets or named pipes.
    coot committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    bf91434 View commit details
    Browse the repository at this point in the history
  2. subscription: exception handling

    Report exceptions thrown when configuring the socket.
    coot committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    65dfc9e View commit details
    Browse the repository at this point in the history
  3. subscription: configure sockets

    Use `Ouroboros.Network.Socket.configureSocket` to configure outbound
    sockets.
    coot committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    ccc6377 View commit details
    Browse the repository at this point in the history
  4. Increment zfs copy fail counters

    coot committed Aug 31, 2022
    Configuration menu
    Copy the full SHA
    8e11ee2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    61d03c2 View commit details
    Browse the repository at this point in the history