| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
PR: 66408
Submitted by: Sam James <sam gentoo.org>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1906594 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
flags to make SCTP support reliable:
* build/apr_network.m4 (APR_CHECK_SCTP): Add --disable-sctp flag to
forcibly disable SCTP support, and --enable-sctp to fail configure
if is SCTP support is requested but not available.
Submitted by: Lubos Uhliarik <luhliari redhat.com>, jorton
Github: closes #28
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1894167 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1882982 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
-Werror,-Wimplicit-function-declaration
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1882979 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Followup to r1449568 which misses the
variable declaration.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1502804 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
The original test failed occasionally on a busy
FreeBSD server when accept() returned EAGAIN.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1449568 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Submitted by: Yuri Pankov <yuri.pankov@gmail.com>
via freebsd ports/164420
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1235047 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@745763 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Patch by rpluem.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@668315 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Caveats:
- no idea if IBM's proprietary OSes actually have thread-safe
version of getservbyname() function, just assumed that by looking at
other similar functions being marked safe in APR detection code
- works on Linux (Fedora 9, i.e. glibc2)
Use thread safe versions of getservbyname().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@661178 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Use the variable to avoid warnings.
Trivial style fixes.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@661159 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@428313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
for Windows as well.
Originally titled: [patch 11/17] struct in_addr
Submitted by: John Mark Vandenberg
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@421071 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Quote arguments to AC_DEFUN properly. No functional change.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@354452 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Linux >=2.6:
* build/apr_network.m4 (APR_CHECK_TCP_NODELAY_WITH_CORK): New macro.
* configure.in: Use it.
* network_io/unix/sockopt.c (apr_socket_opt_set): If
HAVE_TCP_NODELAY_WITH_CORK is defined, don't toggle TCP_NODELAY when
setting TCP_CORK.
* test/testsockopt.c (corkable): Don't test that TCP_NODELAY and
TCP_CORK are mutually exclusive; caller shouldn't care.
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@240047 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
PR: 35021
Submitted by: Lee Begg <llnz paradise.net.nz>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@179786 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
declared if _XOPEN_SOURCE_EXTENDED is defined (which apr_hints.m4
does):
* build/apr_network.m4 (APR_CHECK_MCAST): New macro.
* configure.in: Use APR_CHECK_MCAST.
* network_io/unix/multicast.c: Make implementation conditional on
HAVE_STRUCT_IPMREQ.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@153932 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@125064 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
and cleanup macro.
PR: 28576
Submitted by: Paul Querna <chip force-elite.com>, Joe Orton
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65153 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
on any platforms.
Submitted by: Jeff Trawick, Joe Orton, Colm MacC�rthaigh <colm@stdlib.net>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@65103 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
- NI_MAXHOST is not defined, so provide fall-back logic
(we could just skip NI_MAXHOST altogether, but showing the
fallback will remind folks of why we can't just use NI_MAXHOST)
- htonl is a macro in arpa/inet.h, so include that header so that
the link is successful
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64845 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
detection: the definition is not used inside APR nor exported outside
APR. The BIND resolver can be configured via the RES_OPTIONS
environment variable or resolv.conf anyway.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64672 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
macro.
* include/apr.hw, include/apr.hnw, include/apr.h.in: Don't
define APR_INADDR_NONE here.
* include/apr_network_io.h: Define APR_INADDR_NONE here.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64671 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64668 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_sockaddr_t to be extended in the future whilst retaining
binary compatibility across builds with and without IPv6
enabled.
* build/apr_network.m4 (APR_CHECK_SOCKADDR_STORAGE): New
macro.
* configure.in: Use it.
* include/apr.h.in: Define APR_HAVE_SA_STORAGE.
* include/apr_network_io.h: Add a "struct sockaddr_storage"
field to the 'sa' union in apr_sockaddr_t.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64666 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
glibc 2.1 don't either support it or fail correctly):
* build/apr_network.m4 (APR_CHECK_GETADDRINFO_ADDRCONFIG):
New macro.
* configure.in: Use APR_CHECK_GETADDRINFO_ADDRCONFIG.
* network_io/unix/sockaddr.c (call_resolver): Only use the
AI_ADDRCONFIG flag if HAVE_GAI_ADDRCONFIG is defined.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64661 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64617 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
addition of IPv6 support to APR without its result being used.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64602 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64601 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64600 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
future releases of Darwin get it 'right', then we'll detect that.
Take Jeff's gni_mapped and rewrite it as an autoconf macro, so we can do
configure-time detection of this brokenness and stop hardcoding Darwin's
inability to do the drop down.
Then, take Colm's patch and make it conditional on the autoconf macro above.
Submitted by: Colm MacCarthaigh <colm@stdlib.net> and Jeff Trawick
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@64599 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
support
Submitted by: Randall Stewart <randall@stewart.chicago.il.us>,
Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63964 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
for the presence/usability of getnameinfo()
PR: 7642
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63319 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
numeric address strings... this solved a weird binary compatibility
problem
Submitted by: Jon Travis
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63301 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
is inherited across an accept(2). (Solaris 8, at least, has
this property.)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63265 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
we won't trust it to deal with numeric address strings properly
and will use our own logic in apr_sockaddr_info_get().
This fixes an assertion failure at Apache startup when using vhosts
on HP-UX.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63190 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the getaddrinfo() flavor we were needlessly building a
string form of the port number to pass to getaddrinfo() so
it would put it in the sockaddrs it built... but then we
stuffed the port number in the sockaddrs anyway
given that we no longer need getaddrinfo() to be able to
handle port numbers properly, there is no sense checking for
that ability at configure time
suddenly we think that AIX 4.3.3.no-fixes has a working
getaddrinfo() (it previously failed the pass-the-port-number-
to-getaddrinfo check)
but that level of AIX doesn't fill in the family field in
the sockaddrs built by getaddrinfo()... rather than kludge
around it in apr_sockaddr_info_get(), it is better to change
the configure test to refuse to use getaddrinfo() on such a
system
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63125 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63102 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
settings can be changed
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@63100 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
this fixes a build error on RedHat 5.2
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62608 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
this fix to the check for TCP_NODELAY inheritance
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62562 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
apr_status_t layout. This is used to fix the bungling of these
error codes.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62243 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
(Caused getnameinfo to always be defined as present even when it is not.)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62065 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use gethostbyaddr_r function when available.
The AIX gurus will have to test this to make sure I got their prototype
right. This compiles on Solaris.
Submitted by: Sterling Hughes <sterling@designmultimedia.com>
(Modified by Justin)
Reviewed by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62063 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
as otherwise the test hangs and eventually fails, giving the impression
that configure has hung. Not sure if this should be applied to other
platforms as well so the #ifdef's.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61554 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
the listening socket, and optimize apr_setsockopt(APR_TCP_NODELAY)
accordingly.
Also, note a recent change to find getnameinfo() on Tru64 in
CHANGES.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61463 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61462 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
and avoid adding them over and over again.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61435 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
REENTRANCY_FLAGS settings into apr_hints.m4. Inlined the
APR_PREPARE_MM_DIR macro because it could only be used once.
Removed the unused macros MY_TRY_RUN, MY_TRY_RUN_NATIVE, and
AC_USE_FUNCTION. Added some macro comments.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61263 13f79535-47bb-0310-9956-ffa450edef68
|
|
new build directory as apr_hints.m4, apr_common.m4, apr_network.m4,
and apr_threads.m4. None of the macro code has changed for this
pass -- only the location. More changes to come.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@61241 13f79535-47bb-0310-9956-ffa450edef68
|