This is an automated email from the ASF dual-hosted git repository.
robertlazarski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git
The following commit(s) were added to refs/heads/master by this push:
new f113353b3 Update version to 2.0.0 for upcoming release
f113353b3 is described below
commit f113353b3017c0038a2fe7038b017542b8b76c03
Author: Robert Lazarski <[email protected]>
AuthorDate: Wed Dec 31 05:01:03 2025 -1000
Update version to 2.0.0 for upcoming release
- Update AXIS2_MAJOR_VERSION from 1 to 2
- Update AXIS2_MINOR_VERSION from 7 to 0
- Update hardcoded User-Agent strings in mock_client.c test
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>
---
src/core/transport/http/sender/ntlm/test/mock_client.c | 6 +++---
util/include/axutil_version.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/core/transport/http/sender/ntlm/test/mock_client.c
b/src/core/transport/http/sender/ntlm/test/mock_client.c
index d44ce80e2..9a9f701c7 100755
--- a/src/core/transport/http/sender/ntlm/test/mock_client.c
+++ b/src/core/transport/http/sender/ntlm/test/mock_client.c
@@ -28,7 +28,7 @@ create_type1_header(const axutil_env_t *env, axis2_char_t
*encoded)
header1 = "HEAD /myservice/Service1.asmx HTTP/1.1\n"\
"Host: 172.16.176.132:8080\n"\
- "User-Agent: Axis2C/1.7.0\n";
+ "User-Agent: Axis2C/2.0.0\n";
header1 = axutil_strcat(env, header1, type1_header, "\n\n", NULL);
AXIS2_FREE(env->allocator, type1_header);
@@ -43,7 +43,7 @@ create_type3_header(const axutil_env_t *env,
char *temp_header = strdup("GET /myservice/Service1.asmx?WSDL HTTP/1.1\n"\
"Host: 172.16.176.132:8080\n"\
- "User-Agent: Axis2C/1.7.0\n"\
+ "User-Agent: Axis2C/2.0.0\n"\
"Authorization: NTLM ");
int len1 = axutil_strlen(encoded);
@@ -91,7 +91,7 @@ int main()
/* Create a normal message */
char *init_send = axutil_strdup(env, "HEAD /myservice/Service1.asmx
HTTP/1.1\n"\
"Host: 172.16.176.132:8080\n"\
- "User-Agent: Axis2C/1.7.0\n\n");
+ "User-Agent: Axis2C/2.0.0\n\n");
if (connect(sock, (struct sockaddr *)&server_addr,
sizeof(struct sockaddr)) == -1)
diff --git a/util/include/axutil_version.h b/util/include/axutil_version.h
index b66dd48f5..4db2a3ba7 100644
--- a/util/include/axutil_version.h
+++ b/util/include/axutil_version.h
@@ -28,13 +28,13 @@
* programs such as structure size changes. No binary compatibility is
* possible across a change in the major version.
*/
-#define AXIS2_MAJOR_VERSION 1
+#define AXIS2_MAJOR_VERSION 2
/** minor version
* Minor API changes that do not cause binary compatibility problems.
* Reset to 0 when upgrading AXIS2_MAJOR_VERSION
*/
-#define AXIS2_MINOR_VERSION 7
+#define AXIS2_MINOR_VERSION 0
/** patch level
* The Patch Level never includes API changes, simply bug fixes.