Jeff Trawick
8f04ed6a4d
signature of quick_handler hook changed
...
(mod_example's quick_handler hook doesn't have to do anything
with the new parameter)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94262 13f79535-47bb-0310-9956-ffa450edef68
2002-03-28 11:17:59 +00:00
Bill Stoddard
d5c24720dc
Commit 1 of 2 to:
...
1. rename ap_rset_content_type to ap_set_content_type
2. reverse the arguments on the call to aligh with ap_set_content_length
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94056 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 17:41:55 +00:00
Bill Stoddard
470edb9dd8
First commit to introduce accessor function to set r->content_type..
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94027 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 01:58:47 +00:00
Roy T. Fielding
845cbfd508
Update our copyright for this year.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
2002-03-13 20:48:07 +00:00
Ryan Bloom
862f407872
Remove the install_transport_filters hook. The same function can be
...
acheived with the pre_connection hook. I have added the socket to the
pre_connection phase to make this possible.
Reviewed by: Bill Stoddard
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93259 13f79535-47bb-0310-9956-ffa450edef68
2002-02-05 22:18:49 +00:00
Aaron Bannert
d5fdaf9cfd
The pre_config hook now takes a return value. This allows modules to
...
cause the server to bail out under error conditions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93063 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 23:49:40 +00:00
William A. Rowe Jr
4b08741638
Ok one typo... that's it for me for one evening
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92807 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 09:20:28 +00:00
William A. Rowe Jr
30d1548be6
Fix a handful of AP_MODULE_DECLARE_DATA exports for .so modules.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92805 13f79535-47bb-0310-9956-ffa450edef68
2002-01-10 09:11:33 +00:00
Ian Holsman
c7c6e876a9
change open_logs hook to return a value, allowing you to flag a error
...
while opening logs
Obtained from: Doug MacEachern
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92149 13f79535-47bb-0310-9956-ffa450edef68
2001-11-24 00:08:30 +00:00
Ian Holsman
86b792b21c
Modify post_config hook so that it can return a error,
...
causing the server not to start.
previous method was to call exit(1) which would not fail
gracefully
PR:
Obtained from:
Submitted by:
Reviewed by: (Idea only Jeff Trawick)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92144 13f79535-47bb-0310-9956-ffa450edef68
2001-11-23 16:35:22 +00:00
Doug MacEachern
12749e4ff8
disabling mod_example ap_hook_{http_method,default_port}
...
breaks things such as httpd-test when http_method is "foo"
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91475 13f79535-47bb-0310-9956-ffa450edef68
2001-10-15 23:14:11 +00:00
Doug MacEachern
d1fb0f93fc
x_handler() was not checking r->handler, leaving it to handle every request
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91454 13f79535-47bb-0310-9956-ffa450edef68
2001-10-13 01:53:46 +00:00
Jeff Trawick
3a60a51c77
a couple of hacks to mod_example to get it to behave a little better:
...
1) return DECLINED instead of OK from the quick_handler so we get
some output
2) don't install x_fixer_upper() as a create_request handler; otherwise
we segfault since r->per_dir_config hasn't been initialized yet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89955 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 21:36:32 +00:00
Ryan Bloom
0caa23e8db
Remove all the warnings from mod_example.c.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89935 13f79535-47bb-0310-9956-ffa450edef68
2001-08-06 13:46:48 +00:00
Chuck Murcko
7ea50abc30
Sorting things out
...
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89704 13f79535-47bb-0310-9956-ffa450edef68
2001-07-25 07:12:19 +00:00
Chuck Murcko
594feb7de5
fix warning
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89685 13f79535-47bb-0310-9956-ffa450edef68
2001-07-24 21:50:21 +00:00
Ken Coar
e0a0b2ec59
Checkpoint my mod_example work. It does not work correctly yet,
...
and certainly should not be used until it does, but at least it
compiles (with a couple of warnings). I am adding examples of
all the missing hooks to it; this is definitely a work in progress
right now.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89205 13f79535-47bb-0310-9956-ffa450edef68
2001-05-22 20:40:57 +00:00
William A. Rowe Jr
16231360f1
Goodbye ap_send_http_header
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88390 13f79535-47bb-0310-9956-ffa450edef68
2001-02-28 15:24:09 +00:00
Roy T. Fielding
381f88d56a
Update copyright to 2001
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
2001-02-16 04:26:53 +00:00
Doug MacEachern
88d3406f9a
renaming various functions for consistency sake
...
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
2001-02-08 07:45:33 +00:00
William A. Rowe Jr
59bbd68bec
The big change. This is part 3 of the apr-util symbols rename, please
...
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87731 13f79535-47bb-0310-9956-ffa450edef68
2001-01-19 07:04:36 +00:00
William A. Rowe Jr
40655f8641
Provide apr_pool_t arg to register_hooks, since anything they do in that
...
step -must- be done with a pool that will not outlive the cmd pool, from
which they may have been dynamically loaded.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87697 13f79535-47bb-0310-9956-ffa450edef68
2001-01-17 15:52:12 +00:00
Ryan Bloom
0d5a270ea3
Get mod_example building cleanly.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87103 13f79535-47bb-0310-9956-ffa450edef68
2000-11-28 18:52:24 +00:00
Ken Coar
8095e3bc8d
Fix a typo.
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86122 13f79535-47bb-0310-9956-ffa450edef68
2000-08-21 15:39:41 +00:00
Doug MacEachern
059d8dd212
prefix libapr functions and types with apr_
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85976 13f79535-47bb-0310-9956-ffa450edef68
2000-08-02 05:27:38 +00:00
Tony Finch
ccd36c357b
Add mod_example to the build system.
...
I also fixed a few bogosities in mod_example itself, mostly improved
ordering of the code; I also fixed the long-standing numbering mistake
for the order of the request processing stages, and added the hook
registering function to the module record.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85191 13f79535-47bb-0310-9956-ffa450edef68
2000-05-11 20:25:46 +00:00
Doug MacEachern
2f45db7e82
back out APR_ prefix for TRUE,FALSE
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85081 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 18:27:55 +00:00
Doug MacEachern
f3a4cf49be
prefix TRUE,FALSE with APR_
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85074 13f79535-47bb-0310-9956-ffa450edef68
2000-04-28 06:49:53 +00:00
Doug MacEachern
6644b34387
add AP_ prefix to *HOOK* macros
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85045 13f79535-47bb-0310-9956-ffa450edef68
2000-04-26 07:14:39 +00:00
Ryan Bloom
de3a77dc01
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
...
on Linux, but probably breaks somewhere.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84963 13f79535-47bb-0310-9956-ffa450edef68
2000-04-14 15:59:20 +00:00
Roy T. Fielding
2bee4ad19d
Update to Apache Software License version 1.1
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84879 13f79535-47bb-0310-9956-ffa450edef68
2000-03-31 09:05:25 +00:00
Ryan Bloom
70baa3495c
Update the example module to 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84758 13f79535-47bb-0310-9956-ffa450edef68
2000-03-13 23:30:21 +00:00
Ryan Bloom
b1c26f031a
Fix all the License issues. Including:
...
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84725 13f79535-47bb-0310-9956-ffa450edef68
2000-03-10 00:07:37 +00:00
Martin Kraemer
8c18eee13a
Remove most of the annoying "re ap_context_t mplement" mis-replacements
...
by what I think is their real meaning. Guys, I didn't verify all of this,
please have a close look at my "fixes". Thanks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83970 13f79535-47bb-0310-9956-ffa450edef68
1999-10-11 22:40:18 +00:00
Ryan Bloom
c37f14ddf3
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
...
check this out tomorrow and make sure everything was checked in correctly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83852 13f79535-47bb-0310-9956-ffa450edef68
1999-08-31 05:35:52 +00:00
Roy T. Fielding
8f30e699f7
Removed timeouts.
...
Submitted by: Bill Stoddard, Dean Gaudet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83768 13f79535-47bb-0310-9956-ffa450edef68
1999-08-26 14:11:38 +00:00
Roy T. Fielding
e3e87d34a0
Apache 1.3.9 baseline for the Apache 2.0 repository.
...
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83751 13f79535-47bb-0310-9956-ffa450edef68
1999-08-24 06:55:44 +00:00