You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2024. It is now read-only.
Reporting here because it appears to be an issue in async-io.
Here's how to reproduce:
require"async/reactor"require"async/io/shared_endpoint"require"async/http/endpoint"require"async/http/server"Async.logger.debug!endpoint=Async::HTTP::Endpoint.parse("http://localhost:4242")moduleServerdefself.call(*args)Async::HTTP::Protocol::Response[200,Protocol::HTTP::Headers.new,"hello from #{Process.pid}"]endendshared_endpoint=Async::Reactor.run{Async::IO::SharedEndpoint.bound(endpoint)}.waitAsync::Reactor.run{Async::HTTP::Server.new(Server,shared_endpoint,endpoint.protocol,endpoint.scheme).run}