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

675 Commits

Author SHA1 Message Date
Jim Jagielski
427c85bd23 Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174751 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 13:39:32 +00:00
Stefan Fritsch
fba947527f Introduce new function ap_get_conn_socket() to access the socket of
a connection


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135153 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:02:18 +00:00
Stefan Fritsch
c9fd2623da Introduce ap_(get|set)_core_module_config() functions/macros and use them
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
2011-06-06 21:26:56 +00:00
Guenter Knauf
888ec80125 Use a var INSTALLBASE to simplify NetWare installation rules.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082821 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 04:56:06 +00:00
Guenter Knauf
bab978c56e Use var for prelude so its possible to change it at one place.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1082811 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 03:09:27 +00:00
Guenter Knauf
e8a8becc0f NetWare build overhaul in order to compile on Linux.
Removed absolute paths to imp files.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1079487 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 18:59:02 +00:00
Guenter Knauf
46b7e1d210 NetWare build overhaul in order to compile on Linux.
Take 1.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1079407 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 16:04:40 +00:00
Jeff Trawick
46bdc28bf4 fix some logging calls to include the server_rec
(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
2011-02-26 15:32:01 +00:00
William A. Rowe Jr
956c10f79c Text, please
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1051318 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 23:36:12 +00:00
Guenter Knauf
5e8988e256 Removed obsolete include paths from NetWare makefiles.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966904 13f79535-47bb-0310-9956-ffa450edef68
2010-07-22 23:38:58 +00:00
Stefan Fritsch
ebb62867fb Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@951895 13f79535-47bb-0310-9956-ffa450edef68
2010-06-06 16:59:50 +00:00
Jim Jagielski
abcfac33f8 Provide new ap_update_child_status_from_conn() mostly
for use with mod_noloris.c Add some logic protection, for
NULL ref, which shoulda be there in any case.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@821307 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03 12:54:35 +00:00
Jim Jagielski
83532ab628 Enhance ap_hook_monitor to pass along a server_rec (in
general the ap_server_conf) and tuck away some storage
in there which may be useful as an opaque data pointer.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@818825 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 11:59:30 +00:00
Guenter Knauf
1dc04a449f added makefile for mod_noloris
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@791500 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 14:49:03 +00:00
Guenter Knauf
ba1d4adb75 fixed var name, fixed memset parameter,
changed to ap_get_scoreboard_worker_from_indexes()


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@791498 13f79535-47bb-0310-9956-ffa450edef68
2009-07-06 14:48:23 +00:00
Nick Kew
998f06a1fd mod_noloris: switch to fixed-sized shm ip storage, correct size, avoid strstr
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@791271 13f79535-47bb-0310-9956-ffa450edef68
2009-07-05 16:50:12 +00:00
Nick Kew
d15e451a96 mod_noloris just moved from discussion to attracting its first patch
on dev@.  That means it wants to be in svn.  Adding to modules/experimental
pending anything more definite.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@790205 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 15:01:55 +00:00
Bradley Nicholes
f6d2068c49 Nothing left to build in this directory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599900 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 18:39:28 +00:00
Ruediger Pluem
0a8ef36714 * mod_substitute is now below filters and no longer in experimental.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@598669 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 15:18:34 +00:00
Jim Jagielski
6288f33b63 move mod_substitute from exp to filters
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@598651 13f79535-47bb-0310-9956-ffa450edef68
2007-11-27 14:30:51 +00:00
Bradley Nicholes
d041412170 Fix up the NetWare build due to the rearranging of the examples and experimental directories.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@597208 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 21:01:09 +00:00
Sander Temme
df96b77cf2 * Move the Example modules to the newly created examples subdirectory
* Hopefully correctly fudge the NWGNU make files
* Add mod_example_ipc (without NWGNU stuff or dsp)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@596093 13f79535-47bb-0310-9956-ffa450edef68
2007-11-18 15:41:03 +00:00
William A. Rowe Jr
fef4bfddb6 Clean up 2nd typo of the same line, you would expect I could copy n paste
one line across terminals, eh?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@580535 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 02:48:59 +00:00
William A. Rowe Jr
af62754aaa A long week, what can I say?
Fix typo


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@580532 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 02:40:03 +00:00
William A. Rowe Jr
b1157e7756 Well this always sucks, to build a good example and discover the simple
example case doesn't actually work :)

Stop returning their buckets to the caller, only to have the caller send 
us the same buckets on subsequent calls to our case_filter.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@580206 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 03:22:42 +00:00
Bradley Nicholes
9522f22c9d Add an include path to resolve the mpm header
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@570144 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 14:35:35 +00:00
Jim Jagielski
014540fa02 We are Substitute now :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569659 13f79535-47bb-0310-9956-ffa450edef68
2007-08-25 12:41:14 +00:00
William A. Rowe Jr
bdb8a01c26 Bless the module mod_substitute, with the Substitute directive
and SUBSTITUTE filter name.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569533 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 21:41:35 +00:00
William A. Rowe Jr
396c082d97 It isn't rocket science :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569265 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 06:10:25 +00:00
William A. Rowe Jr
9a74f50800 Some unused local variables.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569251 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 05:18:53 +00:00
William A. Rowe Jr
86cd1b413a Resolve examples errors (missing include error, signedness warning).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569220 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 02:08:30 +00:00
William A. Rowe Jr
ba564c8b92 Yes - a purpose to adjusting the name now; add all examples to a new
build target, BuildAll (including modules with no application)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569215 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 01:55:28 +00:00
William A. Rowe Jr
1fdf836d7d Adjust NW (I hope)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569214 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 01:54:21 +00:00
William A. Rowe Jr
7e96ed3d7f s/SED/Rewrite/ (approximately, taking into account legibility and line length),
Other than identifiers and text, there are no code changes in this commit.

Reflow the result (and existing quirks) to 80 columns.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569209 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 01:19:46 +00:00
William A. Rowe Jr
f3a7745a1f SEDFILTER has several anomolies; first, it's not SED syntax,
but more mod-rewrite like (and using the rewrite pcre parser).
Secondly, 'FILTER' in the filter name is redundant.  Simplify,
by renaming this 'REWRITE' filter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@569204 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 00:54:15 +00:00
Sander Temme
a44986cc0f Complete cleanup of global variable use by mod_example. This should take away
any existing reservation about thread-safety of this code.  Add warning that 
this code is now too top heavy and implements too many obscure callbacks to 
serve a s point of departure for one's own development effort. 



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@550636 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 23:22:30 +00:00
André Malo
ff601f03ec newlines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@531920 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 13:07:44 +00:00
Guenter Knauf
47fff8d790 removed obsolete -prefix; minor cosmetic changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@521264 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 13:45:54 +00:00
Guenter Knauf
d6a691ccec added mod_sedfilter; minor cosmetic changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@521054 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 23:56:29 +00:00
Guenter Knauf
6e83ac1801 removed obsolete -prefix; minor cosmetic changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@521052 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 23:53:31 +00:00
Guenter Knauf
034c4c5f73 removed obsolete -prefix; minor cosmetic changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@521049 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 23:33:35 +00:00
Jim Jagielski
460714ed85 Even though we don't let our bb grow too large, still
honor flush buckets anyway... Note: maybe now we
should use something a little larger that AP_MIN_BYTES_TO_WRITE??


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520442 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 15:48:23 +00:00
Jim Jagielski
2fd85d90f0 Use macros for common code paths... this cleans it up
a bit and prevents people from worrying about
whether these 2 parts are so different or not.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520409 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 14:36:57 +00:00
Jim Jagielski
3f7eb9714c Update build system to know about sedfilter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520075 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 20:09:00 +00:00
Jim Jagielski
053638a8f0 Some minor tweaks... return quickly if given an
empty bb, ensure EOS is the last bucket we handle
and if our chunked passing fails, then we need
to report that immediately.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520074 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 20:04:56 +00:00
Jim Jagielski
3bf99c1314 Add comment to avoid confusion and questions :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@519971 13f79535-47bb-0310-9956-ffa450edef68
2007-03-19 15:22:58 +00:00
Jim Jagielski
7481ebf033 Initial import: mod_sedfilter.c (was mod_sed_filter.c) as
per discussion on dev@httpd.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@518807 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 23:29:23 +00:00
Bradley Nicholes
0526618c3d Add the case_flt experimental modules to the NetWare build
Submitted by: Guenter Knauf <fuankg apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@516235 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 00:19:31 +00:00
Bradley Nicholes
ba4156cadd Implement a BASEDIR build environment variable to allow the NetWare build to relocate the install files
Submitted by: Guenter Knauf <fuankg apache org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@502051 13f79535-47bb-0310-9956-ffa450edef68
2007-01-31 23:55:44 +00:00
Sander Temme
f0c8f20963 Get rid of the global trace_add in favor of specific trace functions tailored to the server run phase and callback context. Add the final trace function (for no context) and start moving the EXAMPLE_LOG_EACH stuff to ap_log_perror instead of directly writing to stdout.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@492376 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 01:07:45 +00:00