From b2d813a9e5d813c5d8111ff6bedbcea881dc70a9 Mon Sep 17 00:00:00 2001 From: Jacob Quinn Date: Sat, 21 Sep 2024 16:28:43 -0600 Subject: [PATCH] Try fix w/ SubArray --- src/client.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.jl b/src/client.jl index ab6c194..713a385 100644 --- a/src/client.jl +++ b/src/client.jl @@ -201,7 +201,7 @@ function c_on_response_headers(stream, header_block, header_array, num_headers, return Cint(0) end -writebuf(body, maxsize=length(body) == 0 ? typemax(Int64) : length(body)) = Base.GenericIOBuffer{Vector{UInt8}}(body, true, true, true, false, maxsize) +writebuf(body, maxsize=length(body) == 0 ? typemax(Int64) : length(body)) = Base.GenericIOBuffer{AbstractVector{UInt8}}(body, true, true, true, false, maxsize) const on_response_header_block_done = Ref{Ptr{Cvoid}}(C_NULL)