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

feat(http-client): retry closed connection errors #1336

Merged

Commits on Jan 28, 2022

  1. feat(http-client): Retry requests that failed with closed connection

    Requests that fail with closed connection errors (ECONNRESET, EPIPE) are
    automatically retried.
    
    - `ECONNRESET` (Connection reset by peer): A connection was forcibly
      closed by a peer.closed by a peer. This normally results from a loss
      of the connection on the remote socket due to a timeout or reboot.
      Commonly encountered via the http and net modules.
    
    - `EPIPE` (Broken pipe): A write on a pipe, socket, or FIFO for which
      there is no process to read the data. Commonly encountered at the net
      and http layers, indicative that the remote side of the stream being
      written to has been closed.
    
    Fixes: stripe#1040
    bpinto committed Jan 28, 2022
    Configuration menu
    Copy the full SHA
    d90ca74 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75e10df View commit details
    Browse the repository at this point in the history

Commits on May 9, 2022

  1. bump

    richardm-stripe committed May 9, 2022
    Configuration menu
    Copy the full SHA
    910ec3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    347f526 View commit details
    Browse the repository at this point in the history