From 4cfb25fe865502eed066a196aca35c376637babc Mon Sep 17 00:00:00 2001 From: Alexey Nikitin Date: Fri, 24 Apr 2026 08:48:10 +0300 Subject: [PATCH] fix(http): gets rid of opaqueness for the Mint.HTTP.t() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as it causes the infinite loop hanging of dialyzer on OTP-26 Co-authored-by: Eric Meadows-Jönsson --- lib/mint/http.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mint/http.ex b/lib/mint/http.ex index 0178d58d..71c1c6ff 100644 --- a/lib/mint/http.ex +++ b/lib/mint/http.ex @@ -126,7 +126,7 @@ defmodule Mint.HTTP do @behaviour Mint.Core.Conn - @opaque t() :: Mint.HTTP1.t() | Mint.HTTP2.t() + @type t() :: Mint.HTTP1.t() | Mint.HTTP2.t() | Mint.UnsafeProxy.t() defguardp is_data_message(message) when elem(message, 0) in [:ssl, :tcp] and tuple_size(message) == 3