ranch icon indicating copy to clipboard operation
ranch copied to clipboard

Socket acceptor pool for TCP protocols.

Results 21 ranch issues
Sort by recently updated
recently updated
newest added

#340 ~This PR also updates `erlang.mk` because the `race_conditions` diylazer option has been removed in OTP 25.~

Hi, loving Cowboy in my projects. Just found this after bumping from 2.0.0-rc3 to 2.1.0 When you call ranch:stop_listener with a name of a listener that has never been started,...

Version: 2.1.0 The issue is: How to determine the value of "num_acceptors" in the scenario of handling large concurrent connection requests, and whether "gen_tcp:accept/2" is replaced by "prim_inet:async_accept()" would be...

This callback should be used from cowboy_http and cowboy_http2 instead of a direct call to ssl:peercert/1.

I am building a system with mutual certificate verification. I'm using OTP-ized mode with ranch 2.0.0 ```erlang start_link(Ref, Transport, ProtoOpts) -> lager:debug("START_LINK ~p/~p/~p~n", [Ref, Transport, ProtoOpts]), {ok, proc_lib:spawn_link(?MODULE, init, [...

Here: https://github.com/ninenines/ranch/blob/master/src/ranch_acceptors_sup.erl#L93-L95

Currently we are using a hack and that's fine but should eventually be made better. See https://bugs.erlang.org/browse/ERL-757 for a short discussion on the topic.

OTP

A new TLV not currently implemented: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

Use this for tips on how to optimize the search. https://concuerror.com/news/tips.html