Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#5942 closed enhancement (fixed)

Add retry after HTTP 502

Reported by: jpalmer Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: svn-trunk
Severity: normal Keywords: HTTP ESRI REST API


A follow-on to #5920/r28893, I've now found an Esri server that sometimes returns a 502 error. e.g

ogr2ogr -f "PostgreSQL" "PG:dbname=test" "" -nln ta_bdys

ERROR 1: HTTP error code : 502

This patch adds 502 to the list of error codes when a retry will be attempted.

Attachments (1)

500.patch (1.3 KB ) - added by jpalmer 8 years ago.

Download all attachments as: .zip

Change History (3)

by jpalmer, 8 years ago

Attachment: 500.patch added

comment:1 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

trunk r29037 "CPLHttpFetch(): add 502 to HTTP error codes that can be retried (#5942, patch by jpalmer)"

comment:2 by jpalmer, 8 years ago

Thanks Even!

Note: See TracTickets for help on using tickets.