diff --git a/contrib/src/asio/SHA512SUMS b/contrib/src/asio/SHA512SUMS
index 6b3f7d1b8ab4bbc88d8583be735e1c494995b1e2..7b0a00214f08dca9f46cb175774113d97467a88e 100644
--- a/contrib/src/asio/SHA512SUMS
+++ b/contrib/src/asio/SHA512SUMS
@@ -1 +1 @@
-a6d1c5534fef0fe5ac549e1bd20919d180fbfe4c146be40ec6ebfa862534b8551778b0e79a5ba822ed645535e010646909f02f9e1d1f385ed758f07f57351ea8  asio-asio-1-19-2.tar.gz
\ No newline at end of file
+7658293f2be1f5ea659a424614b2f3092954df45802fbb0031b7983d11762f4f68d18eab076e14954df3a24ce89ff26bd4bebea88b9a3dc680387252efec8398  asio-asio-1-22-1.tar.gz
\ No newline at end of file
diff --git a/contrib/src/asio/no_tests_examples.patch b/contrib/src/asio/no_tests_examples.patch
index d38f4ed865d48beb66bcfa0c490957d12e2a9b61..391ffdaecf440c4aa3d82cbdef2a228be7cccd81 100755
--- a/contrib/src/asio/no_tests_examples.patch
+++ b/contrib/src/asio/no_tests_examples.patch
@@ -11,7 +11,7 @@ diff --git a/src/Makefile.am b/src/Makefile.am
 index e9b20e60..f2fbcefe 100644
 --- a/src/Makefile.am
 +++ b/src/Makefile.am
-@@ -1,23 +1,3 @@
+@@ -1,33 +1,3 @@
 -if !STANDALONE
 -EXAMPLES_CPP03 = examples/cpp03
 -endif
@@ -28,7 +28,17 @@ index e9b20e60..f2fbcefe 100644
 -EXAMPLES_CPP17 = examples/cpp17
 -endif
 -
--SUBDIRS = $(EXAMPLES_CPP03) $(EXAMPLES_CPP11) $(EXAMPLES_CPP14) $(EXAMPLES_CPP17) tests
+-if HAVE_CXX20
+-EXAMPLES_CPP20 = examples/cpp20
+-endif
+-
+-SUBDIRS = \
+-	$(EXAMPLES_CPP03) \
+-	$(EXAMPLES_CPP11) \
+-	$(EXAMPLES_CPP14) \
+-	$(EXAMPLES_CPP17) \
+-	$(EXAMPLES_CPP20) \
+-	tests
 -
 -DIST_SUBDIRS = examples/cpp03 examples/cpp11 examples/cpp14 examples/cpp17 tests
 -
diff --git a/contrib/src/asio/rules.mak b/contrib/src/asio/rules.mak
index 3c1dd91a9cd22a5ae097b3870addd38c26a36860..7740db3867ec64dccd64285ce4c91747b5be3342 100644
--- a/contrib/src/asio/rules.mak
+++ b/contrib/src/asio/rules.mak
@@ -18,7 +18,7 @@
 #  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
 #
 
-ASIO_VERSION := asio-1-19-2
+ASIO_VERSION := asio-1-22-1
 ASIO_URL := https://github.com/chriskohlhoff/asio/archive/$(ASIO_VERSION).tar.gz
 
 # Pure dependency of restinio: do not add to PKGS.