aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-11-24Fix a test error on FreeBSDLoïc Hoguin
2016-11-24Wait before calling ranch:info() in testsLoïc Hoguin
Otherwise gen_tcp doesn't have enough time to connect.
2016-11-24Add ranch:info/0 and ranch:procs/2Loïc Hoguin
Provides detailed information about Ranch listeners
2016-11-24Don't attempt to start ssl anymoreLoïc Hoguin
Ranch now depends on SSL. Users embedding listeners in their supervision tree are expected to depend on SSL too if they are using it.
2016-11-24Don't include observer in example releaseLoïc Hoguin
2016-11-24Update AUTHORSLoïc Hoguin
2016-11-24Update copyright yearLoïc Hoguin
2016-11-15Disable HiPE/ErLLVM for nowLoïc Hoguin
Too much work to fix tests at this point.
2016-11-15Fix acceptors getting stuck because of socket errorsLoïc Hoguin
We always get the acceptor to resume. The child process will be killed, and the current code will ignore any EXIT message when that happens because the pid isn't in the process dictionary.
2016-11-15Add a test for double removal of connectionsLoïc Hoguin
2016-11-15Track removed connectionsJames Fish
2016-11-15Improve error reportingAlexey Lebedeff
Simplify some return values, improve error messages for eaddrinuse and no_cert. Amended to add tests and simpler code. Also hides the contents of cert and key transport options, if any.
2016-11-15Refer to the tcp_reverse example for full gen_serverLoïc Hoguin
2016-11-15Update .gitignoreLoïc Hoguin
2016-11-15Remove examples .app.src filesLoïc Hoguin
2016-11-15Properly handle Ctrl+D in examplesLoïc Hoguin
2016-11-15Remove bad advice for gen_server protocolsLoïc Hoguin
Also improves the good example a little by using spawn_link instead of start_link.
2016-11-15Clarify max_connections + NbAcceptors + backlog in the guideLoïc Hoguin
2016-11-15Add ssl to the list of dependenciesLoïc Hoguin
2016-11-15Update support listLoïc Hoguin
We now do R16B+ (because R15 doesn't compile anymore on my CI servers), except 18.3.2 and 18.3.3 (known SSL issues). Also update the list of supported platforms.
2016-11-15Update Erlang.mk and CI OTP versions for 19.1.6Loïc Hoguin
2016-11-08Check for the SSL version for SNI instead of MakefileLoïc Hoguin
2016-11-08Skip SNI tests on OTP<18 in CILoïc Hoguin
2016-11-08Allow listening with only SNI optionsLoïc Hoguin
Cert/certfile is no longer required if SNI options are provided.
2016-11-08Blacklist listen options instead of whitelistLoïc Hoguin
Dialyzer will still complain about unknown options, but at least users won't be stuck waiting for an upstream update.
2016-11-01Add SSL options for legacy software interoperabilityAlexandru Munteanu
2016-11-01Update Erlang.mkLoïc Hoguin
2016-11-01Makefile tweak; only using BuildKite nowLoïc Hoguin
2016-10-18Erlang/OTP 19.1.5Loïc Hoguin
2016-10-14Erlang/OTP 19.1.4Loïc Hoguin
2016-10-11Update CI targetsLoïc Hoguin
2016-10-10Prevent a race condition when stopping listenersLoïc Hoguin
In some cases the ranch_server:get_connections_sup/1 call could still succeed depending on timing.
2016-10-10Start tracing before starting the listener in testsLoïc Hoguin
2016-10-10Ignore ets:delete/2 return value, always trueLoïc Hoguin
2016-10-10Update erlang.mkLoïc Hoguin
2016-10-09Make values for the TLS 1.2 signature_algorithms extension configurableVictor
Added in ssl-7.3.1 (OTP-13261). Documented in ssl-8.0.
2016-10-09Update links in READMELoïc Hoguin
2016-10-08Remove AppVeyor/CircleCI filesLoïc Hoguin
2016-10-08Update CI targetsLoïc Hoguin
Drop support for R15 because old and doesn't compile on most of my platforms anymore.
2016-09-19Don't silently drop the accept rateMaas-Maarten Zeeman
2016-09-19Renaming NbAcceptors to NumAcceptorsferigis
2016-09-19Fix a spelling issue in guidedeveloperworks
2016-09-19Add ipv6_v6only listen optionMarc Worrell
2016-01-20Fix a link in the user guideLoïc Hoguin
2015-12-18Update changelogLoïc Hoguin
2015-12-18Update to 1.2.11.2.1Loïc Hoguin
2015-12-18Add AppVeyor configurationLoïc Hoguin
2015-12-18Fix Dialyzer test on CircleCILoïc Hoguin
2015-12-18Update CI OTP versionsLoïc Hoguin
And only use the last version on public CIs.
2015-12-18Use the default restart intensity in all supervisorsLoïc Hoguin
This reduces from 10 restarts in 10 seconds to 1 restart in 5 seconds. This is the new default in OTP 18, and it fits the kinds of processes that Ranch deals with: * Supervisors: default makes sense. * Acceptors: they crash on socket error. They'll probably crash again if the socket didn't change. * Connection processes: they are never restarted.