Am 09.06.26 um 17:25 schrieb [email protected]:
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-connectors.git
The following commit(s) were added to refs/heads/main by this push:
new 4ebff9243 "struct sockaddr" is now required
4ebff9243 is described below
commit 4ebff92436892c5a232dae6be1b25bb15a22ae90
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Jun 9 16:24:49 2026 +0100
"struct sockaddr" is now required
---
native/common/jk_global.h | 7 -------
native/configure.ac | 24 ++++++------------------
2 files changed, 6 insertions(+), 25 deletions(-)
diff --git a/native/common/jk_global.h b/native/common/jk_global.h
index f4680ef8b..7a0d2f1a5 100644
--- a/native/common/jk_global.h
+++ b/native/common/jk_global.h
@@ -352,7 +352,6 @@ extern "C"
(tv)->tv_usec = tb.millitm * 1000; }
#define HAVE_VSNPRINTF
#define HAVE_SNPRINTF
-#define HAVE_SOCKADDR_STORAGE
#define HAVE_AF_INET6
#define HAVE_GETADDRINFO
#ifdef HAVE_APR
@@ -473,13 +472,7 @@ struct jk_sockaddr_t {
/** IPv6 sockaddr structure */
struct sockaddr_in6 sin6;
#endif
- /** Placeholder to ensure that the size of this union is not
- * dependent on whether JK_HAVE_IPV6 is defined. */
Maybe we should keep these two lines of comments?
-#ifdef HAVE_SOCKADDR_STORAGE
struct sockaddr_storage sas;
-#else
- char sas[128];
-#endif
} sa;
};
Best regards,
Rainer
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]