1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Commit Graph

374 Commits

Author SHA1 Message Date
André Malo
cab0f8754c fix eol-style
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@432686 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 19:16:54 +00:00
Mladen Turk
496195bdd8 Do not return on WAIT_ABANDONED signals.
It means that we got the ownership, not that the
object was signaled.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@428278 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 08:24:44 +00:00
Mladen Turk
36db918bc8 Fix return values from wait_for_many_objects.
The return value is index to the signaled thread in
the creted_threads array.
We can not use WAIT_TIMEOUT as return value
because its value is defined as 258, thus limiting
the MaxThreads to that value that leads to the
assertion errors.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@428029 13f79535-47bb-0310-9956-ffa450edef68
2006-08-02 15:31:24 +00:00
Mladen Turk
fb43394819 Add mod_authz_core module to the build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@425433 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 15:59:43 +00:00
Mladen Turk
1781e40652 Add mod_access_conf module base address.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@425421 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 15:26:45 +00:00
Paul Querna
cb2e304ba8 On mingw32, the APACHE_MPM_DIR is defined from the autoconf generated files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@422191 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 09:25:28 +00:00
Paul Querna
f9d3d9f6a5 Bring in basic support for building the winnt MPM under mingw32, using the autoconf build system. Currently this will get you to the point of linking errors on gen_test_char.
configure.in: Default to winnt MPM on mingw32 hosts.
configure.in: Add AP_DECLARE_EXPORT for mingw32 hsots.

os/config.m4: Use win32 dir under mingw32.
os/win32/Makefile.in: Add in a new makefile to generate libos on win32.

server/mpm/config.m4: Add winnt MPM to the help string.
server/mpm/config.m4: winnt MPM is a threaded MPM.

server/mpm/winnt/child.c: SO_UPDATE_ACCEPT_CONTEXT is defined under a different header in mingw32.

server/mpm/winnt/{Makefile.in,config.m4}: Base build for winnt MPM.

os/win32,server/mpm/winnt: Update svn:ignore for .deps/.libs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@422182 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 09:03:52 +00:00
Roy T. Fielding
de659cbed0 update license header text
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 20:33:53 +00:00
William A. Rowe Jr
7553e62568 With all the fun new features, mod_proxy's size (when built in
debug mode) has grown a bit :)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395395 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 21:01:31 +00:00
Colm MacCarthaigh
dd95d7c37c Update the copyright year in all .c, .h and .xml files
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
2006-04-19 12:11:27 +00:00
Bradley Nicholes
c63addb733 Update the NetWare makefiles to build the authz code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@368105 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 19:26:57 +00:00
William A. Rowe Jr
d6e4137faa Add the module details for our /base:@...,mod_foo.so magic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@357234 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 21:15:12 +00:00
Joe Orton
913e69c609 * os/unix/unixd.h: Use extern "C" linkage.
PR: 37357


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@354389 13f79535-47bb-0310-9956-ffa450edef68
2005-12-06 09:48:19 +00:00
Jim Jagielski
5061d9fa92 No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332306 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:11:44 +00:00
Jim Jagielski
5d2fae4818 No functional change: simple detabbing of indented code.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@332305 13f79535-47bb-0310-9956-ffa450edef68
2005-11-10 15:05:51 +00:00
William A. Rowe Jr
105543fce6 I'd prefer, before 2.2-final, to have AP_NEED_SET_MUTEX_PERMS defined
across all architectures as 1|0.  Comments?

  This simply ensures we can use the value in #if tests.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@289592 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 16:04:37 +00:00
Ian Holsman
8c1e315d3f Doxygen fixup / cleanup
submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
2005-08-28 23:03:59 +00:00
William A. Rowe Jr
8f0fdd61ad This module shouldn't have been added; it's an experiment on my
local tree.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@170377 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 12:54:03 +00:00
Bradley Nicholes
6905d3d9d5 Allow httpd on NetWare to build using either the standard socket libraries or the Winsock libraries.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161368 13f79535-47bb-0310-9956-ffa450edef68
2005-04-14 23:42:21 +00:00
Bradley Nicholes
564aeef123 Rethink the built-in vs shared modules for NetWare. Reposition mod_asis, mod_actions, mod_cgi, mod_imagemap, mod_userdir and mod_autoindex as shared rather than built-in.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@160625 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 22:03:36 +00:00
Bradley Nicholes
caaf2823a3 Make the changes in the NetWare build for the image_map module rename
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@160560 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 16:12:43 +00:00
William A. Rowe Jr
395d41d3bc Final bit to switch for imap->imagemap
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@160440 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 19:12:46 +00:00
William A. Rowe Jr
4167fdc172 80 col style fix, no code harmed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154329 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 17:34:05 +00:00
William A. Rowe Jr
4c16e86c06 Add mod_echo - not built by default, but this drops the warning that
the module isn't declared in BaseAddr.ref.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154328 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 17:33:33 +00:00
Bill Stoddard
d8cb4ecb8f fix compile break with recent rename of real_exit_code to ap_real_exit_code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154320 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 16:33:04 +00:00
Justin Erenkrantz
905cdf9f0b Update copyright year to 2005 and standardize on current copyright owner line.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
2005-02-04 20:28:49 +00:00
William A. Rowe Jr
9899eba808 A few new modules/debug/ projects which need base addr's.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@124241 13f79535-47bb-0310-9956-ffa450edef68
2005-01-05 18:47:26 +00:00
Brian Havard
8b62fcf936 The current config.guess in APR outputs i386-pc-os2-emx on OS/2 rather than
i386-pc-os2_emx (dash instead of underscore), adjust the tests to match.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@122967 13f79535-47bb-0310-9956-ffa450edef68
2004-12-21 12:52:17 +00:00
Joe Orton
c36ecfa64f Remove the .cvsignore files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105796 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 09:07:29 +00:00
Joe Orton
1b3a4c2013 * os/unix/os.h: Define AP_NEED_SET_MUTEX_PERMS.
* modules/mappers/mod_rewrite.c, modules/ssl/ssl_engine_mutex.c: Use
AP_NEED_SET_MUTEX_PERMS to determine whether unixd_set_*_mutex_perms
calls are necessary.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105411 13f79535-47bb-0310-9956-ffa450edef68
2004-10-12 11:55:30 +00:00
Jean-Frederic Clere
0f413a829c Move the few BS2000 specific in unixd.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105361 13f79535-47bb-0310-9956-ffa450edef68
2004-10-01 16:03:08 +00:00
Allan K. Edwards
ba4d908410 WIN64: first in a series to get Windows IA64 builds clean, this serves pages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105257 13f79535-47bb-0310-9956-ffa450edef68
2004-09-22 18:21:30 +00:00
William A. Rowe Jr
e8f3249f5d Catch up for Win32 to authnz_ldap changes, and make win32's module
for util_ldap features named mod_ldap.so as on Unix.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104921 13f79535-47bb-0310-9956-ffa450edef68
2004-08-31 20:11:35 +00:00
William A. Rowe Jr
f5beea0f12 A few more modules who need their bases owned.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104689 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 16:35:26 +00:00
William A. Rowe Jr
3b3abbd89d Missing an entry for proxy_balancer in the win32 baseaddr's list
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104638 13f79535-47bb-0310-9956-ffa450edef68
2004-08-12 17:00:54 +00:00
William A. Rowe Jr
1d2047b9d5 Enable backwards compatibility with 2.0-HEAD, define ajp module base,
and note CHANGES so far to proxy

Submitted by:	mturk


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104565 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 21:14:49 +00:00
Bradley Nicholes
6e231373bc Allocate memory from the temp_pool rather than the stack to avoid blowing fixed length stacks while evaluating nested includes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@104310 13f79535-47bb-0310-9956-ffa450edef68
2004-07-16 20:30:43 +00:00
André Malo
7accf16eed Nobody objected:
<IfModule> now takes the module identifier in addition to the
filename.

CAUTION: this commit breaks the build on netware. It still needs
to be adjusted. (but I don't have any netware knowledge...)
Also, developers need to re-run buildconf on unices.

PR: 29003
Submitted by: Edward Rudd <eddie omegaware.com>, Andr� Malo


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103849 13f79535-47bb-0310-9956-ffa450edef68
2004-06-04 22:40:47 +00:00
André Malo
67a400fb6b readd suexec setuid and user check
Related to PR: 28287


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@103510 13f79535-47bb-0310-9956-ffa450edef68
2004-04-24 19:42:52 +00:00
Jeff Trawick
4d8f4c26d6 *) SECURITY: CAN-2004-0174 (cve.mitre.org)
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
2004-03-19 11:16:03 +00:00
Joe Orton
6895aee838 * os/unix/unixd.c (unixd_accept): Eliminate now-redundant call to
apr_os_sock_get(); let APR check for accept returning zero on TPF.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102925 13f79535-47bb-0310-9956-ffa450edef68
2004-03-10 21:06:11 +00:00
André Malo
eeb57c17ad fix name of The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
2004-02-09 20:40:53 +00:00
André Malo
e0d2db5107 fix copyright dates according to the first check in
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102579 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 13:13:10 +00:00
André Malo
7b655748ae fix copyright dates according to the first check in
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102578 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 13:09:10 +00:00
André Malo
efd6b024e8 fix copyright dates according to the first check in
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102577 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 13:05:40 +00:00
André Malo
04bb31cc9c fix copyright dates according to the first check in
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102576 13f79535-47bb-0310-9956-ffa450edef68
2004-02-08 13:03:58 +00:00
André Malo
4f02cb1e18 apply Apache License, Version 2.0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 22:58:42 +00:00
Jeff Trawick
01da1159b3 Unix MPMs: Stop dropping connections when the file descriptor
is at least FD_SETSIZE.

That isn't a problem for most users (since poll() is widespread).
On old boxes where select() must be used by APR, APR needs to fail
operations that don't work with such fds.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102419 13f79535-47bb-0310-9956-ffa450edef68
2004-01-27 15:19:58 +00:00
André Malo
fb07607180 update license to 2004.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
2004-01-01 13:26:26 +00:00
Jeff Trawick
3b6b4b4325 fix a compile failure with recent z/OS and picky settings for compiler/
library

("unsigned short" is more portable than "ushort")


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101690 13f79535-47bb-0310-9956-ffa450edef68
2003-11-03 17:30:45 +00:00