Project

General

Profile

Actions

Bug #6001

closed

Retry idempotent HTTP requests for more errors

Added by drbrain (Eric Hodel) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
ruby -v:
ruby 2.0.0dev (2012-02-11 trunk 34547) [x86_64-darwin11.2.0]
Backport:
[ruby-core:42495]

Description

The net-http-persistent gem implements #5790 / #5813 but for more error types:

https://github.com/drbrain/net-http-persistent/blob/1b5f84d020/lib/net/http/persistent.rb#L811-813

These additional error types should be rescued by net/http and retried.


Files

net.http.retry_errors.patch (661 Bytes) net.http.retry_errors.patch Oops, fixed patch. drbrain (Eric Hodel), 02/11/2012 09:57 AM
net.http.retry_errors.2.patch (3.66 KB) net.http.retry_errors.2.patch Improved patch - separates open from read errors drbrain (Eric Hodel), 02/25/2012 05:04 AM

Related issues

Related to Ruby master - Bug #5790: net/http の EOFError と Keep-AliveClosed12/22/2011Actions
Related to Ruby master - Bug #5813: net/http's EOFError and Keep-AliveClosednaruse (Yui NARUSE)12/27/2011Actions
Related to Ruby master - Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}Closed12/15/2011Actions
Actions

Also available in: Atom PDF