From 992831c7a516b5183c2af06260829d41aa45267c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 9 Sep 2021 12:15:32 +0200 Subject: Ranch 2.1.0 --- _build/Makefile | 4 +- _build/content/articles/ranch-2.1.0.asciidoc | 45 ++ _build/data/projects/ranch.toml | 4 +- articles/asciideck/index.html | 4 + articles/cowboy-2.0.0-pre.4/index.html | 4 + articles/cowboy-2.0.0-rc.1/index.html | 4 + articles/cowboy-2.0.0-rc.2/index.html | 4 + articles/cowboy-2.0.0/index.html | 4 + articles/cowboy-2.1.0/index.html | 4 + articles/cowboy-2.2.0/index.html | 4 + articles/cowboy-2.3.0/index.html | 4 + articles/cowboy-2.4.0/index.html | 4 + articles/cowboy-2.5.0/index.html | 4 + articles/cowboy-2.6.0/index.html | 4 + articles/cowboy-2.7.0/index.html | 4 + articles/cowboy-2.8.0/index.html | 4 + articles/cowboy-2.9.0/index.html | 4 + articles/cowboy2-qs/index.html | 4 + articles/dont-let-it-crash/index.html | 4 + .../erlang-meetup-10-septembre-2019/index.html | 4 + articles/erlang-scalability/index.html | 4 + articles/erlang-validate-utf8/index.html | 4 + articles/erlang.mk-and-relx/index.html | 4 + .../index.html | 4 + articles/erlanger-playbook/index.html | 4 + articles/farwest-funded/index.html | 4 + articles/github-sponsors/index.html | 4 + articles/gun-1.0.0-rc.1/index.html | 4 + articles/gun-1.0.0/index.html | 4 + articles/gun-1.2.0/index.html | 4 + articles/gun-1.3.0/index.html | 4 + articles/gun-2.0.0-pre.1/index.html | 4 + articles/gun-2.0.0-pre.2/index.html | 4 + articles/gun-2.0.0-rc.1/index.html | 4 + articles/index.html | 36 +- articles/index.xml | 13 +- articles/january-2014-status/index.html | 4 + articles/joe_the_rubber_duck/index.html | 4 + articles/merry-christmas-2018/index.html | 4 + articles/merry-christmas-2019/index.html | 4 + articles/ml-archives/index.html | 4 + articles/on-open-source/index.html | 4 + articles/page/2/index.html | 34 +- articles/page/3/index.html | 16 + articles/ranch-1.3/index.html | 4 + articles/ranch-1.6.0/index.html | 4 + articles/ranch-1.7.0/index.html | 4 + articles/ranch-2.0.0-rc.1/index.html | 4 + articles/ranch-2.0.0/index.html | 4 + articles/ranch-2.1.0/index.html | 344 ++++++++++ articles/ranch-ftp/index.html | 4 + articles/the-elephant-in-the-room/index.html | 4 + articles/the-gateway-trilogy/index.html | 4 + articles/the-story-so-far/index.html | 4 + articles/tictactoe/index.html | 4 + articles/website-update/index.html | 4 + articles/xerl-0.1-empty-modules/index.html | 4 + articles/xerl-0.2-two-modules/index.html | 4 + articles/xerl-0.3-atomic-expressions/index.html | 4 + articles/xerl-0.4-expression-separator/index.html | 4 + articles/xerl-0.5-intermediate-module/index.html | 4 + docs/en/gun/2.0/guide/migrating_from_1.3.asciidoc | 19 +- .../en/gun/2.0/guide/migrating_from_1.3/index.html | 7 +- docs/en/ranch/1.5/guide/embedded.asciidoc | 48 -- docs/en/ranch/1.5/guide/embedded/index.html | 202 ------ docs/en/ranch/1.5/guide/index.html | 174 ----- docs/en/ranch/1.5/guide/internals.asciidoc | 94 --- docs/en/ranch/1.5/guide/internals/index.html | 202 ------ docs/en/ranch/1.5/guide/introduction.asciidoc | 28 - docs/en/ranch/1.5/guide/introduction/index.html | 186 ------ docs/en/ranch/1.5/guide/listeners.asciidoc | 320 --------- docs/en/ranch/1.5/guide/listeners/index.html | 385 ----------- docs/en/ranch/1.5/guide/parsers.asciidoc | 92 --- docs/en/ranch/1.5/guide/parsers/index.html | 241 ------- docs/en/ranch/1.5/guide/protocols.asciidoc | 99 --- docs/en/ranch/1.5/guide/protocols/index.html | 248 ------- docs/en/ranch/1.5/guide/ssl_auth.asciidoc | 120 ---- docs/en/ranch/1.5/guide/ssl_auth/index.html | 254 -------- docs/en/ranch/1.5/guide/transports.asciidoc | 161 ----- docs/en/ranch/1.5/guide/transports/index.html | 279 -------- docs/en/ranch/1.5/manual/index.html | 170 ----- docs/en/ranch/1.5/manual/ranch/index.html | 382 ----------- docs/en/ranch/1.5/manual/ranch_app/index.html | 168 ----- docs/en/ranch/1.5/manual/ranch_protocol/index.html | 183 ------ docs/en/ranch/1.5/manual/ranch_ssl/index.html | 324 ---------- docs/en/ranch/1.5/manual/ranch_tcp/index.html | 277 -------- .../en/ranch/1.5/manual/ranch_transport/index.html | 381 ----------- docs/en/ranch/1.6/guide/embedded/index.html | 4 +- docs/en/ranch/1.6/guide/index.html | 4 +- docs/en/ranch/1.6/guide/internals/index.html | 4 +- docs/en/ranch/1.6/guide/introduction/index.html | 4 +- docs/en/ranch/1.6/guide/listeners/index.html | 4 +- .../ranch/1.6/guide/migrating_from_1.5/index.html | 4 +- .../ranch/1.6/guide/migrating_from_1.6/index.html | 4 +- .../ranch/1.6/guide/migrating_from_1.x/index.html | 4 +- docs/en/ranch/1.6/guide/parsers/index.html | 4 +- docs/en/ranch/1.6/guide/protocols/index.html | 4 +- docs/en/ranch/1.6/guide/ssl_auth/index.html | 4 +- docs/en/ranch/1.6/guide/transports/index.html | 4 +- .../1.6/guide/upcoming_2.0_changes/index.html | 4 +- docs/en/ranch/1.6/manual/index.html | 4 +- .../ranch/1.6/manual/ranch.child_spec/index.html | 4 +- docs/en/ranch/1.6/manual/ranch.get_addr/index.html | 4 +- .../manual/ranch.get_max_connections/index.html | 4 +- docs/en/ranch/1.6/manual/ranch.get_port/index.html | 4 +- .../manual/ranch.get_protocol_options/index.html | 4 +- .../ranch/1.6/manual/ranch.get_status/index.html | 4 +- .../manual/ranch.get_transport_options/index.html | 4 +- .../en/ranch/1.6/manual/ranch.handshake/index.html | 4 +- docs/en/ranch/1.6/manual/ranch.info/index.html | 4 +- docs/en/ranch/1.6/manual/ranch.procs/index.html | 4 +- .../1.6/manual/ranch.remove_connection/index.html | 4 +- .../1.6/manual/ranch.resume_listener/index.html | 4 +- .../manual/ranch.set_max_connections/index.html | 4 +- .../manual/ranch.set_protocol_options/index.html | 4 +- .../manual/ranch.set_transport_options/index.html | 4 +- .../1.6/manual/ranch.start_listener/index.html | 4 +- .../1.6/manual/ranch.stop_listener/index.html | 4 +- .../1.6/manual/ranch.suspend_listener/index.html | 4 +- .../manual/ranch.wait_for_connections/index.html | 4 +- docs/en/ranch/1.6/manual/ranch/index.html | 4 +- docs/en/ranch/1.6/manual/ranch_app/index.html | 4 +- docs/en/ranch/1.6/manual/ranch_protocol/index.html | 4 +- docs/en/ranch/1.6/manual/ranch_ssl/index.html | 4 +- docs/en/ranch/1.6/manual/ranch_tcp/index.html | 4 +- .../1.6/manual/ranch_transport.sendfile/index.html | 4 +- .../en/ranch/1.6/manual/ranch_transport/index.html | 4 +- docs/en/ranch/1.7/guide/embedded/index.html | 4 +- docs/en/ranch/1.7/guide/index.html | 4 +- docs/en/ranch/1.7/guide/internals/index.html | 4 +- docs/en/ranch/1.7/guide/introduction/index.html | 4 +- docs/en/ranch/1.7/guide/listeners/index.html | 4 +- .../ranch/1.7/guide/migrating_from_1.5/index.html | 4 +- .../ranch/1.7/guide/migrating_from_1.6/index.html | 4 +- .../ranch/1.7/guide/migrating_from_1.7/index.html | 4 +- .../ranch/1.7/guide/migrating_from_1.x/index.html | 4 +- docs/en/ranch/1.7/guide/parsers/index.html | 4 +- docs/en/ranch/1.7/guide/protocols/index.html | 4 +- docs/en/ranch/1.7/guide/ssl_auth/index.html | 4 +- docs/en/ranch/1.7/guide/transports/index.html | 4 +- .../1.7/guide/upcoming_2.0_changes/index.html | 4 +- docs/en/ranch/1.7/manual/index.html | 4 +- .../ranch/1.7/manual/ranch.child_spec/index.html | 4 +- docs/en/ranch/1.7/manual/ranch.get_addr/index.html | 4 +- .../manual/ranch.get_max_connections/index.html | 4 +- docs/en/ranch/1.7/manual/ranch.get_port/index.html | 4 +- .../manual/ranch.get_protocol_options/index.html | 4 +- .../ranch/1.7/manual/ranch.get_status/index.html | 4 +- .../manual/ranch.get_transport_options/index.html | 4 +- .../en/ranch/1.7/manual/ranch.handshake/index.html | 4 +- docs/en/ranch/1.7/manual/ranch.info/index.html | 4 +- docs/en/ranch/1.7/manual/ranch.procs/index.html | 4 +- .../1.7/manual/ranch.recv_proxy_header/index.html | 4 +- .../1.7/manual/ranch.remove_connection/index.html | 4 +- .../1.7/manual/ranch.resume_listener/index.html | 4 +- .../manual/ranch.set_max_connections/index.html | 4 +- .../manual/ranch.set_protocol_options/index.html | 4 +- .../manual/ranch.set_transport_options/index.html | 4 +- .../1.7/manual/ranch.start_listener/index.html | 4 +- .../1.7/manual/ranch.stop_listener/index.html | 4 +- .../1.7/manual/ranch.suspend_listener/index.html | 4 +- .../manual/ranch.wait_for_connections/index.html | 4 +- docs/en/ranch/1.7/manual/ranch/index.html | 4 +- docs/en/ranch/1.7/manual/ranch_app/index.html | 4 +- docs/en/ranch/1.7/manual/ranch_protocol/index.html | 4 +- .../manual/ranch_proxy_header.header/index.html | 4 +- .../1.7/manual/ranch_proxy_header.parse/index.html | 4 +- .../ranch/1.7/manual/ranch_proxy_header/index.html | 4 +- docs/en/ranch/1.7/manual/ranch_ssl/index.html | 4 +- docs/en/ranch/1.7/manual/ranch_tcp/index.html | 4 +- .../1.7/manual/ranch_transport.sendfile/index.html | 4 +- .../en/ranch/1.7/manual/ranch_transport/index.html | 4 +- docs/en/ranch/1.8/guide/embedded/index.html | 4 +- docs/en/ranch/1.8/guide/index.html | 4 +- docs/en/ranch/1.8/guide/internals/index.html | 4 +- docs/en/ranch/1.8/guide/introduction/index.html | 4 +- docs/en/ranch/1.8/guide/listeners/index.html | 4 +- .../ranch/1.8/guide/migrating_from_1.5/index.html | 4 +- .../ranch/1.8/guide/migrating_from_1.6/index.html | 4 +- .../ranch/1.8/guide/migrating_from_1.7/index.html | 4 +- .../ranch/1.8/guide/migrating_from_1.x/index.html | 4 +- docs/en/ranch/1.8/guide/parsers/index.html | 4 +- docs/en/ranch/1.8/guide/protocols/index.html | 4 +- docs/en/ranch/1.8/guide/ssl_auth/index.html | 4 +- docs/en/ranch/1.8/guide/transports/index.html | 4 +- .../1.8/guide/upcoming_2.0_changes/index.html | 4 +- docs/en/ranch/1.8/manual/index.html | 4 +- .../ranch/1.8/manual/ranch.child_spec/index.html | 4 +- docs/en/ranch/1.8/manual/ranch.get_addr/index.html | 4 +- .../manual/ranch.get_max_connections/index.html | 4 +- docs/en/ranch/1.8/manual/ranch.get_port/index.html | 4 +- .../manual/ranch.get_protocol_options/index.html | 4 +- .../ranch/1.8/manual/ranch.get_status/index.html | 4 +- .../manual/ranch.get_transport_options/index.html | 4 +- .../en/ranch/1.8/manual/ranch.handshake/index.html | 4 +- docs/en/ranch/1.8/manual/ranch.info/index.html | 4 +- docs/en/ranch/1.8/manual/ranch.procs/index.html | 4 +- .../1.8/manual/ranch.recv_proxy_header/index.html | 4 +- .../1.8/manual/ranch.remove_connection/index.html | 4 +- .../1.8/manual/ranch.resume_listener/index.html | 4 +- .../manual/ranch.set_max_connections/index.html | 4 +- .../manual/ranch.set_protocol_options/index.html | 4 +- .../manual/ranch.set_transport_options/index.html | 4 +- .../1.8/manual/ranch.start_listener/index.html | 4 +- .../1.8/manual/ranch.stop_listener/index.html | 4 +- .../1.8/manual/ranch.suspend_listener/index.html | 4 +- .../manual/ranch.wait_for_connections/index.html | 4 +- docs/en/ranch/1.8/manual/ranch/index.html | 6 +- docs/en/ranch/1.8/manual/ranch_app/index.html | 4 +- docs/en/ranch/1.8/manual/ranch_protocol/index.html | 6 +- .../manual/ranch_proxy_header.header/index.html | 4 +- .../1.8/manual/ranch_proxy_header.parse/index.html | 4 +- .../ranch/1.8/manual/ranch_proxy_header/index.html | 6 +- docs/en/ranch/1.8/manual/ranch_ssl/index.html | 6 +- docs/en/ranch/1.8/manual/ranch_tcp/index.html | 6 +- .../1.8/manual/ranch_transport.sendfile/index.html | 4 +- .../en/ranch/1.8/manual/ranch_transport/index.html | 6 +- .../ranch/2.0/guide/connection_draining/index.html | 4 +- docs/en/ranch/2.0/guide/embedded/index.html | 4 +- docs/en/ranch/2.0/guide/index.html | 4 +- docs/en/ranch/2.0/guide/internals/index.html | 4 +- docs/en/ranch/2.0/guide/introduction/index.html | 4 +- docs/en/ranch/2.0/guide/listeners/index.html | 4 +- .../ranch/2.0/guide/migrating_from_1.5/index.html | 4 +- .../ranch/2.0/guide/migrating_from_1.6/index.html | 4 +- .../ranch/2.0/guide/migrating_from_1.7/index.html | 4 +- .../ranch/2.0/guide/migrating_from_1.x/index.html | 4 +- docs/en/ranch/2.0/guide/parsers/index.html | 4 +- docs/en/ranch/2.0/guide/protocols/index.html | 4 +- docs/en/ranch/2.0/guide/ssl_auth/index.html | 4 +- docs/en/ranch/2.0/guide/transports/index.html | 4 +- docs/en/ranch/2.0/manual/index.html | 4 +- .../ranch/2.0/manual/ranch.child_spec/index.html | 4 +- docs/en/ranch/2.0/manual/ranch.get_addr/index.html | 4 +- .../manual/ranch.get_max_connections/index.html | 4 +- docs/en/ranch/2.0/manual/ranch.get_port/index.html | 4 +- .../manual/ranch.get_protocol_options/index.html | 4 +- .../ranch/2.0/manual/ranch.get_status/index.html | 4 +- .../manual/ranch.get_transport_options/index.html | 4 +- .../en/ranch/2.0/manual/ranch.handshake/index.html | 4 +- .../2.0/manual/ranch.handshake_cancel/index.html | 4 +- .../2.0/manual/ranch.handshake_continue/index.html | 4 +- docs/en/ranch/2.0/manual/ranch.info/index.html | 4 +- docs/en/ranch/2.0/manual/ranch.procs/index.html | 4 +- .../2.0/manual/ranch.recv_proxy_header/index.html | 4 +- .../2.0/manual/ranch.remove_connection/index.html | 4 +- .../2.0/manual/ranch.resume_listener/index.html | 4 +- .../manual/ranch.set_max_connections/index.html | 4 +- .../manual/ranch.set_protocol_options/index.html | 4 +- .../manual/ranch.set_transport_options/index.html | 4 +- .../2.0/manual/ranch.start_listener/index.html | 4 +- .../2.0/manual/ranch.stop_listener/index.html | 4 +- .../2.0/manual/ranch.suspend_listener/index.html | 4 +- .../manual/ranch.wait_for_connections/index.html | 4 +- docs/en/ranch/2.0/manual/ranch/index.html | 4 +- docs/en/ranch/2.0/manual/ranch_app/index.html | 4 +- docs/en/ranch/2.0/manual/ranch_protocol/index.html | 4 +- .../manual/ranch_proxy_header.header/index.html | 4 +- .../2.0/manual/ranch_proxy_header.parse/index.html | 4 +- .../ranch/2.0/manual/ranch_proxy_header/index.html | 4 +- docs/en/ranch/2.0/manual/ranch_ssl/index.html | 4 +- docs/en/ranch/2.0/manual/ranch_tcp/index.html | 4 +- .../2.0/manual/ranch_transport.sendfile/index.html | 4 +- .../en/ranch/2.0/manual/ranch_transport/index.html | 4 +- .../ranch/2.1/guide/connection_draining.asciidoc | 98 +++ .../ranch/2.1/guide/connection_draining/index.html | 258 ++++++++ docs/en/ranch/2.1/guide/embedded.asciidoc | 47 ++ docs/en/ranch/2.1/guide/embedded/index.html | 199 ++++++ docs/en/ranch/2.1/guide/index.html | 193 ++++++ docs/en/ranch/2.1/guide/internals.asciidoc | 99 +++ docs/en/ranch/2.1/guide/internals/index.html | 207 ++++++ docs/en/ranch/2.1/guide/introduction.asciidoc | 25 + docs/en/ranch/2.1/guide/introduction/index.html | 185 ++++++ docs/en/ranch/2.1/guide/listeners.asciidoc | 479 ++++++++++++++ docs/en/ranch/2.1/guide/listeners/index.html | 502 +++++++++++++++ .../en/ranch/2.1/guide/migrating_from_1.5.asciidoc | 76 +++ .../ranch/2.1/guide/migrating_from_1.5/index.html | 221 +++++++ .../en/ranch/2.1/guide/migrating_from_1.6.asciidoc | 46 ++ .../ranch/2.1/guide/migrating_from_1.6/index.html | 201 ++++++ .../en/ranch/2.1/guide/migrating_from_1.7.asciidoc | 163 +++++ .../ranch/2.1/guide/migrating_from_1.7/index.html | 258 ++++++++ .../en/ranch/2.1/guide/migrating_from_1.x.asciidoc | 70 ++ .../ranch/2.1/guide/migrating_from_1.x/index.html | 274 ++++++++ .../en/ranch/2.1/guide/migrating_from_2.0.asciidoc | 70 ++ .../ranch/2.1/guide/migrating_from_2.0/index.html | 206 ++++++ docs/en/ranch/2.1/guide/parsers.asciidoc | 92 +++ docs/en/ranch/2.1/guide/parsers/index.html | 241 +++++++ docs/en/ranch/2.1/guide/protocols.asciidoc | 113 ++++ docs/en/ranch/2.1/guide/protocols/index.html | 261 ++++++++ docs/en/ranch/2.1/guide/ssl_auth.asciidoc | 120 ++++ docs/en/ranch/2.1/guide/ssl_auth/index.html | 254 ++++++++ docs/en/ranch/2.1/guide/transports.asciidoc | 177 +++++ docs/en/ranch/2.1/guide/transports/index.html | 291 +++++++++ docs/en/ranch/2.1/manual/index.html | 201 ++++++ .../ranch/2.1/manual/ranch.child_spec/index.html | 222 +++++++ docs/en/ranch/2.1/manual/ranch.get_addr/index.html | 197 ++++++ .../manual/ranch.get_max_connections/index.html | 189 ++++++ docs/en/ranch/2.1/manual/ranch.get_port/index.html | 187 ++++++ .../manual/ranch.get_protocol_options/index.html | 185 ++++++ .../ranch/2.1/manual/ranch.get_status/index.html | 188 ++++++ .../manual/ranch.get_transport_options/index.html | 185 ++++++ .../en/ranch/2.1/manual/ranch.handshake/index.html | 211 ++++++ .../2.1/manual/ranch.handshake_cancel/index.html | 198 ++++++ .../2.1/manual/ranch.handshake_continue/index.html | 208 ++++++ docs/en/ranch/2.1/manual/ranch.info/index.html | 248 +++++++ docs/en/ranch/2.1/manual/ranch.procs/index.html | 196 ++++++ .../2.1/manual/ranch.recv_proxy_header/index.html | 206 ++++++ .../2.1/manual/ranch.remove_connection/index.html | 186 ++++++ .../2.1/manual/ranch.resume_listener/index.html | 192 ++++++ .../manual/ranch.set_max_connections/index.html | 194 ++++++ .../manual/ranch.set_protocol_options/index.html | 200 ++++++ .../manual/ranch.set_transport_options/index.html | 248 +++++++ .../2.1/manual/ranch.start_listener/index.html | 246 +++++++ .../2.1/manual/ranch.stop_listener/index.html | 189 ++++++ .../2.1/manual/ranch.suspend_listener/index.html | 193 ++++++ .../manual/ranch.wait_for_connections/index.html | 213 ++++++ docs/en/ranch/2.1/manual/ranch/index.html | 338 ++++++++++ docs/en/ranch/2.1/manual/ranch_app/index.html | 201 ++++++ docs/en/ranch/2.1/manual/ranch_protocol/index.html | 186 ++++++ .../manual/ranch_proxy_header.header/index.html | 220 +++++++ .../2.1/manual/ranch_proxy_header.parse/index.html | 191 ++++++ .../index.html | 190 ++++++ .../ranch/2.1/manual/ranch_proxy_header/index.html | 276 ++++++++ docs/en/ranch/2.1/manual/ranch_ssl/index.html | 384 +++++++++++ docs/en/ranch/2.1/manual/ranch_tcp/index.html | 286 ++++++++ .../2.1/manual/ranch_transport.sendfile/index.html | 220 +++++++ .../en/ranch/2.1/manual/ranch_transport/index.html | 427 ++++++++++++ docs/index.html | 14 +- docs/index.xml | 695 ++++++++++++++++---- donate/index.html | 68 ++ erlanger-playbook/index.html | 68 ++ index.html | 72 ++- index.xml | 716 ++++++++++++++++----- services/index.html | 68 ++ sitemap.xml | 219 +++++-- 335 files changed, 15667 insertions(+), 5752 deletions(-) create mode 100644 _build/content/articles/ranch-2.1.0.asciidoc create mode 100644 articles/ranch-2.1.0/index.html delete mode 100644 docs/en/ranch/1.5/guide/embedded.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/embedded/index.html delete mode 100644 docs/en/ranch/1.5/guide/index.html delete mode 100644 docs/en/ranch/1.5/guide/internals.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/internals/index.html delete mode 100644 docs/en/ranch/1.5/guide/introduction.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/introduction/index.html delete mode 100644 docs/en/ranch/1.5/guide/listeners.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/listeners/index.html delete mode 100644 docs/en/ranch/1.5/guide/parsers.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/parsers/index.html delete mode 100644 docs/en/ranch/1.5/guide/protocols.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/protocols/index.html delete mode 100644 docs/en/ranch/1.5/guide/ssl_auth.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/ssl_auth/index.html delete mode 100644 docs/en/ranch/1.5/guide/transports.asciidoc delete mode 100644 docs/en/ranch/1.5/guide/transports/index.html delete mode 100644 docs/en/ranch/1.5/manual/index.html delete mode 100644 docs/en/ranch/1.5/manual/ranch/index.html delete mode 100644 docs/en/ranch/1.5/manual/ranch_app/index.html delete mode 100644 docs/en/ranch/1.5/manual/ranch_protocol/index.html delete mode 100644 docs/en/ranch/1.5/manual/ranch_ssl/index.html delete mode 100644 docs/en/ranch/1.5/manual/ranch_tcp/index.html delete mode 100644 docs/en/ranch/1.5/manual/ranch_transport/index.html create mode 100644 docs/en/ranch/2.1/guide/connection_draining.asciidoc create mode 100644 docs/en/ranch/2.1/guide/connection_draining/index.html create mode 100644 docs/en/ranch/2.1/guide/embedded.asciidoc create mode 100644 docs/en/ranch/2.1/guide/embedded/index.html create mode 100644 docs/en/ranch/2.1/guide/index.html create mode 100644 docs/en/ranch/2.1/guide/internals.asciidoc create mode 100644 docs/en/ranch/2.1/guide/internals/index.html create mode 100644 docs/en/ranch/2.1/guide/introduction.asciidoc create mode 100644 docs/en/ranch/2.1/guide/introduction/index.html create mode 100644 docs/en/ranch/2.1/guide/listeners.asciidoc create mode 100644 docs/en/ranch/2.1/guide/listeners/index.html create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.5.asciidoc create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.5/index.html create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.6.asciidoc create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.6/index.html create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.7.asciidoc create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.7/index.html create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.x.asciidoc create mode 100644 docs/en/ranch/2.1/guide/migrating_from_1.x/index.html create mode 100644 docs/en/ranch/2.1/guide/migrating_from_2.0.asciidoc create mode 100644 docs/en/ranch/2.1/guide/migrating_from_2.0/index.html create mode 100644 docs/en/ranch/2.1/guide/parsers.asciidoc create mode 100644 docs/en/ranch/2.1/guide/parsers/index.html create mode 100644 docs/en/ranch/2.1/guide/protocols.asciidoc create mode 100644 docs/en/ranch/2.1/guide/protocols/index.html create mode 100644 docs/en/ranch/2.1/guide/ssl_auth.asciidoc create mode 100644 docs/en/ranch/2.1/guide/ssl_auth/index.html create mode 100644 docs/en/ranch/2.1/guide/transports.asciidoc create mode 100644 docs/en/ranch/2.1/guide/transports/index.html create mode 100644 docs/en/ranch/2.1/manual/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.child_spec/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.get_addr/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.get_max_connections/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.get_port/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.get_protocol_options/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.get_status/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.get_transport_options/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.handshake/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.handshake_cancel/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.handshake_continue/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.info/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.procs/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.recv_proxy_header/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.remove_connection/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.resume_listener/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.set_max_connections/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.set_protocol_options/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.set_transport_options/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.start_listener/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.stop_listener/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.suspend_listener/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch.wait_for_connections/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_app/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_protocol/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_proxy_header.header/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_proxy_header.parse/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_proxy_header.to_connection_info/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_proxy_header/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_ssl/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_tcp/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_transport.sendfile/index.html create mode 100644 docs/en/ranch/2.1/manual/ranch_transport/index.html diff --git a/_build/Makefile b/_build/Makefile index 10bf1cb1..4f23a200 100644 --- a/_build/Makefile +++ b/_build/Makefile @@ -75,7 +75,7 @@ docs-$1-$2: tmp/$1 printf "%s\n" "+++" "title = \"`sed 's/\(.\)/\U\1/' <<< $1` Function Reference\"" \ "project = \"$1\"" "version = \"$3\"" "doctype = \"manual\"" "+++" "" \ > content/docs/en/$1/$3/manual.asciidoc; \ - if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ] || [ "$1" = "ranch" -a "$3" = "1.8" ] || [ "$1" = "ranch" -a "$3" = "2.0" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" -o "$1" = "ranch" ]; then \ sed '1,/^$$$$/d' tmp/$1/doc/src/manual/$1_app.asciidoc \ | sed 's/link:man:\([a-z0-9_]*\)(7)/link:\1_app/g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ @@ -96,7 +96,7 @@ docs-$1-$2: tmp/$1 echo "\"" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ echo "+++" >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ echo >> content/docs/en/$1/$3/manual/`basename $$$$f`; \ - if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ] || [ "$1" = "ranch" -a "$3" = "2.0" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" -o "$1" = "cowlib" -o "$1" = "ranch" ]; then \ sed '1,/^$$$$/d' $$$$f \ | sed 's/link:man:$1(7)/link:../g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ diff --git a/_build/content/articles/ranch-2.1.0.asciidoc b/_build/content/articles/ranch-2.1.0.asciidoc new file mode 100644 index 00000000..c653a516 --- /dev/null +++ b/_build/content/articles/ranch-2.1.0.asciidoc @@ -0,0 +1,45 @@ ++++ +date = "2021-09-09T07:00:00+01:00" +title = "Ranch 2.1" + ++++ + +Ranch `2.1.0` has been released! + +Ranch 2.1 adds counters for the number of connections +accepted and terminated. They can be used to produce +information about accept or shutdown rates or as a +total number of connections handled by Ranch. + +Ranch 2.1 also adds an alarm around the number of +active connections a connection supervisor handles. +When that number is high it is now possible to +automatically perform an action, such as logging +or gracefully shutting down idle connections. + +Starting from Ranch 2.1 the `{inet_backend,socket}` +option is accepted for TCP listeners. Ranch tests +now also run with this option enabled. Note that +there are known issues with the socket backend +at this time. + +We are providing a +https://github.com/juhlig/prometheus_ranch[Prometheus collector] +as a separate project as well as a +https://github.com/juhlig/prometheus_ranch/blob/master/dashboards/ranch-dashboard.json[Grafana dashboard]. + +Thanks this time go to Jan Uhlig and Maria Scott +for contributing the alarms and counters as well +as other improvements that went into this release. + +Ranch 2.1 requires Erlang/OTP 22 or above and is tested and supported +on Linux, FreeBSD, macOS and Windows. + +A complete list of changes can be found in the migration guide: +https://ninenines.eu/docs/en/ranch/2.1/guide/migrating_from_2.0/[Migrating from Ranch 2.0 to 2.1]. + +You can donate to this project via +https://github.com/sponsors/essen[GitHub Sponsors]. + +As usual, feedback is appreciated, and issues or +questions should be sent via Github tickets. Thanks! diff --git a/_build/data/projects/ranch.toml b/_build/data/projects/ranch.toml index d0e1e667..1897bbbc 100644 --- a/_build/data/projects/ranch.toml +++ b/_build/data/projects/ranch.toml @@ -3,8 +3,8 @@ catchphrase = "The holy cow of servers." description = "Ranch is a socket acceptor pool for building awesome TCP and TLS servers." name = "ranch" repository = "https://github.com/ninenines/ranch" -versions = ["2.0", "1.8", "1.7", "1.6", "1.5"] -branches = ["2.0.0", "1.8.0", "1.7.1", "1.6.2", "1.5.0"] +versions = ["2.1", "2.0", "1.8", "1.7", "1.6"] +branches = ["master", "2.0.0", "1.8.0", "1.7.1", "1.6.2"] has_source = true has_guide = true has_manual = true diff --git a/articles/asciideck/index.html b/articles/asciideck/index.html index 12febaa7..6113eb4f 100644 --- a/articles/asciideck/index.html +++ b/articles/asciideck/index.html @@ -110,6 +110,10 @@ http://www.gnu.org/software/src-highlite --> +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.0.0-pre.4/index.html b/articles/cowboy-2.0.0-pre.4/index.html index 661ad860..12dba97a 100644 --- a/articles/cowboy-2.0.0-pre.4/index.html +++ b/articles/cowboy-2.0.0-pre.4/index.html @@ -129,6 +129,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.0.0-rc.1/index.html b/articles/cowboy-2.0.0-rc.1/index.html index 963a95db..5c1009cb 100644 --- a/articles/cowboy-2.0.0-rc.1/index.html +++ b/articles/cowboy-2.0.0-rc.1/index.html @@ -100,6 +100,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.0.0-rc.2/index.html b/articles/cowboy-2.0.0-rc.2/index.html index 26dafbd6..00a867b2 100644 --- a/articles/cowboy-2.0.0-rc.2/index.html +++ b/articles/cowboy-2.0.0-rc.2/index.html @@ -93,6 +93,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.0.0/index.html b/articles/cowboy-2.0.0/index.html index 65ee8fd1..ce16684a 100644 --- a/articles/cowboy-2.0.0/index.html +++ b/articles/cowboy-2.0.0/index.html @@ -99,6 +99,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.1.0/index.html b/articles/cowboy-2.1.0/index.html index 2687191e..092a2ce9 100644 --- a/articles/cowboy-2.1.0/index.html +++ b/articles/cowboy-2.1.0/index.html @@ -96,6 +96,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.2.0/index.html b/articles/cowboy-2.2.0/index.html index 8ab1c6ab..d5038ada 100644 --- a/articles/cowboy-2.2.0/index.html +++ b/articles/cowboy-2.2.0/index.html @@ -94,6 +94,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.3.0/index.html b/articles/cowboy-2.3.0/index.html index 884814c9..a6516b32 100644 --- a/articles/cowboy-2.3.0/index.html +++ b/articles/cowboy-2.3.0/index.html @@ -86,6 +86,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.4.0/index.html b/articles/cowboy-2.4.0/index.html index 3ab95c7d..f7a8b381 100644 --- a/articles/cowboy-2.4.0/index.html +++ b/articles/cowboy-2.4.0/index.html @@ -88,6 +88,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.5.0/index.html b/articles/cowboy-2.5.0/index.html index 76290089..40872f9c 100644 --- a/articles/cowboy-2.5.0/index.html +++ b/articles/cowboy-2.5.0/index.html @@ -92,6 +92,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.6.0/index.html b/articles/cowboy-2.6.0/index.html index 84be1fdd..33ef142f 100644 --- a/articles/cowboy-2.6.0/index.html +++ b/articles/cowboy-2.6.0/index.html @@ -89,6 +89,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.7.0/index.html b/articles/cowboy-2.7.0/index.html index 5caca916..14e30ab8 100644 --- a/articles/cowboy-2.7.0/index.html +++ b/articles/cowboy-2.7.0/index.html @@ -90,6 +90,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.8.0/index.html b/articles/cowboy-2.8.0/index.html index 9656ea1e..ca6d9303 100644 --- a/articles/cowboy-2.8.0/index.html +++ b/articles/cowboy-2.8.0/index.html @@ -89,6 +89,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy-2.9.0/index.html b/articles/cowboy-2.9.0/index.html index 81799148..ff1e859c 100644 --- a/articles/cowboy-2.9.0/index.html +++ b/articles/cowboy-2.9.0/index.html @@ -88,6 +88,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/cowboy2-qs/index.html b/articles/cowboy2-qs/index.html index 68bc2ece..d4d3d4d9 100644 --- a/articles/cowboy2-qs/index.html +++ b/articles/cowboy2-qs/index.html @@ -130,6 +130,10 @@ http://www.gnu.org/software/src-highlite --> +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/dont-let-it-crash/index.html b/articles/dont-let-it-crash/index.html index e43bd803..6456a49d 100644 --- a/articles/dont-let-it-crash/index.html +++ b/articles/dont-let-it-crash/index.html @@ -105,6 +105,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/erlang-meetup-10-septembre-2019/index.html b/articles/erlang-meetup-10-septembre-2019/index.html index 8026768b..1f3b613a 100644 --- a/articles/erlang-meetup-10-septembre-2019/index.html +++ b/articles/erlang-meetup-10-septembre-2019/index.html @@ -85,6 +85,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/erlang-scalability/index.html b/articles/erlang-scalability/index.html index 45303613..8f8c4574 100644 --- a/articles/erlang-scalability/index.html +++ b/articles/erlang-scalability/index.html @@ -117,6 +117,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/erlang-validate-utf8/index.html b/articles/erlang-validate-utf8/index.html index db26c214..6e5055a4 100644 --- a/articles/erlang-validate-utf8/index.html +++ b/articles/erlang-validate-utf8/index.html @@ -233,6 +233,10 @@ http://www.gnu.org/software/src-highlite --> +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/erlang.mk-and-relx/index.html b/articles/erlang.mk-and-relx/index.html index 1278950a..76be0ae0 100644 --- a/articles/erlang.mk-and-relx/index.html +++ b/articles/erlang.mk-and-relx/index.html @@ -119,6 +119,10 @@ cowboy-0.8.5 erlydtl-0.7.0 ninenines-0.2.0 stdlib-1.19.1 +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/erlanger-playbook-september-2015-update/index.html b/articles/erlanger-playbook-september-2015-update/index.html index 9a24ec53..e3a8bf5a 100644 --- a/articles/erlanger-playbook-september-2015-update/index.html +++ b/articles/erlanger-playbook-september-2015-update/index.html @@ -88,6 +88,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/erlanger-playbook/index.html b/articles/erlanger-playbook/index.html index 6d1caf8e..d474885b 100644 --- a/articles/erlanger-playbook/index.html +++ b/articles/erlanger-playbook/index.html @@ -129,6 +129,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/farwest-funded/index.html b/articles/farwest-funded/index.html index 78c0ece5..023cfbe6 100644 --- a/articles/farwest-funded/index.html +++ b/articles/farwest-funded/index.html @@ -89,6 +89,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/github-sponsors/index.html b/articles/github-sponsors/index.html index b6346072..e1a68111 100644 --- a/articles/github-sponsors/index.html +++ b/articles/github-sponsors/index.html @@ -86,6 +86,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/gun-1.0.0-rc.1/index.html b/articles/gun-1.0.0-rc.1/index.html index 935f0060..8dd1349e 100644 --- a/articles/gun-1.0.0-rc.1/index.html +++ b/articles/gun-1.0.0-rc.1/index.html @@ -90,6 +90,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/gun-1.0.0/index.html b/articles/gun-1.0.0/index.html index c9d4e6bb..9ecab618 100644 --- a/articles/gun-1.0.0/index.html +++ b/articles/gun-1.0.0/index.html @@ -89,6 +89,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/gun-1.2.0/index.html b/articles/gun-1.2.0/index.html index fb2954f4..ec1648e3 100644 --- a/articles/gun-1.2.0/index.html +++ b/articles/gun-1.2.0/index.html @@ -89,6 +89,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/gun-1.3.0/index.html b/articles/gun-1.3.0/index.html index bef45e1c..73388bcb 100644 --- a/articles/gun-1.3.0/index.html +++ b/articles/gun-1.3.0/index.html @@ -87,6 +87,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/gun-2.0.0-pre.1/index.html b/articles/gun-2.0.0-pre.1/index.html index 778f8fab..f3d5b0d8 100644 --- a/articles/gun-2.0.0-pre.1/index.html +++ b/articles/gun-2.0.0-pre.1/index.html @@ -94,6 +94,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/gun-2.0.0-pre.2/index.html b/articles/gun-2.0.0-pre.2/index.html index afd15322..ea034c97 100644 --- a/articles/gun-2.0.0-pre.2/index.html +++ b/articles/gun-2.0.0-pre.2/index.html @@ -92,6 +92,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/gun-2.0.0-rc.1/index.html b/articles/gun-2.0.0-rc.1/index.html index 7cb1d335..33ef7f1f 100644 --- a/articles/gun-2.0.0-rc.1/index.html +++ b/articles/gun-2.0.0-rc.1/index.html @@ -97,6 +97,10 @@ +
  • Ranch 2.1
  • + + +
  • Cowboy 2.9
  • diff --git a/articles/index.html b/articles/index.html index c16218a8..782192bf 100644 --- a/articles/index.html +++ b/articles/index.html @@ -65,6 +65,24 @@

    Articles

    +
    +
    +

    Ranch 2.1

    +

    + 2021 + 09 Sep +

    +
    + +

    Ranch 2.1.0 has been released! +Ranch 2.1 adds counters for the number of connections accepted and terminated. They can be used to produce information about accept or shutdown rates or as a total number of connections handled by Ranch. +Ranch 2.1 also adds an alarm around the number of active connections a connection supervisor handles. When that number is high it is now possible to automatically perform an action, such as logging or gracefully shutting down idle connections.

    + +

    + Read More +

    +
    +

    Cowboy 2.9

    @@ -415,24 +433,6 @@ Note that it is currently not possible to tunnel a TLS connection via an HTTPS p

    -
    -
    -

    Ranch 1.6

    -

    - 2018 - 01 Aug -

    -
    - -

    Ranch 1.6.0 has been released! -This release sees the introduction of a suspend/resume mechanism for the listeners which makes the listener close the listening socket and stop accepting new connections. Existing connections continue uninterrupted. -This can be used to update the socket options of the listener, or to implement a graceful shutdown. To that end a function has also been added which allows waiting until connections reach a certain number.

    - -

    - Read More -

    -
    -