Michael
9cd47dd2aa
Small code enhancements
2018-08-06 20:00:03 +02:00
Marco Jantke
e31c85aace
avoid retries when any data was written to the backend
2018-06-19 13:56:04 +02:00
Marco Jantke
ef4aa202d0
Fix high memory usage in retry middleware
2018-01-26 18:22:03 +01:00
SALLEYRON Julien
5b24403c8e
Don't panic if ResponseWriter does not implement CloseNotify
2018-01-04 11:18:03 +01:00
SALLEYRON Julien
3e13ebec93
We need to flush the end of the body when retry is streamed
2018-01-02 16:02:03 +01:00
Ludovic Fernandez
05a9350e57
Use contants from http package.
2017-11-20 09:40:03 +01:00
Marco Jantke
dae7e7a80a
add RetryAttempts to AccessLog in JSON format
2017-08-28 12:50:02 +02:00
Ludovic Fernandez
759c269dee
Code cleaning.
2017-08-18 02:18:02 +02:00
Marco Jantke
f79317a435
retry only on real network errors
...
Now retries only happen when actual network errors occur and not only
anymore based on the HTTP status code. This is because the backend could
also send this status codes as their normal interface and in that case
we don't want to retry.
2017-06-19 20:13:46 +02:00
Marco Jantke
e007bb7546
add metrics for backend_retries_total
2017-06-07 08:56:50 +02:00