From 4ddd4e856a43c800227878c4b145aca15ce3f579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 14 Nov 2018 12:50:22 +0100 Subject: Ranch 1.7.0 --- _build/Makefile | 4 +- _build/content/articles/ranch-1.7.0.asciidoc | 32 ++ _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/cowboy2-qs/index.html | 4 + articles/dont-let-it-crash/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/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/index.html | 37 +- articles/index.xml | 14 +- articles/january-2014-status/index.html | 4 + articles/ml-archives/index.html | 4 + articles/on-open-source/index.html | 4 + articles/page/1/index.html | 2 +- articles/page/2/index.html | 18 + articles/ranch-1.3/index.html | 4 + articles/ranch-1.6.0/index.html | 4 + articles/ranch-1.7.0/index.html | 277 ++++++++++ articles/ranch-ftp/index.html | 4 + articles/the-elephant-in-the-room/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/cowboy/1.0/index.html | 2 +- docs/en/cowboy/2.0/index.html | 2 +- docs/en/cowboy/HEAD/guide/index.html | 2 +- docs/en/cowboy/HEAD/index.html | 2 +- docs/en/cowboy/HEAD/manual/index.html | 2 +- docs/en/cowboy/index.html | 2 +- docs/en/erlang.mk/1/index.html | 2 +- docs/en/erlang.mk/index.html | 2 +- docs/en/gun/1.0/index.html | 2 +- docs/en/gun/index.html | 2 +- docs/en/index.html | 2 +- docs/en/ranch/1.2/guide/embedded/index.html | 2 + docs/en/ranch/1.2/guide/index.html | 2 + docs/en/ranch/1.2/guide/internals/index.html | 2 + docs/en/ranch/1.2/guide/introduction/index.html | 2 + docs/en/ranch/1.2/guide/listeners/index.html | 2 + docs/en/ranch/1.2/guide/parsers/index.html | 2 + docs/en/ranch/1.2/guide/protocols/index.html | 2 + docs/en/ranch/1.2/guide/ssl_auth/index.html | 2 + docs/en/ranch/1.2/guide/transports/index.html | 2 + docs/en/ranch/1.2/index.html | 2 +- docs/en/ranch/1.2/manual/index.html | 2 + docs/en/ranch/1.2/manual/ranch/index.html | 2 + docs/en/ranch/1.2/manual/ranch_app/index.html | 2 + docs/en/ranch/1.2/manual/ranch_protocol/index.html | 2 + docs/en/ranch/1.2/manual/ranch_ssl/index.html | 2 + docs/en/ranch/1.2/manual/ranch_tcp/index.html | 2 + .../en/ranch/1.2/manual/ranch_transport/index.html | 2 + docs/en/ranch/1.3/guide/embedded/index.html | 2 + docs/en/ranch/1.3/guide/index.html | 2 + docs/en/ranch/1.3/guide/internals/index.html | 2 + docs/en/ranch/1.3/guide/introduction/index.html | 2 + docs/en/ranch/1.3/guide/listeners/index.html | 2 + docs/en/ranch/1.3/guide/parsers/index.html | 2 + docs/en/ranch/1.3/guide/protocols/index.html | 2 + docs/en/ranch/1.3/guide/ssl_auth/index.html | 2 + docs/en/ranch/1.3/guide/transports/index.html | 2 + docs/en/ranch/1.3/manual/index.html | 2 + docs/en/ranch/1.3/manual/ranch/index.html | 2 + docs/en/ranch/1.3/manual/ranch_app/index.html | 2 + docs/en/ranch/1.3/manual/ranch_protocol/index.html | 2 + docs/en/ranch/1.3/manual/ranch_ssl/index.html | 2 + docs/en/ranch/1.3/manual/ranch_tcp/index.html | 2 + .../en/ranch/1.3/manual/ranch_transport/index.html | 2 + docs/en/ranch/1.4/guide/embedded/index.html | 2 + docs/en/ranch/1.4/guide/index.html | 2 + docs/en/ranch/1.4/guide/internals/index.html | 2 + docs/en/ranch/1.4/guide/introduction/index.html | 2 + docs/en/ranch/1.4/guide/listeners/index.html | 2 + docs/en/ranch/1.4/guide/parsers/index.html | 2 + docs/en/ranch/1.4/guide/protocols/index.html | 2 + docs/en/ranch/1.4/guide/ssl_auth/index.html | 2 + docs/en/ranch/1.4/guide/transports/index.html | 2 + docs/en/ranch/1.4/manual/index.html | 2 + docs/en/ranch/1.4/manual/ranch/index.html | 2 + docs/en/ranch/1.4/manual/ranch_app/index.html | 2 + docs/en/ranch/1.4/manual/ranch_protocol/index.html | 2 + docs/en/ranch/1.4/manual/ranch_ssl/index.html | 2 + docs/en/ranch/1.4/manual/ranch_tcp/index.html | 2 + .../en/ranch/1.4/manual/ranch_transport/index.html | 2 + docs/en/ranch/1.5/guide/embedded/index.html | 2 + docs/en/ranch/1.5/guide/index.html | 2 + docs/en/ranch/1.5/guide/internals/index.html | 2 + docs/en/ranch/1.5/guide/introduction/index.html | 2 + docs/en/ranch/1.5/guide/listeners/index.html | 2 + docs/en/ranch/1.5/guide/parsers/index.html | 2 + docs/en/ranch/1.5/guide/protocols/index.html | 2 + docs/en/ranch/1.5/guide/ssl_auth/index.html | 2 + docs/en/ranch/1.5/guide/transports/index.html | 2 + docs/en/ranch/1.5/manual/index.html | 2 + docs/en/ranch/1.5/manual/ranch/index.html | 2 + docs/en/ranch/1.5/manual/ranch_app/index.html | 2 + docs/en/ranch/1.5/manual/ranch_protocol/index.html | 2 + docs/en/ranch/1.5/manual/ranch_ssl/index.html | 2 + docs/en/ranch/1.5/manual/ranch_tcp/index.html | 2 + .../en/ranch/1.5/manual/ranch_transport/index.html | 2 + docs/en/ranch/1.6/guide/embedded/index.html | 2 + docs/en/ranch/1.6/guide/index.html | 2 + docs/en/ranch/1.6/guide/internals/index.html | 2 + docs/en/ranch/1.6/guide/introduction/index.html | 2 + docs/en/ranch/1.6/guide/listeners/index.html | 2 + .../ranch/1.6/guide/migrating_from_1.5/index.html | 2 + .../ranch/1.6/guide/migrating_from_1.6/index.html | 2 + .../ranch/1.6/guide/migrating_from_1.x/index.html | 2 + docs/en/ranch/1.6/guide/parsers/index.html | 2 + docs/en/ranch/1.6/guide/protocols/index.html | 2 + docs/en/ranch/1.6/guide/ssl_auth/index.html | 2 + docs/en/ranch/1.6/guide/transports/index.html | 2 + .../1.6/guide/upcoming_2.0_changes/index.html | 2 + docs/en/ranch/1.6/manual/index.html | 2 + .../ranch/1.6/manual/ranch.child_spec/index.html | 2 + docs/en/ranch/1.6/manual/ranch.get_addr/index.html | 2 + .../manual/ranch.get_max_connections/index.html | 2 + docs/en/ranch/1.6/manual/ranch.get_port/index.html | 2 + .../manual/ranch.get_protocol_options/index.html | 2 + .../ranch/1.6/manual/ranch.get_status/index.html | 2 + .../manual/ranch.get_transport_options/index.html | 2 + .../en/ranch/1.6/manual/ranch.handshake/index.html | 2 + docs/en/ranch/1.6/manual/ranch.info/index.html | 2 + docs/en/ranch/1.6/manual/ranch.procs/index.html | 2 + .../1.6/manual/ranch.remove_connection/index.html | 2 + .../1.6/manual/ranch.resume_listener/index.html | 2 + .../manual/ranch.set_max_connections/index.html | 2 + .../manual/ranch.set_protocol_options/index.html | 2 + .../manual/ranch.set_transport_options/index.html | 2 + .../1.6/manual/ranch.start_listener/index.html | 2 + .../1.6/manual/ranch.stop_listener/index.html | 2 + .../1.6/manual/ranch.suspend_listener/index.html | 2 + .../manual/ranch.wait_for_connections/index.html | 2 + docs/en/ranch/1.6/manual/ranch/index.html | 2 + docs/en/ranch/1.6/manual/ranch_app/index.html | 2 + docs/en/ranch/1.6/manual/ranch_protocol/index.html | 2 + docs/en/ranch/1.6/manual/ranch_ssl/index.html | 2 + docs/en/ranch/1.6/manual/ranch_tcp/index.html | 2 + .../1.6/manual/ranch_transport.sendfile/index.html | 2 + .../en/ranch/1.6/manual/ranch_transport/index.html | 2 + docs/en/ranch/1.7/guide/embedded.asciidoc | 48 ++ docs/en/ranch/1.7/guide/embedded/index.html | 188 +++++++ docs/en/ranch/1.7/guide/index.html | 175 +++++++ docs/en/ranch/1.7/guide/internals.asciidoc | 94 ++++ docs/en/ranch/1.7/guide/internals/index.html | 192 +++++++ docs/en/ranch/1.7/guide/introduction.asciidoc | 25 + docs/en/ranch/1.7/guide/introduction/index.html | 171 +++++++ docs/en/ranch/1.7/guide/listeners.asciidoc | 364 ++++++++++++++ docs/en/ranch/1.7/guide/listeners/index.html | 407 +++++++++++++++ .../en/ranch/1.7/guide/migrating_from_1.5.asciidoc | 76 +++ .../ranch/1.7/guide/migrating_from_1.5/index.html | 207 ++++++++ .../en/ranch/1.7/guide/migrating_from_1.6.asciidoc | 46 ++ .../ranch/1.7/guide/migrating_from_1.6/index.html | 187 +++++++ .../en/ranch/1.7/guide/migrating_from_1.x.asciidoc | 70 +++ .../ranch/1.7/guide/migrating_from_1.x/index.html | 260 ++++++++++ docs/en/ranch/1.7/guide/parsers.asciidoc | 92 ++++ docs/en/ranch/1.7/guide/parsers/index.html | 227 +++++++++ docs/en/ranch/1.7/guide/protocols.asciidoc | 99 ++++ docs/en/ranch/1.7/guide/protocols/index.html | 234 +++++++++ docs/en/ranch/1.7/guide/ssl_auth.asciidoc | 120 +++++ docs/en/ranch/1.7/guide/ssl_auth/index.html | 240 +++++++++ docs/en/ranch/1.7/guide/transports.asciidoc | 172 +++++++ docs/en/ranch/1.7/guide/transports/index.html | 274 ++++++++++ .../ranch/1.7/guide/upcoming_2.0_changes.asciidoc | 34 ++ .../1.7/guide/upcoming_2.0_changes/index.html | 181 +++++++ docs/en/ranch/1.7/manual/index.html | 187 +++++++ .../ranch/1.7/manual/ranch.child_spec/index.html | 205 ++++++++ docs/en/ranch/1.7/manual/ranch.get_addr/index.html | 173 +++++++ .../manual/ranch.get_max_connections/index.html | 171 +++++++ docs/en/ranch/1.7/manual/ranch.get_port/index.html | 172 +++++++ .../manual/ranch.get_protocol_options/index.html | 171 +++++++ .../ranch/1.7/manual/ranch.get_status/index.html | 174 +++++++ .../manual/ranch.get_transport_options/index.html | 171 +++++++ .../en/ranch/1.7/manual/ranch.handshake/index.html | 194 +++++++ docs/en/ranch/1.7/manual/ranch.info/index.html | 219 ++++++++ docs/en/ranch/1.7/manual/ranch.procs/index.html | 182 +++++++ .../1.7/manual/ranch.recv_proxy_header/index.html | 192 +++++++ .../1.7/manual/ranch.remove_connection/index.html | 172 +++++++ .../1.7/manual/ranch.resume_listener/index.html | 178 +++++++ .../manual/ranch.set_max_connections/index.html | 176 +++++++ .../manual/ranch.set_protocol_options/index.html | 176 +++++++ .../manual/ranch.set_transport_options/index.html | 181 +++++++ .../1.7/manual/ranch.start_listener/index.html | 230 +++++++++ .../1.7/manual/ranch.stop_listener/index.html | 175 +++++++ .../1.7/manual/ranch.suspend_listener/index.html | 179 +++++++ .../manual/ranch.wait_for_connections/index.html | 199 ++++++++ docs/en/ranch/1.7/manual/ranch/index.html | 284 +++++++++++ docs/en/ranch/1.7/manual/ranch_app/index.html | 187 +++++++ docs/en/ranch/1.7/manual/ranch_protocol/index.html | 171 +++++++ .../manual/ranch_proxy_header.header/index.html | 206 ++++++++ .../1.7/manual/ranch_proxy_header.parse/index.html | 177 +++++++ .../ranch/1.7/manual/ranch_proxy_header/index.html | 260 ++++++++++ docs/en/ranch/1.7/manual/ranch_ssl/index.html | 323 ++++++++++++ docs/en/ranch/1.7/manual/ranch_tcp/index.html | 270 ++++++++++ .../1.7/manual/ranch_transport.sendfile/index.html | 206 ++++++++ .../en/ranch/1.7/manual/ranch_transport/index.html | 371 ++++++++++++++ docs/en/ranch/index.html | 2 +- docs/index.html | 7 + docs/index.xml | 544 ++++++++++++++++++++ donate/index.html | 90 ++++ index.html | 96 +++- index.xml | 558 ++++++++++++++++++++- services/index.html | 90 ++++ sitemap.xml | 185 ++++++- support/index.html | 2 +- training/index.html | 2 +- 227 files changed, 12814 insertions(+), 45 deletions(-) create mode 100644 _build/content/articles/ranch-1.7.0.asciidoc create mode 100644 articles/ranch-1.7.0/index.html create mode 100644 docs/en/ranch/1.7/guide/embedded.asciidoc create mode 100644 docs/en/ranch/1.7/guide/embedded/index.html create mode 100644 docs/en/ranch/1.7/guide/index.html create mode 100644 docs/en/ranch/1.7/guide/internals.asciidoc create mode 100644 docs/en/ranch/1.7/guide/internals/index.html create mode 100644 docs/en/ranch/1.7/guide/introduction.asciidoc create mode 100644 docs/en/ranch/1.7/guide/introduction/index.html create mode 100644 docs/en/ranch/1.7/guide/listeners.asciidoc create mode 100644 docs/en/ranch/1.7/guide/listeners/index.html create mode 100644 docs/en/ranch/1.7/guide/migrating_from_1.5.asciidoc create mode 100644 docs/en/ranch/1.7/guide/migrating_from_1.5/index.html create mode 100644 docs/en/ranch/1.7/guide/migrating_from_1.6.asciidoc create mode 100644 docs/en/ranch/1.7/guide/migrating_from_1.6/index.html create mode 100644 docs/en/ranch/1.7/guide/migrating_from_1.x.asciidoc create mode 100644 docs/en/ranch/1.7/guide/migrating_from_1.x/index.html create mode 100644 docs/en/ranch/1.7/guide/parsers.asciidoc create mode 100644 docs/en/ranch/1.7/guide/parsers/index.html create mode 100644 docs/en/ranch/1.7/guide/protocols.asciidoc create mode 100644 docs/en/ranch/1.7/guide/protocols/index.html create mode 100644 docs/en/ranch/1.7/guide/ssl_auth.asciidoc create mode 100644 docs/en/ranch/1.7/guide/ssl_auth/index.html create mode 100644 docs/en/ranch/1.7/guide/transports.asciidoc create mode 100644 docs/en/ranch/1.7/guide/transports/index.html create mode 100644 docs/en/ranch/1.7/guide/upcoming_2.0_changes.asciidoc create mode 100644 docs/en/ranch/1.7/guide/upcoming_2.0_changes/index.html create mode 100644 docs/en/ranch/1.7/manual/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.child_spec/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.get_addr/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.get_max_connections/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.get_port/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.get_protocol_options/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.get_status/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.get_transport_options/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.handshake/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.info/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.procs/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.recv_proxy_header/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.remove_connection/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.resume_listener/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.set_max_connections/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.set_protocol_options/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.set_transport_options/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.start_listener/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.stop_listener/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.suspend_listener/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch.wait_for_connections/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_app/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_protocol/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_proxy_header.header/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_proxy_header.parse/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_proxy_header/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_ssl/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_tcp/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_transport.sendfile/index.html create mode 100644 docs/en/ranch/1.7/manual/ranch_transport/index.html diff --git a/_build/Makefile b/_build/Makefile index d4e72edb..d030fbd2 100644 --- a/_build/Makefile +++ b/_build/Makefile @@ -73,7 +73,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" ] || [ "$1" = "ranch" -a "$3" = "1.6" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ]; then \ sed '1,/^$$$$/d' tmp/$1/doc/src/manual/$1_app.asciidoc | sed 's/xref:/link:..\//' \ | sed 's/link:man:\([a-z0-9_]*\)(7)/link:\1_app/g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ @@ -94,7 +94,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" ] || [ "$1" = "ranch" -a "$3" = "1.6" ]; then \ + if [ "$1" = "cowboy" -o "$1" = "gun" ] || [ "$1" = "ranch" -a "$3" = "1.6" ] || [ "$1" = "ranch" -a "$3" = "1.7" ]; then \ sed '1,/^$$$$/d' $$$$f | sed 's/xref:/link:..\//g' \ | sed 's/link:man:$1(7)/link:../g' \ | sed 's/\(link:man:[a-z0-9_]*\):/\1./g' \ diff --git a/_build/content/articles/ranch-1.7.0.asciidoc b/_build/content/articles/ranch-1.7.0.asciidoc new file mode 100644 index 00000000..2b300e2d --- /dev/null +++ b/_build/content/articles/ranch-1.7.0.asciidoc @@ -0,0 +1,32 @@ ++++ +date = "2018-11-14T10:00:00+01:00" +title = "Ranch 1.7" + ++++ + +Ranch `1.7.0` has been released! + +This release adds built-in support for the PROXY protocol. + +The PROXY protocol is a simple and efficient way for proxies +to transmit information about the client. + +While a third-party library already existed, it was not +entirely compatible with the Ranch interface, in particular +when socket active mode was involved. This new implementation +fixes that and supports the full protocol with as little +overhead as possible compared to normal operations: just one +extra function call. + +A complete +list of changes can be found in the migration guide: +https://ninenines.eu/docs/en/ranch/1.7/guide/migrating_from_1.6/[Migrating from Ranch 1.6 to 1.7]. + +You can donate to this project via +https://salt.bountysource.com/teams/ninenines[BountySource]. +These funds are used to pay for additional servers for +testing and allow to me allocate more days to open source +work. Thanks in advance! + +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 4978794a..5ede7f5b 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 = ["1.6", "1.5", "1.4", "1.3", "1.2"] -branches = ["master", "1.5.0", "1.4.0", "1.3.2", "1.2.1"] +versions = ["1.7", "1.6", "1.5", "1.4", "1.3", "1.2"] +branches = ["master", "1.6.2", "1.5.0", "1.4.0", "1.3.2", "1.2.1"] has_source = true has_guide = true has_manual = true diff --git a/articles/asciideck/index.html b/articles/asciideck/index.html index 0b519a45..052be5be 100644 --- a/articles/asciideck/index.html +++ b/articles/asciideck/index.html @@ -108,6 +108,10 @@ http://www.gnu.org/software/src-highlite -->