| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/tags/1.4.2@901426 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@901425 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@901424 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
Please feel free to commit -stabilizing- changes, and please don't
commit any behavioral/potentially destabilizing changes prior to
the tag. We can follow up with a more experimental 1.4.3 very soon
after stable 1.4.2 is good to go.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@901044 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@901040 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@900971 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
providers in the poll interface.
Submitted by: Neil Conway <nrc@eecs.berkeley.edu>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@896655 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Submitted by: Neil Conway <nrc@cs.berkeley.edu>
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@896402 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
let HP-UX on IA64 fall through to the default unix case, using .so instead of .sl.
http://docs.hp.com/en/B2355-90968/linkerdifferencesiapa.htm
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@895524 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@891515 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@888265 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
prepare to tag
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@888263 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@887074 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@887069 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@886029 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
On Windows, map the system error code ERROR DIRECTORY which means
"directory name is not valid" into APR_STATUS_IS_ENOTDIR.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@885699 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
Win32 apr_{global,proc}_mutex_name() and apr_{global,proc}_mutex_lockfile()
returned the wrong information
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@884152 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
add apr_global_mutex_name(), for retrieving the name of the mechanism
used by the underlying apr_proc_mutex_t
declare NULL as the result for any future mechanisms that don't have
an underlying apr_proc_mutex_t or equivalent
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@884141 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
add missing apr_global_mutex_lockfile(), corresponding to
apr_proc_mutex_lockfile()
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@882916 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@882475 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@882461 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
document errno usage with apr_atoi64() and apr_strtoi64()
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@882262 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@881479 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Solaris 10 or later: Use pthread by default for cross-process mutex instead of
fcntl; the latter is not thread-aware, leading to EDEADLK failures with some multi-
threaded, multi-process applications.
Proper recovery after a crash of the mutex owner was tested on Solaris 10 U5 and
OpenSolaris 2009.06. Earlier Solaris versions weren't tested, and there were
reports in httpd-land long ago about failures to recover the mutex.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@881302 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@880646 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@880643 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@880639 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
| |
fix special poll() processing on Win32 to be consistent
between
. apr_{pollset|pollcb}_create_ex(..., APR_POLLSET_DEFAULT)
and
. apr_{pollset|pollcb}_create(...)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836107 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
| |
add testcases for method fallback logic in apr_{pollcb|pollset}_create_ex(),
including one for a crash fixed in r834029
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836106 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
apr_pollset_create_ex(), apr_pollcb_create_ex():
simplify logic to update the caller's pollcb/pollset ptr,
fixing a apr_pollcb_create_ex() crash in one of the
fall-back paths which was reported by Neil Conway
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836105 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix incorrect assumptions in pollset/pollcb tests:
- polling won't necessary detect the status change immediately
after an I/O operation
- a single poll call won't necessarily return multiple status
changes after multiple I/O operations
and whitespace fixes
Submitted by: Neil Conway <nrc cs.berkeley.edu>
Reviewed by: trawick
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836104 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
| |
Check that an event was actually filled in when
port_getn() returns -1/EINTR with nget > 0.
This resolves a crash when receiving a signal.
PR: 48030
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836098 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix pollcb hangs on Solaris when using Event Ports
passing nget=n will block until n events are available
(or timeout/signal occurs)
possible future optimization:
in order to retrieve 1 or more events, first call port_getn()
with nget=0 to find out how many events are available, then
call it again with the number available
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836096 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@836077 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
* Add missing APR_DECLARE for apr_socket_atreadeof
Submitted by: rpluem
Reviewed by: rpluem
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835759 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835659 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
and to create .dll's on win32 from the buildconf/configure schema
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835602 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@835601 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
| |
don't assume child process can both connect and close before parent can
both accept and look for EOF
(fixes intermittent failure seen on Linux and OpenSolaris)
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@833920 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
Set file/socket descriptor to -1 before close(), so that there is no chance
of returning an already closed FD from apr_os_file_get()/apr_os_sock_get().
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@831642 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Work around bogus return code in some circumstances with 32-bit
port_getn() on Solaris 10 x86.
AFAICT this problem only occurs when the return code should be
zero, so changing the return code check should be sufficient.
APR 1.3.8 wasn't affected.
PR: 48029
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@829801 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
| |
Fix apr_hash_first() doxygen syntax.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@829491 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add apr_socket_is_connected to detect whether the remote side of a socket
is still open. The origin of apr_socket_is_connected is r473278 from
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/proxy_util.c
in httpd.
* Improve the documentation
Suggested by: jorton
* Improve the documentation even further
Reviewed by: jim
* include/apr_network_io.h,
* network_io/unix/socket_util.c (apr_socket_atreadeof): Renamed from
apr_socket_is_connected; adjusted to return an apr_status_t error
code, and pass an "at EOF" flag via an output parameter.
* test/testsock.c (test_atreadeof): Renamed from test_is_connected,
adjusted for new API.
Reviewed by: jorton, rpluem
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@826089 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@826084 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@825913 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824818 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
fix this since Apple and MacPorts and others are.
Just punt for now
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824813 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
| |
should just say gcc -arch i386 until this gets less bogus.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824788 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
|
|
|
|
| |
and provide "hooks" to allow for other OS's to override at
app-compile time some values and be safe.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@824762 13f79535-47bb-0310-9956-ffa450edef68
|
|
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/1.4.x@822048 13f79535-47bb-0310-9956-ffa450edef68
|