diff options
author | Loïc Hoguin <[email protected]> | 2025-02-14 13:32:01 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2025-02-14 13:32:01 +0100 |
commit | 0923a1b9f8abfdf8ea8331fcd4a55436e9eab344 (patch) | |
tree | 6c6c1f7d782983c0c1110861b36c6a0c77b0807b /src | |
parent | 6d6374a1397ba21cc43b6dff6cfc911aeac87809 (diff) | |
download | ranch-0923a1b9f8abfdf8ea8331fcd4a55436e9eab344.tar.gz ranch-0923a1b9f8abfdf8ea8331fcd4a55436e9eab344.tar.bz2 ranch-0923a1b9f8abfdf8ea8331fcd4a55436e9eab344.zip |
Add appup instructions for 2.2.0
Diffstat (limited to 'src')
-rw-r--r-- | src/ranch.appup | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/src/ranch.appup b/src/ranch.appup index 04f2d2c..ec329a0 100644 --- a/src/ranch.appup +++ b/src/ranch.appup @@ -9,6 +9,53 @@ %% module then call system_code_change; and when downgrading, %% call system_code_change and then load the module. +{"2.2.0", + [{<<"2\\.1\\.[0-9]+.*">>, [ + {apply, {ranch, stop_all_acceptors, []}}, + {load_module, ranch}, + {load_module, ranch_acceptor}, + {update, ranch_acceptors_sup, supervisor}, + {load_module, ranch_app}, + {update, ranch_server, {advanced, []}}, + {update, ranch_conns_sup_sup, supervisor}, + %% See comments at the top of the file about ranch_conns_sup. + {update, ranch_conns_sup, {advanced, []}}, + {load_module, ranch_crc32c}, + {update, ranch_embedded_sup, supervisor}, + {update, ranch_listener_sup, supervisor}, + {load_module, ranch_protocol}, + {load_module, ranch_proxy_header}, + {update, ranch_server_proxy, {advanced, []}}, + {load_module, ranch_ssl}, + {update, ranch_sup, supervisor}, + {load_module, ranch_tcp}, + {load_module, ranch_transport}, + {apply, {ranch, restart_all_acceptors, []}} + ]}], + [{<<"2\\.1\\.[0-9]+.*">>, [ + {apply, {ranch, stop_all_acceptors, []}}, + {load_module, ranch}, + {load_module, ranch_acceptor}, + {update, ranch_acceptors_sup, supervisor}, + {load_module, ranch_app}, + %% See comments at the top of the file about ranch_conns_sup. + {update, ranch_conns_sup, {advanced, []}}, + {update, ranch_conns_sup_sup, supervisor}, + {load_module, ranch_crc32c}, + {update, ranch_embedded_sup, supervisor}, + {update, ranch_listener_sup, supervisor}, + {load_module, ranch_protocol}, + {load_module, ranch_proxy_header}, + {update, ranch_server, {advanced, []}}, + {update, ranch_server_proxy, {advanced, []}}, + {load_module, ranch_ssl}, + {update, ranch_sup, supervisor}, + {load_module, ranch_tcp}, + {load_module, ranch_transport}, + {apply, {ranch, restart_all_acceptors, []}} + ]}] +}. + {"2.1.0", [{<<"2\\.0\\.[0-9]+.*">>, [ {apply, {ranch, stop_all_acceptors, []}}, |