Aaron Denney over on Slack commented that this may be an issue with some low-level bindings, so if this is not appropriate here, I will post the issue elsewhere (Julia?).
The following minimal example
using HTTP
function get_data(::HTTP.Request)
data = rand(UInt8, 3_000_000_000)
return HTTP.Response(200, data)
end
const ROUTER = HTTP.Router()
HTTP.register!(ROUTER, "GET", "/", get_data)
server = HTTP.serve!(ROUTER, "127.0.0.1", 8008)
produces the following error when a request is made:
Aaron Denney over on Slack commented that this may be an issue with some low-level bindings, so if this is not appropriate here, I will post the issue elsewhere (Julia?).
The following minimal example
produces the following error when a request is made:
Tested on