diff --git a/CMakeLists.txt b/CMakeLists.txt
index f55f3fb79..9ce286040 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -234,7 +234,7 @@ endif(NATS_BUILD_WITH_TLS)
set(NATS_VERSION_MAJOR 2)
set(NATS_VERSION_MINOR 5)
-set(NATS_VERSION_PATCH 0)
+set(NATS_VERSION_PATCH 1)
set(NATS_VERSION_SUFFIX "")
set(NATS_VERSION_REQUIRED_NUMBER 0x020200)
diff --git a/README.md b/README.md
index a3d538496..f00973dd3 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ This NATS Client implementation is heavily based on the [NATS GO Client](https:/
[](https://www.apache.org/licenses/LICENSE-2.0)
[](https://travis-ci.com/github/nats-io/nats.c)
[](https://coveralls.io/github/nats-io/nats.c?branch=master)
-[](https://github.com/nats-io/nats.c/releases/tag/v2.5.0)
+[](https://github.com/nats-io/nats.c/releases/tag/v2.5.1)
[](http://nats-io.github.io/nats.c)
[](https://lgtm.com/projects/g/nats-io/nats.c/alerts/)
[](https://lgtm.com/projects/g/nats-io/nats.c/context:cpp)
diff --git a/doc/DoxyFile.NATS.Client b/doc/DoxyFile.NATS.Client
index 43c27a32f..915ad7a85 100644
--- a/doc/DoxyFile.NATS.Client
+++ b/doc/DoxyFile.NATS.Client
@@ -38,7 +38,7 @@ PROJECT_NAME = "NATS C Client with Streaming support"
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 2.5.0
+PROJECT_NUMBER = 2.5.1
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
diff --git a/doc/html/deprecated.html b/doc/html/deprecated.html
index 30505020a..1ac163a83 100644
--- a/doc/html/deprecated.html
+++ b/doc/html/deprecated.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/dir_085924db4bed469054a9264cf96b0d5e.html b/doc/html/dir_085924db4bed469054a9264cf96b0d5e.html
index 3e248db7e..d621bb605 100644
--- a/doc/html/dir_085924db4bed469054a9264cf96b0d5e.html
+++ b/doc/html/dir_085924db4bed469054a9264cf96b0d5e.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
index 39488d487..4a436d099 100644
--- a/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
+++ b/doc/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/files.html b/doc/html/files.html
index c8deabbe5..fc397f399 100644
--- a/doc/html/files.html
+++ b/doc/html/files.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/globals.html b/doc/html/globals.html
index 4a6c19992..dd9b3c6ce 100644
--- a/doc/html/globals.html
+++ b/doc/html/globals.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/globals_defs.html b/doc/html/globals_defs.html
index d9004b109..efca1a91c 100644
--- a/doc/html/globals_defs.html
+++ b/doc/html/globals_defs.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/globals_enum.html b/doc/html/globals_enum.html
index 11f840637..bfbf17135 100644
--- a/doc/html/globals_enum.html
+++ b/doc/html/globals_enum.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/globals_eval.html b/doc/html/globals_eval.html
index 055ed4a76..8f4ad2309 100644
--- a/doc/html/globals_eval.html
+++ b/doc/html/globals_eval.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/globals_func.html b/doc/html/globals_func.html
index ebf9c07f0..9e237cf8a 100644
--- a/doc/html/globals_func.html
+++ b/doc/html/globals_func.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/globals_s.html b/doc/html/globals_s.html
index a32a1f521..49dddd40c 100644
--- a/doc/html/globals_s.html
+++ b/doc/html/globals_s.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/globals_type.html b/doc/html/globals_type.html
index b97e7a599..1aefe30d5 100644
--- a/doc/html/globals_type.html
+++ b/doc/html/globals_type.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__callbacks_group.html b/doc/html/group__callbacks_group.html
index eeb3f9122..5f5ba5b38 100644
--- a/doc/html/group__callbacks_group.html
+++ b/doc/html/group__callbacks_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__conn_group.html b/doc/html/group__conn_group.html
index 6d0a8a9b2..4efc4e396 100644
--- a/doc/html/group__conn_group.html
+++ b/doc/html/group__conn_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__conn_mgt_group.html b/doc/html/group__conn_mgt_group.html
index c67889f9d..1e42a0dd4 100644
--- a/doc/html/group__conn_mgt_group.html
+++ b/doc/html/group__conn_mgt_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__conn_pub_group.html b/doc/html/group__conn_pub_group.html
index 52c439516..33aa527ec 100644
--- a/doc/html/group__conn_pub_group.html
+++ b/doc/html/group__conn_pub_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__conn_sub_group.html b/doc/html/group__conn_sub_group.html
index 30de113b3..6e2fd1ac1 100644
--- a/doc/html/group__conn_sub_group.html
+++ b/doc/html/group__conn_sub_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__env_variables_group.html b/doc/html/group__env_variables_group.html
index af0465334..60d617664 100644
--- a/doc/html/group__env_variables_group.html
+++ b/doc/html/group__env_variables_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__func_group.html b/doc/html/group__func_group.html
index 5d520e441..56d3e1f9f 100644
--- a/doc/html/group__func_group.html
+++ b/doc/html/group__func_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__inbox_group.html b/doc/html/group__inbox_group.html
index 2fa164d81..f779a3a79 100644
--- a/doc/html/group__inbox_group.html
+++ b/doc/html/group__inbox_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__libevent_functions.html b/doc/html/group__libevent_functions.html
index f5fe48344..1da24e0ba 100644
--- a/doc/html/group__libevent_functions.html
+++ b/doc/html/group__libevent_functions.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__library_group.html b/doc/html/group__library_group.html
index 83eb1272d..157d90a10 100644
--- a/doc/html/group__library_group.html
+++ b/doc/html/group__library_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__libuv_functions.html b/doc/html/group__libuv_functions.html
index ff51e3730..a0c2312e1 100644
--- a/doc/html/group__libuv_functions.html
+++ b/doc/html/group__libuv_functions.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__msg_group.html b/doc/html/group__msg_group.html
index 81f0ede01..cc3873add 100644
--- a/doc/html/group__msg_group.html
+++ b/doc/html/group__msg_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__opts_group.html b/doc/html/group__opts_group.html
index c9b30b671..2e2f8d48b 100644
--- a/doc/html/group__opts_group.html
+++ b/doc/html/group__opts_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_conn_group.html b/doc/html/group__stan_conn_group.html
index 0202987d4..5d2c3de4b 100644
--- a/doc/html/group__stan_conn_group.html
+++ b/doc/html/group__stan_conn_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_conn_mgt_group.html b/doc/html/group__stan_conn_mgt_group.html
index 8a21c5c3e..cbf461bd1 100644
--- a/doc/html/group__stan_conn_mgt_group.html
+++ b/doc/html/group__stan_conn_mgt_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_conn_opts_group.html b/doc/html/group__stan_conn_opts_group.html
index c29d03643..4494f9c4b 100644
--- a/doc/html/group__stan_conn_opts_group.html
+++ b/doc/html/group__stan_conn_opts_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_conn_pub_group.html b/doc/html/group__stan_conn_pub_group.html
index 4852abd11..970dc1415 100644
--- a/doc/html/group__stan_conn_pub_group.html
+++ b/doc/html/group__stan_conn_pub_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_conn_sub_group.html b/doc/html/group__stan_conn_sub_group.html
index bdb6d533d..dd94c62ae 100644
--- a/doc/html/group__stan_conn_sub_group.html
+++ b/doc/html/group__stan_conn_sub_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_msg_group.html b/doc/html/group__stan_msg_group.html
index 1d950d284..a1d50c8cf 100644
--- a/doc/html/group__stan_msg_group.html
+++ b/doc/html/group__stan_msg_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_sub_group.html b/doc/html/group__stan_sub_group.html
index 4b29246d2..b1e0622dc 100644
--- a/doc/html/group__stan_sub_group.html
+++ b/doc/html/group__stan_sub_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stan_sub_opts_group.html b/doc/html/group__stan_sub_opts_group.html
index 97278cbe7..7b9db9743 100644
--- a/doc/html/group__stan_sub_opts_group.html
+++ b/doc/html/group__stan_sub_opts_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__stats_group.html b/doc/html/group__stats_group.html
index f580ab7b7..b9b2082f3 100644
--- a/doc/html/group__stats_group.html
+++ b/doc/html/group__stats_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__status_group.html b/doc/html/group__status_group.html
index 5b8d74253..395949b2b 100644
--- a/doc/html/group__status_group.html
+++ b/doc/html/group__status_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__sub_group.html b/doc/html/group__sub_group.html
index 9714fff32..c07539602 100644
--- a/doc/html/group__sub_group.html
+++ b/doc/html/group__sub_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__types_group.html b/doc/html/group__types_group.html
index eba4d53fc..4630efbfe 100644
--- a/doc/html/group__types_group.html
+++ b/doc/html/group__types_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/group__wildcards_group.html b/doc/html/group__wildcards_group.html
index 501def192..ae903ce4f 100644
--- a/doc/html/group__wildcards_group.html
+++ b/doc/html/group__wildcards_group.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/index.html b/doc/html/index.html
index 0bbd3797c..52068a4c1 100644
--- a/doc/html/index.html
+++ b/doc/html/index.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/libevent_8h.html b/doc/html/libevent_8h.html
index ca49021e0..d5beb45d7 100644
--- a/doc/html/libevent_8h.html
+++ b/doc/html/libevent_8h.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/libevent_8h_source.html b/doc/html/libevent_8h_source.html
index 29dbc3472..786d4d2c6 100644
--- a/doc/html/libevent_8h_source.html
+++ b/doc/html/libevent_8h_source.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/libuv_8h.html b/doc/html/libuv_8h.html
index 41cdd19a8..3d20ceb8b 100644
--- a/doc/html/libuv_8h.html
+++ b/doc/html/libuv_8h.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/libuv_8h_source.html b/doc/html/libuv_8h_source.html
index 217919ca3..1fd26d5c1 100644
--- a/doc/html/libuv_8h_source.html
+++ b/doc/html/libuv_8h_source.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/modules.html b/doc/html/modules.html
index ec86d39e7..e985b1c68 100644
--- a/doc/html/modules.html
+++ b/doc/html/modules.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/nats_8h.html b/doc/html/nats_8h.html
index 1cef4a66a..e9112b358 100644
--- a/doc/html/nats_8h.html
+++ b/doc/html/nats_8h.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/nats_8h_source.html b/doc/html/nats_8h_source.html
index 92ecfc5f6..5091732c8 100644
--- a/doc/html/nats_8h_source.html
+++ b/doc/html/nats_8h_source.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/pages.html b/doc/html/pages.html
index a8239b481..1a85d7fd8 100644
--- a/doc/html/pages.html
+++ b/doc/html/pages.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/status_8h.html b/doc/html/status_8h.html
index 8af1436fa..d18224717 100644
--- a/doc/html/status_8h.html
+++ b/doc/html/status_8h.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/doc/html/status_8h_source.html b/doc/html/status_8h_source.html
index 64e336532..c44d01cb1 100644
--- a/doc/html/status_8h_source.html
+++ b/doc/html/status_8h_source.html
@@ -33,7 +33,7 @@
NATS C Client with Streaming support
- 2.5.0
+ 2.5.1
The nats.io C Client, Supported by Synadia Communications Inc.
|
diff --git a/src/version.h b/src/version.h
index d53e08d10..7420c2b5c 100644
--- a/src/version.h
+++ b/src/version.h
@@ -23,9 +23,9 @@ extern "C" {
#define NATS_VERSION_MAJOR 2
#define NATS_VERSION_MINOR 5
-#define NATS_VERSION_PATCH 0
+#define NATS_VERSION_PATCH 1
-#define NATS_VERSION_STRING "2.5.0"
+#define NATS_VERSION_STRING "2.5.1"
#define NATS_VERSION_NUMBER ((NATS_VERSION_MAJOR << 16) | \
(NATS_VERSION_MINOR << 8) | \