| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
dynamic loading implementation, which we noticed at configure time,
instead of by operating system, which should be simpler to maintain.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61534 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
define its format as APR_INT64_T_FMT and literal using APR_INT64_C().
Submitted by: Justin Erenkrantz, William Rowe
Reviewed by: Roy Fielding
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61500 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Obtained from: Ryan Bloom <rbb@covalent.com>
Reviewed by: David Reid <dreid@apache.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61437 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
of various unfortunate constructs in Apache (like using %ld for
pid_t but then casting the arg to long).
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61331 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
a couple of #ifdefs, and standardize some code. This macro comes directly
from the Apache code.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61277 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
TCP_CORK or TCP_NOPUSH and if we find them we define APR_HAVE_CORKABLE_TCP.
Once defined we then make os_cork and os_uncork available. At present
they're not used except in the apr_sendfile code, but there may be uses
for the routines in other areas of our network code as well, hence the change.
In addition I've changed SOL_TCP to IPPROTO_TCP as this is more portable.
Also tiny change to the way we check the version number in configure.in to
decide if we want to use sendfile on FreeBSD.
Submitted by: Tony Finch <dot@dotat.at>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61016 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
apr_ssize_t is long on AIX. Get the other APR_xx_T_FMT variables
defined properly on AIX.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60840 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
systems have unsigned sockaddr len parameters; others have signed.
When passing the length by address (as to accept()) a warning is
generated if the sign is not correct.
This patch assumes that, if no native socklen_t is provided,
apr_socklen_t is always signed; that can be easily tweaked for
certain platforms later.
Inside APR, apr_socklen_t is only used currently in the Unix
implementation.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed by: Jeff Trawick
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60538 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
it in apr_private.h as well as it causes redefinition warnings all through
the APR build.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60313 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
we don't need it in ap_private.h.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60231 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
charset of the locale is to be used for the source or target
charset.
At EBCDIC initialization, use the locale charset as one of the
pair when setting up the default translation handles for content.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60203 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
we can use to know what level of support BeOS has available.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60194 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
autoconf knows what to do with the AC_DEFINE for it.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60193 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
instead of at the end of the script. With this change, APR can determine
if shared memory is provided using a file that multiple platforms can open,
or if it is acheived using some sort of shared memory (including MMAP'ed
files). This information is used in Apache to provide some optimizations.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60163 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
combined
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60051 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60023 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that the behaviour of sigprocmask in a multi-threaded program is
undefined. The AIX 4.3 documentation explicitly says "The
sigprocmask, sigsetmask, and sigblock subroutines must not be used in
a multi-threaded application."
This change allows us to build the Dexter and mpmt_pthread MPM on AIX.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60012 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
This should make the fact that this is a private header file more obvious.
This also updates all of the references to apr_config.h
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
quick change summary:
- moved the random byte generation into APR
This patch adds ap_generate_random_bytes()
- now uses ap_time_t
- compiles and runs on linux
- tested with amaya
still to do:
- test win32 (This will have to be someone with a windows box :-)
I think I did everything correctly. APR_HAS_RANDOM should be defined
on windows and there is a lib/apr/misc/win32/rand.c which is basically
a copy of what mod_auth_digest used to use.
- error handling cleanup
Since there is not currently a usable ap_strerror it is commented out.
win32 error handling is virtually non-existant. I just don't know enough
about win32 to touch this stuff.
Brian
Submitted by: Brian Martin
Reviewed by: Bill Stoddard (very quick review, moving in right direction)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59866 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59724 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Also change the header file included in http_log.c.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59676 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
been tested fully, because I don't have access to a platform that uses
semaphores, but the logic is sound.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59617 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59587 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59564 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
specify that APR should be built without threads for the prefork MPM. This
is broken if we then try to configure Apache again using a threaded MPM, but
this is easily fixable, and I will be doing that soon. Lastly, I removed all
thread calls from APR when it is told to build without threads.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59552 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59549 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
macros in a cleaner way IMO, and that required that we always use #if
instead of #ifdef. I also used the wrong #if HAVE_SIGNAL_H macro
in apr_pools.c.
Submitted by: David Reid
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59505 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
I did some minor cleanup work, mainly to integrate sendfile into the APR
autoconf stuff.
Submitted by: John Zedlewski
Reviewed by: Ryan Bloom
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59503 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
checks from the public include files, and removes all unnecessary #include
of system headers from public APR headers. The final step will add back in
the checks once I can protect the namespace.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59495 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59479 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
libc_r and not libpthread
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59474 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
be used for built-in types. ssize_t is not a built-in type on all systems,
so SIZEOF_SSIZE_T was consistently getting defined to 0 on all of my
systems. This fixes that problem by re-writing AC_TRY_RUN (the default
AC_TRY_RUN has issues that don't allow for getting the return code from the
program) and using it to get the size of SSIZE_T.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59466 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59384 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
support turned on. If so, it uses re-entrant functions that should be there.
If the functions aren't there, we use non-re-entrant functions. If this
causes problems in the future, we'll provide implementations of the
re-entrant functions. For now though, this should work, and it is definately
cleaner than what we had before.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59383 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59363 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
ANY portion of APR. It also makes these macros internal to APR only,
because this header file is not exposed to programs which use APR.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59349 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59306 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
files I missed when doing the locks argument ordering fixes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59294 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by: Manoj Kasichainula and Greg Stein
Reviewed by:
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59290 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
a function thread-safe, when the C Run-Time function it relies on is NOT
thread-safe. For more information, please read the message that will be
posted to new-httpd@apache.org regarding this topic.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59273 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
I'll test these on other systems now.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59165 13f79535-47bb-0310-9956-ffa450edef68
|
|
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68
|