summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagAPACHE_2_0_40(no author)2002-08-093-259/+0
| | | | | | '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
* OS/2: Add APR_ENOTIMPL stubs for apr_pollset_*() functions so that we canbjh2002-08-092-0/+105
| | | | | | | 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
* In apr_signal_thread() remove synchronous signals from the masktrawick2002-08-082-0/+8
| | | | | | | | | | | | | | | | 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
* Changed apr_poll_socket_remove() and apr_poll() to avoidbrianp2002-08-072-3/+28
| | | | | | | | | 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
* Fixed a comment to accurately reflect what the "clear" function doesbrianp2002-08-061-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63800 13f79535-47bb-0310-9956-ffa450edef68
* Solve the elusive .pdf failure on Win32.wrowe2002-08-061-14/+17
| | | | | | | | | | | | | 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
* Added more detailed checking of the apr_pollset_poll resultsbrianp2002-08-061-3/+18
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63798 13f79535-47bb-0310-9956-ffa450edef68
* Set the result array in the select-based version of apr_pollset_poll()brianp2002-08-061-0/+1
| | | | | | | 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
* Rollback the API change to NXFileRangeLock() and NXFileRangeUnlock()bnicholes2002-08-051-10/+0
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63796 13f79535-47bb-0310-9956-ffa450edef68
* Added apr_reslist to the NetWare build projectbnicholes2002-08-052-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63795 13f79535-47bb-0310-9956-ffa450edef68
* Fix buggy substitutionmartin2002-08-051-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63794 13f79535-47bb-0310-9956-ffa450edef68
* Docs are always good, especially when it's this obscure.wrowe2002-08-041-0/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63793 13f79535-47bb-0310-9956-ffa450edef68
* Time in exact ms intervals can be very useful in benchmarking... thiswrowe2002-08-043-0/+34
| | | | | | | | | 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
* c is the valid first digit, must use it for the first iterationwrowe2002-08-041-2/+3
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63791 13f79535-47bb-0310-9956-ffa450edef68
* One more update to the pollset API before we start using itbrianp2002-08-043-3/+7
| | | | | | | | | | | | | | | 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
* fix an uninitialized variablebrianp2002-08-041-0/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63789 13f79535-47bb-0310-9956-ffa450edef68
* Remove unnecessary brackets and replace "-a" throughsascha2002-08-041-1/+1
| | | | | | | a second test expression for portability. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63788 13f79535-47bb-0310-9956-ffa450edef68
* apr_get_netos_error() must be implemented on all platforms. Aren'twrowe2002-08-042-5/+11
| | | | | | | | | | | 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
* Roll-our-own apr_strtoi64 [based on the bsd, factoring out the div/modwrowe2002-08-032-6/+137
| | | | | | | | | | | 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
* Get strtoq detection working.wrowe2002-08-031-2/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63785 13f79535-47bb-0310-9956-ffa450edef68
* Change config.nice generation to always expand variables.jerenkrantz2002-08-032-0/+4
| | | | | | | | | | | | 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
* Fix two problems... if this pid/off are longlongs, WTF aren't we followingwrowe2002-08-031-2/+8
| | | | | | | | | 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
* Clarify the comment and remove the evil tabwrowe2002-08-031-1/+2
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63782 13f79535-47bb-0310-9956-ffa450edef68
* Out of time and at the end of my config-foo. This should get us thewrowe2002-08-035-7/+30
| | | | | | | | | | 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
* Step one, rename from the meaningless 'll' to 'i64'.wrowe2002-08-033-7/+12
| | | | | | | | 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
* On systems without poll, limit apr_pollset's capacity tobrianp2002-08-032-1/+7
| | | | | | | | 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
* Test apr_poll() with larger numbers of descriptorsbrianp2002-08-021-1/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63778 13f79535-47bb-0310-9956-ffa450edef68
* NetWare can't handle mixed descriptor sets. Added code to make sure thatbnicholes2002-08-021-4/+55
| | | | | | | 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
* Introducing a new API for resolving the file name to diskbnicholes2002-08-021-3/+11
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63776 13f79535-47bb-0310-9956-ffa450edef68
* fix a compile break on stock FreeBSD 3.4 (gcc 2.7.2.3)trawick2002-08-021-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63775 13f79535-47bb-0310-9956-ffa450edef68
* Features, not platforms, correct?wrowe2002-08-023-6/+14
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63774 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup the last emit ... one final fd-as-socket problem.wrowe2002-08-021-0/+4
| | | | | | | 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
* Added a "client data" void* to the poll API so that an appbrianp2002-08-021-0/+4
| | | | | | | | | 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 safely ignore palloc failures [we can segv in the allocator].wrowe2002-08-021-0/+8
| | | | | | | We cannot ignore alloca/malloc failures. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63771 13f79535-47bb-0310-9956-ffa450edef68
* use apr_os_sock_t for socket descriptor variablesbrianp2002-08-021-26/+7
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63770 13f79535-47bb-0310-9956-ffa450edef68
* Remove the memory leak from the apr_poll implementation. On all systems,rbb2002-08-023-10/+29
| | | | | | | | | | 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
* hard to belive that english is my natural languageianh2002-08-021-1/+2
| | | | | | | :( git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63768 13f79535-47bb-0310-9956-ffa450edef68
* fix the 'elseif' style by adding some curly braketsianh2002-08-021-17/+27
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63767 13f79535-47bb-0310-9956-ffa450edef68
* check for null in getoptianh2002-08-021-0/+3
| | | | | | | | | | 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
* The documentation within include/apr_getopt.h says that the nameianh2002-08-021-4/+6
| | | | | | | | | | | 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
* de-tab this suckerianh2002-08-021-79/+79
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63764 13f79535-47bb-0310-9956-ffa450edef68
* more win32 socket descriptor signedness fixesbrianp2002-08-021-5/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63763 13f79535-47bb-0310-9956-ffa450edef68
* More test cases and error diagnosticsbrianp2002-08-021-13/+26
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63762 13f79535-47bb-0310-9956-ffa450edef68
* One more fix for socket/file incompatibility on win32brianp2002-08-021-1/+5
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63761 13f79535-47bb-0310-9956-ffa450edef68
* Avoid trying to turn file handles into sockets on win32 (wherebrianp2002-08-021-2/+14
| | | | | | | they're not interchangeable) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63760 13f79535-47bb-0310-9956-ffa450edef68
* c/unsigned int/SOCKET/ for win32ianh2002-08-021-0/+20
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63759 13f79535-47bb-0310-9956-ffa450edef68
* UuidCreate demanded yet another .libwrowe2002-08-021-1/+1
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63758 13f79535-47bb-0310-9956-ffa450edef68
* Remove some assumptions about file descriptors being integersbrianp2002-08-021-21/+27
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63757 13f79535-47bb-0310-9956-ffa450edef68
* Added select-based pollset implementation for systems without pollbrianp2002-08-012-4/+138
| | | | git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63756 13f79535-47bb-0310-9956-ffa450edef68
* Added general-purpose pollset API to handle arbitrarily largebrianp2002-08-013-4/+228
| | | | | | | numbers of file descriptors git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@63755 13f79535-47bb-0310-9956-ffa450edef68