Browse Source

Ranch 1.7.1

Loïc Hoguin 6 years ago
parent
commit
3190aef88a
4 changed files with 18 additions and 2 deletions
  1. 1 1
      Makefile
  2. 2 0
      doc/src/guide/book.asciidoc
  3. 14 0
      doc/src/guide/migrating_from_1.7.asciidoc
  4. 1 1
      ebin/ranch.app

+ 1 - 1
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.

+ 2 - 0
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]

+ 14 - 0
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`.

+ 1 - 1
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]},