summaryrefslogtreecommitdiff
path: root/server/mpm/netware
Commit message (Collapse)AuthorAgeFilesLines
* Allow httpd on NetWare to build using either the standard socket libraries ↵Bradley Nicholes2005-04-141-3/+11
| | | | | | or the Winsock libraries. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161368 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that the secure listen sockets that are created and injected into ↵Bradley Nicholes2005-03-081-1/+3
| | | | | | the ap_listeners lists by mod_nw_ssl are handled correctly so that they remain open and reused across restarts. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156556 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-043-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* Fixing various compiler error when compiling against the latest version of ↵Bradley Nicholes2004-11-271-1/+1
| | | | | | LibC SDK git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106766 13f79535-47bb-0310-9956-ffa450edef68
* Fix a typo and clean up some tab characters.Bradley Nicholes2004-04-141-25/+25
| | | | | | | Submitted by: Guenter Knauf <gk@gknw.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103388 13f79535-47bb-0310-9956-ffa450edef68
* *) SECURITY: CAN-2004-0174 (cve.mitre.org)Jeff Trawick2004-03-191-3/+0
| | | | | | | | | | | | | | | Fix starvation issue on listening sockets where a short-lived connection on a rarely-accessed listening socket will cause a child to hold the accept mutex and block out new connections until another connection arrives on that rarely-accessed listening socket. With Apache 2.x there is no performance concern about enabling the logic for platforms which don't need it, so it is enabled everywhere except for Win32. [Jeff Trawick] (already in 2.0.49, propagating to mirrors now) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103029 13f79535-47bb-0310-9956-ffa450edef68
* Adapt the mpm_netware version of the ThreadStackSize directive to the common ↵Bradley Nicholes2004-03-173-17/+9
| | | | | | version git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103013 13f79535-47bb-0310-9956-ffa450edef68
* Report the NetWare socket error since we are using native socket callsBradley Nicholes2004-03-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102986 13f79535-47bb-0310-9956-ffa450edef68
* fix name of The Apache Software FoundationAndré Malo2004-02-093-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
* fix copyright dates according to the first checkinAndré Malo2004-02-083-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102584 13f79535-47bb-0310-9956-ffa450edef68
* apply Apache License, Version 2.0André Malo2004-02-063-159/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
* Commenting out the DBINFO defineJean-Jacques Clar2004-02-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102487 13f79535-47bb-0310-9956-ffa450edef68
* Adding missing parenthesis in DBINFO codeJean-Jacques Clar2004-02-021-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102486 13f79535-47bb-0310-9956-ffa450edef68
* update license to 2004.André Malo2004-01-013-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
* Added mpm_state to ap_mpm_query() for the NetWare MPMBradley Nicholes2003-12-161-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102078 13f79535-47bb-0310-9956-ffa450edef68
* Fix the display of the terminate and restarting console messagesBradley Nicholes2003-12-041-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101988 13f79535-47bb-0310-9956-ffa450edef68
* Add restart and shutdown thread counters to the console displayBradley Nicholes2003-11-261-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101902 13f79535-47bb-0310-9956-ffa450edef68
* revert my previous commit. when 2.0 and 2.1 were not in sync, i went withCliff Woolley2003-09-051-8/+11
| | | | | | | | what was in 2.0 because it was more recent, but it turns out that was the wrong choice. reverts to 2.0 to follow git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101173 13f79535-47bb-0310-9956-ffa450edef68
* forward-port Brad's commit to the 2.0 branch that gets rid of theCliff Woolley2003-09-051-11/+8
| | | | | | | explicit bucket_alloc_destroy(), which is redundant git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101164 13f79535-47bb-0310-9956-ffa450edef68
* switch to APR 1.0 API (which is still in flux)Jeff Trawick2003-09-031-3/+3
| | | | | | | | because of the changes to the argument lists of apr_mmap_dup and apr_socket_create, 2.1-dev won't build with apr and apr-util's 0.9 branch anymore git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101154 13f79535-47bb-0310-9956-ffa450edef68
* Updated the various MPM's to use the new bucket_alloc_create_ex APICliff Woolley2003-08-281-16/+13
| | | | | | | | | | | when necessary. Which is to say that it's necessary in all cases except for prefork, where the change to apr-util to have it use the allocator from the pool passed in is already sufficient. Reviewed by: Jean-Jacques Clar, Sander Striker, Brad Nicholes git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101122 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that the global ap_max_mem_free is initialized along with theBradley Nicholes2003-08-271-0/+3
| | | | | | | other MPM globals whenever HTTPD is started or restarted. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101117 13f79535-47bb-0310-9956-ffa450edef68
* Simplify the per-thread pool handling in the NetWare MPMBradley Nicholes2003-06-031-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100156 13f79535-47bb-0310-9956-ffa450edef68
* Make sure that bucket allocator for each worker thread is created from a threadBradley Nicholes2003-05-201-9/+16
| | | | | | | | specific pool. This prevents multiple threads from trying to clean up the same pool at the same time. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99942 13f79535-47bb-0310-9956-ffa450edef68
* Need to report a select() error vs a timeout. Also avoid hogging the CPU onBradley Nicholes2003-03-261-1/+7
| | | | | | | an error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99065 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a small logic problem when printing out the console command helpBradley Nicholes2003-03-181-1/+1
| | | | | | | Submitted by: Ulrich Neumann <U_Neumann@gne.de> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99017 13f79535-47bb-0310-9956-ffa450edef68
* finished that boring job:André Malo2003-02-033-3/+3
| | | | | | | | | update license to 2003. Happy New Year! ;-)) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
* Enabled the -n parameter on NetWare to allow the administrator to renameBradley Nicholes2003-01-291-1/+7
| | | | | | | the console screen git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98535 13f79535-47bb-0310-9956-ffa450edef68
* Register for the SERVERDOWN event to allow Apache to shutdown gracefullyBradley Nicholes2002-12-121-3/+5
| | | | | | | when the NetWare OS is shutdown git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97898 13f79535-47bb-0310-9956-ffa450edef68
* Force the screen to close on exit() if the -E option was specified on theBradley Nicholes2002-11-251-2/+6
| | | | | | | command line git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97647 13f79535-47bb-0310-9956-ffa450edef68
* Don't hold the Apache screen open when it exits with an error if all of the ↵Bradley Nicholes2002-11-131-0/+3
| | | | | | | | | | error messages are going to a file anyway. In other words, don't hold the screen open if the -E <filename> command line parameter is used. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97507 13f79535-47bb-0310-9956-ffa450edef68
* Switched to the APR_STATUS_IS_XXX macrosBradley Nicholes2002-10-141-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97207 13f79535-47bb-0310-9956-ffa450edef68
* Don't bother destroying the memory pools and buckets for each thread atBradley Nicholes2002-10-031-9/+11
| | | | | | | during shutdown since it will all be cleaned up at termination anyway. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97067 13f79535-47bb-0310-9956-ffa450edef68
* Removed unnecessary pool cleanup after a restart or shutdownBradley Nicholes2002-08-281-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96560 13f79535-47bb-0310-9956-ffa450edef68
* Hold the Apache screen open on NetWare if exit() is called for any reasonBradley Nicholes2002-07-241-0/+8
| | | | | | | during initialization and configuration of the main Apache process. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96172 13f79535-47bb-0310-9956-ffa450edef68
* http occurances to update for apr_socket_opt_get/setWilliam A. Rowe Jr2002-07-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96057 13f79535-47bb-0310-9956-ffa450edef68
* Add a new directive: MaxMemFree. MaxMemFree makes it possibleSander Striker2002-07-042-0/+2
| | | | | | | | | | | to configure the maximum amount of memory the allocators will hold on to for reuse. Anything over the MaxMemFree threshold will be free()d. This directive is usefull when uncommon large peaks occur in memory usage. It should _not_ be used to mask defective modules' memory use. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95954 13f79535-47bb-0310-9956-ffa450edef68
* Re-architected the select()/accept() loop to allow all threads to rely on ↵Bradley Nicholes2002-06-261-95/+85
| | | | | | | | | | | | select() to signal when data is ready rather than only allowing a single thread at a time to be signaled by select(). This allows Apache to pull the requests off of the listen queue as fast as winsock will allow without latency introduced by the accept mutex. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95893 13f79535-47bb-0310-9956-ffa450edef68
* Now that we have the functionality in apr, we can now have 2.0'sJim Jagielski2002-06-071-1/+3
| | | | | | | | | | | | startup message regarding AcceptMutex (what we are using and what the default is) "fully" match what is present in 1.3. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95568 13f79535-47bb-0310-9956-ffa450edef68
* Switched to using atomic operations for tracking the active threads ratherBradley Nicholes2002-05-311-9/+3
| | | | | | | than having to lock and unlock a mutex. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95458 13f79535-47bb-0310-9956-ffa450edef68
* Catch up with the apr_allocator_set_owner -> apr_allocator_owner_set renamesSander Striker2002-05-301-1/+1
| | | | | | | in APR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95373 13f79535-47bb-0310-9956-ffa450edef68
* Fixing a memory leak with the threads bucket_allocator. We were allocatingBradley Nicholes2002-05-211-12/+13
| | | | | | | | | too much and not freeing up enough. On a thread exit the bucket and the transaction pool need to be cleaned up. When the MPM exits, the main pool needs to be cleaned up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95207 13f79535-47bb-0310-9956-ffa450edef68
* stop using APLOG_NOERRNO in calls to ap_log_?error()Jeff Trawick2002-05-171-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95149 13f79535-47bb-0310-9956-ffa450edef68
* Readjusting how the bucket alloc is done for each worker thread. AllocateBradley Nicholes2002-04-301-10/+14
| | | | | | | | the bucket once per thread rather than on every request. This change increases our performance significantly. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94880 13f79535-47bb-0310-9956-ffa450edef68
* Add some additional shutdown synchronization so that we don't get the OSBradley Nicholes2002-04-151-4/+4
| | | | | | | message to force the module to unload. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94660 13f79535-47bb-0310-9956-ffa450edef68
* Readjustment of where the bucket is being allocated now that they are beingBradley Nicholes2002-04-121-2/+1
| | | | | | | | cleaned up. Need to move the call to after apr_pool_clear() so that it doesn't get cleanup too soon and never reallocated. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94627 13f79535-47bb-0310-9956-ffa450edef68
* Closed up some holes where a thread could escape and exit without releasingBradley Nicholes2002-04-101-0/+3
| | | | | | | the mutex. This would leave all of the other threads deadlocked. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94593 13f79535-47bb-0310-9956-ffa450edef68
* Added a call to apr_bucket_alloc_destroy() to the clean_child_exit() code thatBradley Nicholes2002-04-061-7/+8
| | | | | | | is called when each worker thread terminates. This stopped the memory leak. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94479 13f79535-47bb-0310-9956-ffa450edef68
* Remove hardcoded paths from MPMs and move them to a more centralSander Striker2002-04-041-2/+7
| | | | | | | | | | place. Expand paths in httpd-std.conf in a similar fashion as we do in our headers. Submitted by: Pier Fumagalli <pier@betaversion.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94431 13f79535-47bb-0310-9956-ffa450edef68
* Check for a NULL pointer in the case of the OS address spaceBradley Nicholes2002-04-021-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94388 13f79535-47bb-0310-9956-ffa450edef68