File 2593-inets-Enable-stronger-Dialyzer-checks-in-httpc_handl.patch of Package erlang
From 4868c38d1653ee9389ec024214509661818baf2a Mon Sep 17 00:00:00 2001
From: Luca Favatella <luca.favatella@erlang-solutions.com>
Date: Fri, 16 Mar 2018 21:26:53 +0000
Subject: [PATCH 3/9] inets: Enable stronger Dialyzer checks in httpc_handler
---
lib/inets/src/http_client/httpc_handler.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/inets/src/http_client/httpc_handler.erl b/lib/inets/src/http_client/httpc_handler.erl
index 327aec4baa..8311d1ed76 100644
--- a/lib/inets/src/http_client/httpc_handler.erl
+++ b/lib/inets/src/http_client/httpc_handler.erl
@@ -58,7 +58,7 @@
mfa, % {Module, Function, Args}
pipeline = queue:new() :: queue:queue(),
keep_alive = queue:new() :: queue:queue(),
- status, % undefined | new | pipeline | keep_alive | close | {ssl_tunnel, Request}
+ status :: undefined | new | pipeline | keep_alive | close | {ssl_tunnel, request()},
canceled = [], % [RequestId]
max_header_size = nolimit :: nolimit | integer(),
max_body_size = nolimit :: nolimit | integer(),
--
2.16.3