| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
'APACHE_2_0_40'.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/tags/APACHE_2_0_40@63804 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
still build before I find time to implement them properly.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63803 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
passed to sigwait(). It is never valid for them to be there.
Some platforms silently ignore them, some return EINVAL, some
don't process it as desired.
One problem was found with an old Apache 2.0.30 build on AIX.
sig_coredump() wasn't getting called when a plug-in generated SIGABRT.
Removing SIGABRT from the signal mask passed to sigwait() by the
main worker thread fixed the problem. After reviewing sigwait()
documentation it was clear that none of the synchronous signals
should be in the mask passed to sigwait().
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63802 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
putting invalid descriptors on the pollset after removing
from the middle of the array
Reported by: Rob Saccoccio <robs@fastcgi.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63801 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63800 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Where Headers + Trailers were present, we always blasted the Headers.
Now, we reinitialize the hdtr structure after consuming it, instead of
trying to initialize for both headers and trailers.
[RM - can we update the .40 test tag for this patch?]
PR: 10781
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63799 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63798 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Rob Saccoccio <robs@fastcgi.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63797 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63796 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63795 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63794 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63793 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
patch defines a general API for doing so if the platform supports
toggling the clock resolution. Don't recommend doing so for HTTPD,
but flood and ab should appreciate it.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63792 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63791 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in the httpd: add a "flags" argument to apr_pollset_create().
When we add support for OS-specific poll alternatives in the
future, I anticipate that we'll need to give apps a way to
pass hints to the pollset create function to help it pick
the best mechanism for a specific pollset. (E.g., there may
be situations where we'll want to use poll(2) even if the OS
has /dev/poll.) This "flags" argument is a placeholder to
make it possible to add such hints later.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63790 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63789 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
a second test expression for portability.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63788 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
you unix folks already having trouble with h_errno v.s. errno?
Fix apr_poll to use apr_get_netos_error().
Submitted by: Rob Saccoccio <robs@fastcgi.com>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63787 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
operations that cutoff required]. It's pretty hackish if you consider
that we can't trust our INT64_MIN/MAX on any non-2's-compliment cpu.
But I fixed EBCDIC, so I'll leave it up to a clever mainframe hack to
work out the non-2's-compliment case.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63786 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63785 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
This removes situations where an option could rely on an environment
variable that was not defined in the config.nice preamble.
"--libdir=${prefix}/lib" now is "--libdir=/my/expanded-prefix/lib"
This allows config.nice to be executed without errors out-of-the-box.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63784 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
the identical semantics to our earlier apr_int32_fmt_t construction?
And let us fall gracefully into strtoq when applicable.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63783 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63782 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
appropriate 64 bit atoi/atol/atoll or signal that the fn is unavailable.
Someone with better config foo than I might want to make both variables
private and relocate them into apr_private.h (without APR_ decoration.)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63781 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
I have nothing against spelling out apr_atoint64 but I think that's
probably excessive.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63780 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
the number of descriptors that select can handle
(this is why testpoll test #4 was failing on win32)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63779 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63778 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
the set contain only socket or pipe descriptors.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63777 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63776 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63775 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63774 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
These should really become HAVE_FILES_AS_SOCKETS or some other macro
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63773 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
can associate application context with each file descriptor
(e.g., map each descriptor to the filter that should process
that descriptor once it's signalled)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63772 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
We cannot ignore alloca/malloc failures.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63771 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63770 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
this will support any number of files/sockets. On modern systems, this
will allocate on the stack. On older systems we fall back to malloc/free.
Note: We will rarely ever use malloc/free.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63769 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
:(
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63768 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63767 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by: David Waite <mass@akuma.org>
Reviewed by: Ian Holsman
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63766 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
argument within the option structure should be NULL if a long name is
not present - but it performs a strlen on that value without checking
for NULL.
Submitted by : David Waite <mass@akuma.org>
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63765 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63764 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63763 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63762 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63761 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
they're not interchangeable)
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63760 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63759 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63758 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63757 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63756 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
numbers of file descriptors
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63755 13f79535-47bb-0310-9956-ffa450edef68
|