| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
please note that it doesn't do anything at present. All this adds is the
configure checks and a few variables that will be used by the code.
Can anyone on an IPv6 system please see how these work and report any problems
so we can refine our plans before we submit the next patch? Thanks.
Systems tested so far are FreeBSD 4, Mandrake 7 and Solaris 8.
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60636 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Chris Pepper <pepper@mail.reppep.com>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60635 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60634 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_get_remote_hostname, so maybe they should be combined? Anyway, I haven't
added the function to Win32/OS2 as I can't test there, but it shouldn't
be hard!
Once all platforms have this we can remove another of the raw sockaddr
references in http_core.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60632 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
for consistency with other APR network send/recv calls.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60630 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60629 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MS's internal atow translation that always occurs. Enabled now by
default. Warning; it's probable that extended characters in existing
URL's are broken by the patch, since the URL semantic changes. Also,
launching cgi's, loading modules, etc that use extended characters are
also broken.
Step 2 is to address the cgi/CreateProcess (spawn) aspects of the patch,
fix dso/LoadModule handling, and accept a Unicode'd httpd.conf file, as
utf-8 is already legal in httpd.conf path specs, but difficult to use.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60625 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Note to BeOS fans: apr_connect() is missing a check for hostname != NULL.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60620 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60617 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60615 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60614 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
across the board - will clobber 9x. Need to add run time checks.
[actually, can treat file names as utf-8 on 9x, but must not call
wide char functions!]
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60611 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
There are just too many folks to credit... so this goes out from
the entire ApacheCon hacking team :-)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60610 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
* removed cruft that did nothing (yet)
* add prototypes for the apr_canon... fn's
* Consider: apr_compare_canonical (need to count matching elements)
* Consider: Manoj's suggestion to handle symlinks within here.
* Consider: fanf's concept to use dev/inode for comparison w/o strs.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60607 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) cleans up an annoying type that was getting in my way while I was
trying to fix things.
2) Makes some of the allocations pcalloc instead of palloc
3) The arg array passed to create_process is a const *char *, not
const *char [].
PR: 6642
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60599 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60597 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
conversion. It's not exported, nor should it be. Jeff suggests wrapping
into apr_xlate, which is fine if someone would like to do so.
This pair is for handling utf8 resource identifiers (filenames) on any
Unicode aware platform, so that the Unicode values are invisible to the
application (apache server).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60594 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Greg Stein
Reviewed by: William Rowe
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60593 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Karl Fogel <kfogel@collab.net>
Reviewed by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60592 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
equivalent. The +1 would lead to subtle errors when people forgot t
include the null-term in the hash value. (and it is possible that the
caller is extracting a substring for the key and does not *have* a null
term when doing a lookup)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60590 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60588 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
appropriate or required. FirstBill?
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60585 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
auto-computed string-length hash keys
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60583 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
os2 and the other platform os.h files (where applicable), plus a few
cleanups from my apr_getopt overhaul where we have no symbol remaining.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60582 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
any modules symbol other than AP_MODULE_DECLARE_DATA, since module .h
files containing imports and exports imply something more sophisticated,
as the early mod_dav.c example illustrated.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60581 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60577 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
is a true Lewis Carrollism. This patch replaces the following:
APR_EXPORT() -> APR_DECLARE() This is a public fn
APR_EXPORT_NONSTD() -> APR_DECLARE_NONSTD() This is a varargs fn
APR_VAR_EXPORT -> APR_DECLARE_DATA These are public vars
APR_VAR_IMPORT -> APR_DECLARE_DATA ditto
APR_EXPORT_SYMBOLS -> APR_DECLARE_EXPORT Compile the lib to export
APR_STATIC -> APR_DECLARE_STATIC Compile:linked to the .lib
no define Compile:linked to the .dll
The old symbols are retained in-place. I will wait for the firestorm
of controversy to die before we actually use these symbols in the APR,
or will back out the new names under CtR
Submitted by: Greg Stein
Reviewed by: William Rowe
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60576 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60569 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60567 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
without sendfile. This also makes the apr_hdtr_t type available on
all platforms, regardless of whether apr_sendfile is defined or not.
Submitted by: Brian Havard and Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60561 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60560 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
sendfile().
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60559 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Moved the unix APR_IS_STATUS... block to the end (a fallthrough,
rather than a nasty condition list.)
Added some GetLastError/WSAGetLastError/SetLastError helpers, they
are just macro wrappers.
Changed for the optimizer, the SYSERR value was flipped to the other
side of the equation (creating a constant and killing potential run
time math).
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60551 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60550 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60549 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60548 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60546 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
problem on non-glibc linux machines. This patch solves the problem.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60540 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60539 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: https://svn.apache.org/repos/asf/apr/apr/trunk@60538 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
allow BeOS BONE to work and shouldn't create any problems on other
platforms. Also a little bit of a consistency improvements with the variable
names we use.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60535 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60527 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
just the structure or the RLIMIT_* defines. Also, we should make
the API function unixd_set_rlimit() ``available'' even if it
doesn't do anything.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60512 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to allow for tables with string keys and non-string values.
Instead of a char * value field, these tables have an apr_item_t *
value field, which in turn is a structure containing a size and
a void * pointer to the data themselves. I've kept the types
distinct to keep type-checking useful, so they can't be accidentally
intermixed in function calls.
I've used 'btable' in place of 'table' in all cases, so the
structures are apr_btable_t and apr_btable_entry_t. I've
prototyped and cloned all of the relevant routines except
apr_table_to() and apr_overlap_tables(), which were both too
complex for me to want to tackle to-night. Some of the routines
don't make sense to clone, like apr_table_merge*().
So maybe this all sucks and someone can rip it out, but I'm
sick of waiting for this functionality so I hope someone
takes this and improves it instead.
We *could* reimplement the string-value tables as a special
case of btables, which would conceivably save on strlen() cycles,
but I'm not sure it would be worth it.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60510 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that several areas have not been tested as they apply to MPMs or APR
code that I can't test.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60508 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Submitted by: Greg Ames
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60501 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60500 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
(Note: apr_initopt() and/or its callers still need tweaking.)
Submitted by: Bill Rowe
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60496 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60495 13f79535-47bb-0310-9956-ffa450edef68
|