You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to stop http-client from retrying on NoResponseDataReceived (see #495 for the context), but it didn't work:
httpManager <- newTlsManagerWith $ tlsManagerSettings
{ managerRetryableException =\e -> traceShow e $case fromException e ofJust (HttpExceptionRequest _ NoResponseDataReceived) ->False
_ -> managerRetryableException defaultManagerSettings e
}
I don't even see the trace. The reason is that here we fallback to the defaultManagerSettings instead of the provided settings. I'd expect something like this:
|otherwise-> managerRetryableException set e
instead of
|otherwise-> managerRetryableException defaultManagerSettings e
The text was updated successfully, but these errors were encountered:
I tried to stop
http-client
from retrying onNoResponseDataReceived
(see #495 for the context), but it didn't work:I don't even see the trace. The reason is that here we fallback to the
defaultManagerSettings
instead of the provided settings. I'd expect something like this:instead of
The text was updated successfully, but these errors were encountered: