summaryrefslogtreecommitdiffstats
path: root/os (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Various code cleanup to avoid compiler, cppcheck, or clang warnings:Stefan Fritsch2011-12-181-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modules/debugging/mod_firehose.c: Make some internal functions static (to do: logs_cleanup() is unused) modules/filters/mod_charset_lite.c: Remove dead assignments modules/filters/mod_include.c: likewise modules/metadata/mod_usertrack.c: likewise modules/proxy/mod_proxy_ftp.c: likewise modules/ssl/ssl_engine_pphrase.c: likewise modules/proxy/mod_proxy_balancer.c: likewise; Remove NULL check that can never happen modules/proxy/proxy_util.c: Axe NULL-check that can never happen and if it would, it would just mask another bug os/unix/unixd.c: likewise modules/http/http_filters.c: Remove sub-condition that is always true modules/lua/mod_lua.c: Add default cases to switch statements modules/generators/mod_autoindex.c: Unsigned value can never be < 0 server/util_expr_eval.c: Fix compiler warnings with VC and on OS2 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1220493 13f79535-47bb-0310-9956-ffa450edef68
* Fix my typoGregg Lewis Smith2011-12-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1210869 13f79535-47bb-0310-9956-ffa450edef68
* Add lots of unique tags to error log messagesStefan Fritsch2011-12-032-12/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209766 13f79535-47bb-0310-9956-ffa450edef68
* Build mod_allowmethods on WindowsGregg Lewis Smith2011-11-191-0/+1
| | | | | | | project file exists git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1203924 13f79535-47bb-0310-9956-ffa450edef68
* Fix typoGregg Lewis Smith2011-11-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1202537 13f79535-47bb-0310-9956-ffa450edef68
* Add mod_data to Windown buildGregg Lewis Smith2011-11-151-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1202365 13f79535-47bb-0310-9956-ffa450edef68
* Added proxy_html and xml2enc to Windows buildGregg Lewis Smith2011-11-031-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1196876 13f79535-47bb-0310-9956-ffa450edef68
* Add -D DUMP_RUN_CFG option to dump some configuration itemsStefan Fritsch2011-10-091-0/+1
| | | | | | | | | from the parsed (or default) config. This is useful for init scripts that need to setup temporary directories and permissions, for example if those temporary directories are located on a ram disk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1180681 13f79535-47bb-0310-9956-ffa450edef68
* More cleanup: Expand tabs and some more indentation fixesStefan Fritsch2011-09-232-3/+3
| | | | | | | No functional change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174929 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup effort in prep for GA push:Jim Jagielski2011-09-234-9/+9
| | | | | | | | Trim trailing whitespace... no func change git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174748 13f79535-47bb-0310-9956-ffa450edef68
* Fix issues found by PVS-Studio static analyzer:Stefan Fritsch2011-09-191-1/+1
| | | | | | | | | | | | | | | | mod_mime_magic: cut'n'paste error rsl_encoding vs. rsl_separator, also simplify code a bit mod_header: wrong string initialization (leading to segfault if format argument is missing) util_win32: duplicate sizeof (untested; Windows people, please review) PR: 51542 Submitted by: Andrey Karpov <karpov viva64 com>, Stefan Fritsch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1172732 13f79535-47bb-0310-9956-ffa450edef68
* Added new mods to Windows build system.Guenter Knauf2011-07-181-0/+3
| | | | | | | Submitted by: Gregg L. Smith <gls gknw net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1147823 13f79535-47bb-0310-9956-ffa450edef68
* We already have ap_str_tolower(), so also add ap_str_toupper() function and useStefan Fritsch2011-06-222-18/+0
| | | | | | | it where possible. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1138617 13f79535-47bb-0310-9956-ffa450edef68
* Introduce ap_(get|set)_core_module_config() functions/macros and use themStefan Fritsch2011-06-062-2/+2
| | | | | | | | | | | | everywhere. We know that the core module has module_index 0. Therefore we can save some pointer operations in ap_get_module_config(cv, &core_module) and ap_set_module_config(cv, &core_module, val). As these are called rather often, this may actually have some (small) measurable effect. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132781 13f79535-47bb-0310-9956-ffa450edef68
* Correct Win64 Servername IdentificationWilliam A. Rowe Jr2011-05-181-0/+4
| | | | | | | | PR: 47418 Submitted by: [Jorge Schrauwen <jorge.schrauwen gmail.com>] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1104624 13f79535-47bb-0310-9956-ffa450edef68
* include <stdlib.h> to ensure that the exit() prototype has beenJeff Trawick2011-04-081-3/+1
| | | | | | | | | | seen before the exit macro is defined (fixes compile failure on MinGW) axe prototype for absent function set_listeners_noninheritable() git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1090417 13f79535-47bb-0310-9956-ffa450edef68
* gcc compatibilityJeff Trawick2011-04-071-1/+1
| | | | | | | | PR: 49535 (subset of reported issues) Submitted by: John Vandenberg <jayvdb gmail.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089954 13f79535-47bb-0310-9956-ffa450edef68
* axe a couple of unused vars, mark a function as staticJeff Trawick2011-04-071-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089690 13f79535-47bb-0310-9956-ffa450edef68
* get prototype for ap_os_create_privileged_process()Jeff Trawick2011-04-071-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089689 13f79535-47bb-0310-9956-ffa450edef68
* cleanups to function signatures, prototypes, visibilityJeff Trawick2011-04-062-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1089600 13f79535-47bb-0310-9956-ffa450edef68
* enable DEFAULT_REL_RUNTIMEDIR on NetWare and WindowsJeff Trawick2011-03-282-0/+62
| | | | | | | | this commit is missing the Windows and NetWare build logic to copy the appropriate file to include/ap_config_layout.h git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1086073 13f79535-47bb-0310-9956-ffa450edef68
* fix some logging calls to include the server_recJeff Trawick2011-02-262-3/+3
| | | | | | | (and even the conn_rec in a couple of places) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1074871 13f79535-47bb-0310-9956-ffa450edef68
* Axed C++ comments and tabs.Guenter Knauf2011-02-261-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1074809 13f79535-47bb-0310-9956-ffa450edef68
* Added slotmem* modules to Win32 build.Guenter Knauf2011-01-261-0/+2
| | | | | | | Submitted by Gregg L. Smith - gregg AT apachehaus.com. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1063507 13f79535-47bb-0310-9956-ffa450edef68
* Added mod_reflector to Win32 build.Guenter Knauf2011-01-161-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1059644 13f79535-47bb-0310-9956-ffa450edef68
* Removed define obsolete since r93260.Guenter Knauf2010-12-251-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1052774 13f79535-47bb-0310-9956-ffa450edef68
* Per the existing comment and setrlimit() behavior -- only prevent attempts toEric Covener2010-12-041-1/+4
| | | | | | | | raise the hard limit, not to lower it, by nonroot users. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1042198 13f79535-47bb-0310-9956-ffa450edef68
* Fix Windows build of mod_cache_disk which was broken afterRainer Jung2010-11-261-1/+1
| | | | | | | | | renaming the module. Submitted by: Gregg L. Smith <lists glsnet net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1039295 13f79535-47bb-0310-9956-ffa450edef68
* suEXEC: Add Suexec directive to disable suEXEC without renaming theJeff Trawick2010-11-101-0/+1
| | | | | | | | | | | | | binary (Suexec Off), or force startup failure if suEXEC is required but not supported (Suexec On). Change SuexecUserGroup to fail startup instead of just printing a warning if suEXEC is disabled. Additionally, ap_unixd_config.suexec_disabled_reason has a message, suitable for logging/messaging, explaining why the feature isn't available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1033519 13f79535-47bb-0310-9956-ffa450edef68
* Removed leftover from IDE build times.Guenter Knauf2010-10-051-5/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004519 13f79535-47bb-0310-9956-ffa450edef68
* Fixed declaration; added return value.Guenter Knauf2010-10-041-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004298 13f79535-47bb-0310-9956-ffa450edef68
* Changed comments to C stye.Guenter Knauf2010-09-011-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@991632 13f79535-47bb-0310-9956-ffa450edef68
* Added require prototypes conditionally to CFLAGS for NETWare;Guenter Knauf2010-09-011-7/+13
| | | | | | | added header includes for getting protos. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@991588 13f79535-47bb-0310-9956-ffa450edef68
* Added casts to silent compiler warnings.Guenter Knauf2010-08-081-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983412 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Provide a definition of AP_PLATFORM_REWRITE_ARGS_HOOK.Brian Havard2010-06-221-0/+1
| | | | | | | | NULL for now as ap_mpm_rewrite_args()'s -k function doesn't currently work on OS/2. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956859 13f79535-47bb-0310-9956-ffa450edef68
* The directives "User", "Group" and "ChrootDir" haveRainer Jung2010-06-151-8/+0
| | | | | | | | been moved into mod_unixd. The old macro UNIX_DAEMON_COMMANDS is no longer in use. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@954783 13f79535-47bb-0310-9956-ffa450edef68
* Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to takeStefan Fritsch2010-06-062-0/+3
| | | | | | | advantage of per-module loglevels git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
* generalize the existing (r589761) platform- and errno-specificJeff Trawick2010-04-131-3/+4
| | | | | | | | | | | | logic to suppress an error message if accept() fails after the socket has been marked inactive a message will still be logged, but at debug level instead of error PR: 49058 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@933657 13f79535-47bb-0310-9956-ffa450edef68
* build mod_reqtimeout on WindowsJeff Trawick2010-02-271-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@916866 13f79535-47bb-0310-9956-ffa450edef68
* fix base addr of mod_serfJeff Trawick2010-02-261-1/+1
| | | | | | | | Submitted by: Gregg L. Smith <lists@glewis.com> Reviewed by: trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@916804 13f79535-47bb-0310-9956-ffa450edef68
* Finish libserf magicWilliam A. Rowe Jr2010-02-041-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@906612 13f79535-47bb-0310-9956-ffa450edef68
* added watchdog module to NetWare internal module list.Guenter Knauf2009-12-011-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@885777 13f79535-47bb-0310-9956-ffa450edef68
* Add mod_proxy_scgi; PR 48303; Submitted by: Gregg L. Smith <lists glewis.com>William A. Rowe Jr2009-12-011-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@885655 13f79535-47bb-0310-9956-ffa450edef68
* Bring back OS/2 support.Brian Havard2009-08-267-0/+116
| | | | | | | Reverses r758929 with a little bit of conflict resolution. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@807930 13f79535-47bb-0310-9956-ffa450edef68
* removed unused var (seems a leftover from 1.3 days).Guenter Knauf2009-07-061-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@791588 13f79535-47bb-0310-9956-ffa450edef68
* Complete the integration of mod_heartbeat, mod_heartmonitor and theWilliam A. Rowe Jr2009-05-051-0/+1
| | | | | | | | | loadable mod_watchdog, started with 771581. This clears my list of missing modules as of 6 weeks ago, might be a few new still to clear up. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771589 13f79535-47bb-0310-9956-ffa450edef68
* complete r771579, refactoring mod_watchdog as loadable on win32William A. Rowe Jr2009-05-052-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771581 13f79535-47bb-0310-9956-ffa450edef68
* MPM's are now dynamically loadable; so must mod_watchdog be.William A. Rowe Jr2009-05-051-2/+0
| | | | | | | The only module with an excuse now is mod_so which implements LoadModule itself. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771579 13f79535-47bb-0310-9956-ffa450edef68
* Add balancer module targetsWilliam A. Rowe Jr2009-05-051-92/+96
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@771564 13f79535-47bb-0310-9956-ffa450edef68
* Introduce mod_remoteip to trunk from httpd/sandbox/mod_remoteipWilliam A. Rowe Jr2009-04-231-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@767786 13f79535-47bb-0310-9956-ffa450edef68