aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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.
2015-12-18Fix node shutdown getting stuckLoïc Hoguin
When SSL is stopped before Ranch, the acceptors crash and Ranch tries to restart them. The problem is that the ranch_ssl:listen/1 call was trying to start the SSL application to make sure it works (an old artifact from when releases were not ubiquitous). Because the application controller is trying to shutdown Ranch, and Ranch tries to tell it to start an application, everything would get stuck. To avoid a breaking change, we move this in the start_listener call (or child_spec). Note that there are still logs when the SSL application is closed, because the acceptors crash. But at least we don't block node shutdown anymore. In Ranch 2.0, we will implement the proper fix which is to simply depend on the SSL application normally. Nowadays, it's not too difficult to build a release that excludes applications we don't want, although we should document that in the Ranch user guide.
2015-12-16Update Erlang.mkLoïc Hoguin
2015-11-16Update to 1.2.01.2.0Loïc Hoguin
2015-10-16Update to 1.2.0-rc.11.2.0-rc.1Loïc Hoguin
2015-08-25Add an error message when Transport:listen failsLoïc Hoguin
Should be more user friendly.
2015-08-25Add ranch:get_addr/1Loïc Hoguin
2015-08-22Fix README linksLoïc Hoguin
[ci-skip]
2015-08-22Update .gitignoreLoïc Hoguin
2015-08-22Convert CHANGELOG and README to AsciidocLoïc Hoguin
Update CHANGELOG in the process.
2015-08-22Print a warning when discarding an option on listener startupLoïc Hoguin
2015-08-22Update LICENSE file copyright yearsLoïc Hoguin
2015-08-22Remove all.sh file, superseded by 'make ci'Loïc Hoguin
2015-08-22The ROADMAP file is superseded by ticketsLoïc Hoguin
Open a ticket if you need something done.
2015-08-22Convert the documentation to AsciidocLoïc Hoguin
2015-08-20More test suites refactoringLoïc Hoguin
They are now properly documented and the listener name is automatically specified thanks to a new ct_helper function.
2015-08-20Update ct_helperLoïc Hoguin
2015-08-20Fix another intermittent test issueLoïc Hoguin
2015-08-20Hopefully fix an intermittent test failureLoïc Hoguin
2015-08-20Ensure ranch_conns_sup doesn't crash on protocol start crashLoïc Hoguin
2015-08-20Add tests and more docs about separate supervisor/connectionLoïc Hoguin
2015-08-20Alphabetical order testsLoïc Hoguin
2015-08-20Supervised and connection process can now be differentLoïc Hoguin
2015-08-20Filter out all unknown options, not just 2-tuple onesLoïc Hoguin
For example 'binary' was making things crash.
2015-08-18Welcome to 2015Loïc Hoguin
2015-08-18Update the list of allowed transport optionsLoïc Hoguin
We are now up to date with regard to transport options we should accept for the listening socket. Documentation of existing options has been updated with regard to recent changes in the OTP docs and type specifications.
2015-08-17Don't pass Ranch-specific options down to transportsLoïc Hoguin
Should fix Dialyzer issues. The options are now also documented in the Ranch module, and there's new ranch:opt(), ranch_tcp:opt() and ranch_ssl:opt() for use in third party code.
2015-08-17Beginnings of modernizing the test suiteLoïc Hoguin
Merging because I have to do other work but this is still a nice enough improvement.
2015-08-16Update apt-get before installing things on CILoïc Hoguin
2015-08-13Fetch ct_helper before running ci-setupLoïc Hoguin
Since we copy a file into it.
2015-08-13CI: Use the erl_make_certs file from currently tested OTPLoïc Hoguin
2015-08-13Add the last two VMs to CILoïc Hoguin
2015-08-13Put less Erlang versions to make CircleCI happyLoïc Hoguin
2015-08-13Add more Erlang versions to CI_OTPLoïc Hoguin