Skip to content

Commit

Permalink
Try fix w/ SubArray
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnj committed Sep 21, 2024
1 parent 3b5ebce commit b2d813a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b2d813a

Please sign in to comment.