aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--doc/src/guide/book.asciidoc2
-rw-r--r--doc/src/guide/migrating_from_1.7.asciidoc14
-rw-r--r--ebin/ranch.app2
4 files changed, 18 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index df20a5d..7eb5eb4 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
PROJECT = ranch
PROJECT_DESCRIPTION = Socket acceptor pool for TCP protocols.
-PROJECT_VERSION = 1.7.0
+PROJECT_VERSION = 1.7.1
PROJECT_REGISTERED = ranch_server
# Options.
diff --git a/doc/src/guide/book.asciidoc b/doc/src/guide/book.asciidoc
index b8587ab..d4080b3 100644
--- a/doc/src/guide/book.asciidoc
+++ b/doc/src/guide/book.asciidoc
@@ -29,6 +29,8 @@ include::internals.asciidoc[Internals]
include::upcoming_2.0_changes.asciidoc[Upcoming changes in Ranch 2.0]
+include::migrating_from_1.7.asciidoc[Changes since Ranch 1.7]
+
include::migrating_from_1.6.asciidoc[Migrating from Ranch 1.6 to 1.7]
include::migrating_from_1.5.asciidoc[Migrating from Ranch 1.5 to 1.6]
diff --git a/doc/src/guide/migrating_from_1.7.asciidoc b/doc/src/guide/migrating_from_1.7.asciidoc
new file mode 100644
index 0000000..a4ce981
--- /dev/null
+++ b/doc/src/guide/migrating_from_1.7.asciidoc
@@ -0,0 +1,14 @@
+[appendix]
+== Changes since Ranch 1.7
+
+The following patch versions were released since Ranch 1.7:
+
+=== Ranch 1.7.1
+
+This release fixes an issue with the PROXY protocol where
+the wrong CRC32 algorithm was used and would cause checksum
+verification to fail.
+
+Because the plain `crc32` checksum is not supported by the
+PROXY protocol, the configuration value when building PROXY
+headers has been changed to `crc32c`.
diff --git a/ebin/ranch.app b/ebin/ranch.app
index e001a94..ca9b50a 100644
--- a/ebin/ranch.app
+++ b/ebin/ranch.app
@@ -1,6 +1,6 @@
{application, 'ranch', [
{description, "Socket acceptor pool for TCP protocols."},
- {vsn, "1.7.0"},
+ {vsn, "1.7.1"},
{modules, ['ranch','ranch_acceptor','ranch_acceptors_sup','ranch_app','ranch_conns_sup','ranch_crc32c','ranch_listener_sup','ranch_protocol','ranch_proxy_header','ranch_server','ranch_ssl','ranch_sup','ranch_tcp','ranch_transport']},
{registered, [ranch_sup,ranch_server]},
{applications, [kernel,stdlib,ssl]},