| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
TransmitFile it is okay to disconnect the socket after successful
send.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60036 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
some unnecessary local vars, fix bug in a rare trace of a pid
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60035 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
sets.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60034 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60031 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60030 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
htdigest didn't init the first parm to ap_open(), so ap_open()
segfaults thinking it was passed valid storage
build portability:
make most src/lib/apr/test/Makefile.in compatible with OS/390
make (no -o outfile after infile specified)
MD5 translation support:
when APR_HAS_XLATE, low-level routines allow translation handle
to be specified
when CHARSET_EBCDIC, password-specific routines always translate,
but client app must set handle before using
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60027 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
child process to die, and then returns that child's information.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60022 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60019 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60013 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: https://svn.apache.org/repos/asf/apr/apr/trunk@60012 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60011 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Significantly shorten the Win32 build and shrink symbol tables
for precompiled headers and debugging by eliminating large chunks
of the windows.h declarations, especially the graphical user
interface declarations.
Also eliminates redundant inclusion of winsock and windows headers.
As the GUI sections can be included by adding the windows.h include
prior to any apr headers, these includes now imply something
completely different.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60009 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60005 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
is the first step to getting piped and reliable piped logs workin in 2.0
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59997 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
APR_OS_START_ERROR needs to be at least 2000 for OS/390 and needs
to be much higher than 10000 for Win32; 20000 seems nice and round
and large enough to keep folks happy for a while; without this change,
Win32 ap_strerror() is broken for common socket error codes
unix/errorcodes.c:
fix bug in stuffbuffer(); it chopped off the last char of the message
win32/errorcodes.c:
fix same bug in stuffbuffer()
when Windows doesn't return a msg, provide a default one
test/client.c:
call ap_strerror() in a couple of places for easy testing
get rid of the loop around ap_connect(); no current ap_connect()
closes the socket or anything else required to make this work
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59986 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59985 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59983 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
install ab.exe
fix dependency in Apache.dsw (ab is dependent on aprlib and ap)
fix ab and htdigest projects so that they find all header files
define ap_signal() in apr.hw - this is o.k. for casual use as with
cmd-line programs
use API_VAR_EXPORT as appropriate in getopt.c
general:
ab doesn't need to declare ap_optarg/ap_optind; fix a warning
htdigest needs to call ap_initialize() to avoid segfault at
startup
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59981 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59975 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
apr_file_io.h: fix comment describing APR_OS_DEFAULT
sockets.c: use socklen_t instead of int to avoid compile
warning on systems with unsigned sock len parms
dexter/.cvsignore: ignore .deps, .libs
errorcodes.c: get rid of some unused vars
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59970 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59968 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
consistency sake (and I think we can use it in the same way the Unix side does).
Did a bit of extra cleanup in the process: Eliminated the file->stated field, it
wasn't being used.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59959 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Chia-liang Kao (clkao@CirX.ORG)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59957 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
the pollfd each time ap_poll is called.
Submitted by: Chia-liang Kao (clkao@CirX.ORG)
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59956 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
first time through.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59954 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59953 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
eliminate compile warnings.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59950 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: William Rowe
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59949 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59947 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
conventions
Submitted by: William Rowe
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59945 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
containing version numbers.
Submitted by: Martin Pool <mbp@linuxcare.com.au>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59941 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
1) remove apr_config.hw
2) change comment in apr_private.hw to refer to apr_private.h
instead of apr_config.h
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59936 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Replaced more magic numbers with MD5_DIGESTSIZE. Yuck.
Submitted by: William Rowe, Roy Fielding
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59935 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59934 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: https://svn.apache.org/repos/asf/apr/apr/trunk@59924 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59912 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Move APR dependent code out of ap_config.hw and into misc/win32/misc.h.
Include misc.h where needed.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59905 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59898 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
character sets. The initial implementation requires iconv().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59897 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
renumber the canonical errors -- there were conflicts.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59896 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
on Linux, and seems to work most of the time. This also provides an error
string for every APR error and status code.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59894 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
return errno instead of new error codes where appropriate.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59893 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
APR_ENOPOOL
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59892 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59885 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
the buffering code thread safe. It's the more subtle approach and is
actually faster too.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59884 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Reviewed by: William Rowe, Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59878 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
we would want to use the same pool for the duplicated file as we used for
the original file. This should solve a problem we were having with
dieing quietly on startup, because we are no longer closing stderr in the
original process and then opening the config file as file descriptor 2.
The original problem report can be found in the message
<20000311232812.A1066@sanguine.linuxcare.com.au>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59873 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CHANGES text also reflects prior work on ap_poll() and
ap_set_pipe_timeout()).
apr/test/client.c now has a crude command-line mechanism for selecting
a read timeout.
Included bug fixes:
1) Some storage leaks were removed in BeOS and Unix select() usage.
2) For Win32, the code to process APR_SO_TIMEOUT stored timeout in
milliseconds but the code to timeout a TransmitFile() in
ap_sendfile() assumed that it had been stored in seconds.
3) ab_apr.c used a 30,000-second timeout in one place. This was
changed to a 30-second timeout.
4) fix bad perldoc comment in apr_network_io.h which hid the
ap_shutdown() prototype
5) disable stdout buffering in apr/test/client.c so that messages
appear in the correct order when an error occurs
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59870 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
scripts to generate either plain text, html, or any other format perldoc
can generate. This also fixes the comments to say ap_pool instead of
ap_context.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59869 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the timeout interval.
The OS/2 change was a cop-out, essentially using second resolution instead
of millisecond resolution. The existing logic to update timeout for
repeat calls to select() after EINTR wasn't quite right, and it was silly
for me to try to do the right thing given that I wasn't going to compile
or run it anyway.
Also fixed were a couple of storage leaks around select() calls.
Probably no app was affected.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59868 13f79535-47bb-0310-9956-ffa450edef68
|