aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2015-09-10 12:26:43 +0200
committerIngela Anderton Andin <[email protected]>2015-09-10 12:26:43 +0200
commite62a1735cb593fe1dac8b93b7573a0f64c6cca74 (patch)
treec151966bd1087ead603033449e24e296727c2588 /lib/inets
parentfacf240769311d63564921b20e2fa049c64073d5 (diff)
parent63f3bcc5e1d9290b3b3d6d5cfdd5a7ae53732cd6 (diff)
downloadotp-e62a1735cb593fe1dac8b93b7573a0f64c6cca74.tar.gz
otp-e62a1735cb593fe1dac8b93b7573a0f64c6cca74.tar.bz2
otp-e62a1735cb593fe1dac8b93b7573a0f64c6cca74.zip
Merge branch 'ia/pr/813/OTP-12975' into maint
* ia/pr/813/OTP-12975: Correct conversion from seconds to milliseconds
Diffstat (limited to 'lib/inets')
-rw-r--r--lib/inets/src/http_client/httpc_response.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inets/src/http_client/httpc_response.erl b/lib/inets/src/http_client/httpc_response.erl
index 10af1949a4..4bf2ba2b9b 100644
--- a/lib/inets/src/http_client/httpc_response.erl
+++ b/lib/inets/src/http_client/httpc_response.erl
@@ -328,7 +328,7 @@ status_service_unavailable(Response = {_, Headers, _}, Request) ->
undefined ->
status_server_error_50x(Response, Request);
Time when (length(Time) < 3) -> % Wait only 99 s or less
- NewTime = list_to_integer(Time) * 100, % time in ms
+ NewTime = list_to_integer(Time) * 1000, % time in ms
{_, Data} = format_response(Response),
{retry, {NewTime, Request}, Data};
_ ->