/[Apache-SVN]/httpd/httpd/trunk/include/httpd.h
ViewVC logotype

Log of /httpd/httpd/trunk/include/httpd.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 830527 - (view) (annotate) - [select for diffs]
Modified Wed Oct 28 13:25:49 2009 UTC (4 weeks ago) by poirier
File length: 66503 byte(s)
Diff to previous 819480 (colored)
Fix a lot of doxygen warnings.  Thanks to Brad Hards for the patch.
I added a few more fixes, and there are still more that might
need a doxygen expert.

PR: 48061
Submitted by: Brad Hards
Reviewed by: poirier

Revision 819480 - (view) (annotate) - [select for diffs]
Modified Mon Sep 28 08:56:36 2009 UTC (8 weeks, 2 days ago) by jorton
File length: 66485 byte(s)
Diff to previous 818825 (colored)
* include/httpd.h: Fix comment implying that LimitRequestLine 
  and LimitRequestFieldsize cannot raise limits -- no longer the
  case.

Revision 818825 - (view) (annotate) - [select for diffs]
Modified Fri Sep 25 11:59:30 2009 UTC (2 months ago) by jim
File length: 66492 byte(s)
Diff to previous 814807 (colored)
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.

Revision 814807 - (view) (annotate) - [select for diffs]
Modified Mon Sep 14 19:46:36 2009 UTC (2 months, 1 week ago) by rpluem
File length: 66437 byte(s)
Diff to previous 807930 (colored)
* Lower memory usage by reusing the brigade instead of constantly
  recerating one.

Submitted by: Stefan Fritsch <sf sfritsch.de>
Reviewed by: rpluem


Revision 807930 - (view) (annotate) - [select for diffs]
Modified Wed Aug 26 08:56:13 2009 UTC (3 months ago) by bjh
File length: 66399 byte(s)
Diff to previous 761749 (colored)
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution.

Revision 761749 - (view) (annotate) - [select for diffs]
Modified Fri Apr 3 18:22:12 2009 UTC (7 months, 3 weeks ago) by trawick
File length: 66040 byte(s)
Diff to previous 758929 (colored)
the only "retuned" in the entire server was, alas, not meant to be

Revision 758929 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 23:47:52 2009 UTC (8 months ago) by trawick
File length: 66039 byte(s)
Diff to previous 758891 (colored)
remove OS/2 platform support

Revision 758891 - (view) (annotate) - [select for diffs]
Modified Thu Mar 26 22:23:44 2009 UTC (8 months ago) by trawick
File length: 66398 byte(s)
Diff to previous 742218 (colored)
remove BeOS OS support

Revision 742218 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 00:57:58 2009 UTC (9 months, 2 weeks ago) by pquerna
File length: 66490 byte(s)
Diff to previous 739382 (colored)
Add conn_rec::current_thread.

Revision 739382 - (view) (annotate) - [select for diffs]
Modified Fri Jan 30 19:12:51 2009 UTC (9 months, 3 weeks ago) by fielding
File length: 66126 byte(s)
Diff to previous 730296 (colored)
Disabled DefaultType directive and removed ap_default_type()
from core.  We now exclude Content-Type from responses for which
a media type has not been configured via mime.types, AddType,
ForceType, or some other mechanism.  MMN major bump to NZ time.

PR: 13986


Revision 730296 - (view) (annotate) - [select for diffs]
Modified Wed Dec 31 02:27:24 2008 UTC (10 months, 3 weeks ago) by niq
File length: 66556 byte(s)
Diff to previous 723843 (colored)
Add support for escaping all non-ascii chars to ap_escape_html, and use
it to fix PR#25202: encoding="entity" doesn't work as advertised in
mod_include.
For backport, this'll need an ABI-preserving version that'll be
a minor MMN bump.  But if we do that in /trunk/, it'll never change.

Revision 723843 - (view) (annotate) - [select for diffs]
Modified Fri Dec 5 20:09:32 2008 UTC (11 months, 2 weeks ago) by pquerna
File length: 66297 byte(s)
Diff to previous 721677 (colored)
Merge mod_wombat from the wombat branch:
 <https://svn.apache.org/repos/asf/httpd/httpd/branches/wombat-integration>
Into trunk.

Revision 721677 - (view) (annotate) - [select for diffs]
Modified Sat Nov 29 12:57:42 2008 UTC (11 months, 3 weeks ago) by covener
File length: 66268 byte(s)
Diff to previous 707022 (colored)
Prevent AP_FILTER_ERROR from being misinterpreted as SUSPENDED when checking
the status code returned by a handler by updating the values of the filter
error macros and consolidating them in httpd.h 


Revision 707022 - (view) (annotate) - [select for diffs]
Modified Wed Oct 22 10:23:52 2008 UTC (13 months ago) by rpluem
File length: 65805 byte(s)
Diff to previous 697357 (colored)
* Move ap_timeout_parameter_parse from mod_proxy.c to server/util.c and thus
  make it part of the public API.

Revision 697357 - (view) (annotate) - [select for diffs]
Modified Sat Sep 20 11:58:08 2008 UTC (14 months ago) by pquerna
File length: 64804 byte(s)
Diff to previous 659560 (colored)
Introduce Suspendable Requests to the Event MPM.

Using this basic framework, you can return SUSPENDED from an HTTP Handler,
and then register a callback that is invoked by the MPM at a later time.

This initial version only supports _timers_ as callbacks, but in the future I
would like to add things like wait for socket activity, on a socket specified by
the handler.

Once in a callback, It is then the responsibility of the callback fucntion 
to finish the HTTP Request handling, but this alows you to do cool things like 
a fully async proxy, COMET support, or even rate limiting.

To prove I'm not insane, I've inlcuded an example module, mod_dialup.

You can configure it like this:
<Location "/docs">
  ModemStandard "V.32"
</Location>

And for static files inside that path, you will be rate limited to V.32 speeds, 
aka 9.6 kilobits/second.

Does anyone besides Rüdiger read commit emails :-) ?

I know there are likely huge problems with this, but I would like to see how far
we can push the Event MPM, figure out what to do better, if there is anything, 
and then really dive into the 3.0 development before ApacheCon.

* server/mpm/experimental/event/fdqueue.h:
    (timer_event_t): New structure to hold timer events and callback functions.
    
* server/mpm/experimental/event/fdqueue.c
    (ap_queue_empty): Modify to also look at Timer Ring.

    (ap_queue_init): Initialize Timer Ring.

    (ap_queue_push_timer): New function, pushes a timer event into the queue.

    (ap_queue_pop_something): Renamed function, returns a timer event or
        a socket/pool for a worker thread to run.


* server/mpm/experimental/event/event.c
    (process_socket): If the connection is in SUSPENDED state, don't force it
        into linger mode yet, the callback will have to take care of that.

    (push_timer2worker): New shortcut function, pushes timer event into queue
        for a worker to run.

    (timer_free_ring): New global data structure to recycle memory used by 
        timer events.

    (timer_ring): New global data structure to hold active timer events.

    (g_timer_ring_mtx): Thread mutex to protect timer event data structures.

    (ap_mpm_register_timed_callback): New Function, registers a callback to be
        invoked by the MPM at a later time.

    (listener_thread): Calculate our wakeup time based on the upcoming Event 
        Queue, and after pollset_poll runs, push any Timers that have passed
        onto worker threads to run.
    
    (worker_thread): Call new queue pop method, and if the Timer Event is 
        non-null, invoke the callback.  Once the callback is done, push the
        structure onto the timer_free_ring, to be recycled.

    (child_main): Initialize new mutex and ring structures.


* server/config.c
    (ap_invoke_handler): Allow SUSPENDED aa valid return code from handlers.


* modules/http/http_core.c
    (ap_process_http_async_connection): Don't close the connection when in 
        SUSPENDED state.


* modules/http/http_request.c
    (ap_process_request_after_handler): New function, body pulled from the old,
        ap_process_async_request.  Split to let handlers invoke this so they 
        don't need to know all of the details of finishing a request.

    (ap_process_async_request): If the handler returns SUSPENDED, don't do
        anything but return.


* include/ap_mmn.h: Bump MMN.


* include/ap_mpm.h
    (ap_mpm_register_timed_callback): New function.


* include/httpd.h:
    (SUSPENDED): New return code for handlers.
    (request_rec::invoke_mtx): New mutex to protect callback invokcations
        from being run before the original handler finishes running.
    (conn_state_e): Add a suspended state.


* include/http_request.h
    (ap_process_request_after_handler): New function to make it easier for 
        handlers to finish the HTTP Request.


* modules/test/config.m4: Add mod_dialup to build.


* modules/test/mod_dialup.c: New rate limiting module, requires the Event MPM 
    to work.



Revision 659560 - (view) (annotate) - [select for diffs]
Modified Fri May 23 14:52:33 2008 UTC (18 months ago) by gregames
File length: 64592 byte(s)
Diff to previous 645412 (colored)
The response to the TRACE method is partially garbled on an EBCDIC platform.  
Send the request line and trailing CRLF in ASCII.

Submitted by:           David Jones <oscaremma gmail.com>
Reviewed and tested by: gregames

Revision 645412 - (view) (annotate) - [select for diffs]
Modified Mon Apr 7 08:44:14 2008 UTC (19 months, 2 weeks ago) by pquerna
File length: 64502 byte(s)
Diff to previous 645120 (colored)
Remove CORE_PRIVATE.

This define serves no modern purpose, since every module in the wild, including 
our own define it, for no purpose.

If you have functions which you do not want in the 'public' API, put them
in a private header, that is not installed, just like mod_ssl does.

Revision 645120 - (view) (annotate) - [select for diffs]
Modified Sat Apr 5 15:26:03 2008 UTC (19 months, 3 weeks ago) by minfrin
File length: 64550 byte(s)
Diff to previous 644746 (colored)
Rename the ap_escape_path_segment_b function as suggested by
Ruediger Pluem, and make a corresponding minor bump.

Revision 644746 - (view) (annotate) - [select for diffs]
Modified Fri Apr 4 15:58:15 2008 UTC (19 months, 3 weeks ago) by minfrin
File length: 64545 byte(s)
Diff to previous 592951 (colored)
mod_session: Add a generic session interface to unify the different
attempts at saving persistent sessions across requests.

Revision 592951 - (view) (annotate) - [select for diffs]
Modified Wed Nov 7 23:31:03 2007 UTC (2 years ago) by minfrin
File length: 64123 byte(s)
Diff to previous 579991 (colored)
core: Add the option to keep aside a request body up to a certain
size that would otherwise be discarded, to be consumed by filters
such as mod_include. When enabled for a directory, POST requests
to shtml files can be passed through to embedded scripts as POST
requests, rather being downgraded to GET requests.

Revision 579991 - (view) (annotate) - [select for diffs]
Modified Thu Sep 27 12:43:42 2007 UTC (2 years, 1 month ago) by niq
File length: 64037 byte(s)
Diff to previous 546632 (colored)
Add "DefaultType None" option
PR 13986 and PR 16139

Revision 546632 - (view) (annotate) - [select for diffs]
Modified Tue Jun 12 20:55:57 2007 UTC (2 years, 5 months ago) by pquerna
File length: 63823 byte(s)
Diff to previous 546328 (colored)
Fixup style nitpicks:
 - Empty lines should not have spaces
 - Declare static functions in http_core.c at the top.

Revision 546328 - (view) (annotate) - [select for diffs]
Modified Tue Jun 12 00:32:24 2007 UTC (2 years, 5 months ago) by pquerna
File length: 63827 byte(s)
Diff to previous 448711 (colored)
Add a clogging_input_filters variable to the conn_rec, enabling the Event MPM to know when its running with an input filter that buffers its own data, like mod_ssl.

Revision 448711 - (view) (annotate) - [select for diffs]
Modified Thu Sep 21 22:13:34 2006 UTC (3 years, 2 months ago) by niq
File length: 63684 byte(s)
Diff to previous 440337 (colored)
Generic fix for PR#31759
If a handler returns a value that is neither reserved nor a valid
HTTP response code, log an error and substitute HTTP_INTERNAL_SERVER_ERROR.
Allow a handler to override this explicitly by setting a note.

Revision 440337 - (view) (annotate) - [select for diffs]
Modified Tue Sep 5 13:08:15 2006 UTC (3 years, 2 months ago) by trawick
File length: 63555 byte(s)
Diff to previous 420983 (colored)
Replace ap_get_server_version with ap_get_server_banner() and
ap_get_server_description().

High-level summary:

The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive.

Third-party modules must now use ap_get_server_banner() or 
ap_get_server_description() in place of ap_get_server_version().


Revision 420983 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 20:33:53 2006 UTC (3 years, 4 months ago) by fielding
File length: 63085 byte(s)
Diff to previous 399947 (colored)
update license header text

Revision 399947 - (view) (annotate) - [select for diffs]
Modified Fri May 5 04:17:36 2006 UTC (3 years, 6 months ago) by sctemme
File length: 62938 byte(s)
Diff to previous 395228 (colored)
     Add optional 'scheme://' prefix to ServerName directive.  For
     'https', mod_http returns "https" for the ap_hook_http_scheme and
     DEFAULT_HTTPS_PORT for ap_hook_default_port.  This fixes Redirect
     responses to requests for directories without a trailing slash
     when httpd runs behind a proxy or offload device that processes
     SSL.  It also enables support for Subversion in that
     configuration.  This change is completely backwards compatible
     and passes the perl-framework.  Minor mmn bump because I add a
     field to server_rec. 

Revision 395228 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 12:11:27 2006 UTC (3 years, 7 months ago) by colm
File length: 62846 byte(s)
Diff to previous 381679 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 381679 - (view) (annotate) - [select for diffs]
Modified Tue Feb 28 15:49:24 2006 UTC (3 years, 8 months ago) by brianp
File length: 62846 byte(s)
Diff to previous 360461 (colored)
Revert the refactoring of the request read code

Revision 360461 - (view) (annotate) - [select for diffs]
Modified Sat Dec 31 23:45:11 2005 UTC (3 years, 10 months ago) by brianp
File length: 63197 byte(s)
Diff to previous 355143 (colored)
Refactoring of ap_read_request() to store partial request state
in the request rec.  The point of this is to allow asynchronous
MPMs do do nonblocking reads of requests.  (Backported from the
async-read-dev branch)

Revision 355143 - (view) (annotate) - [select for diffs]
Modified Thu Dec 8 17:12:36 2005 UTC (3 years, 11 months ago) by jorton
File length: 62846 byte(s)
Diff to previous 327872 (colored)
* include/httpd.h (conn_state_e): Remove trailing comma from enum.

Submitted by: Per Olausson <pao darkheim.freeserve.co.uk>
PR: 37840

Revision 327872 - (view) (annotate) - [select for diffs]
Modified Sun Oct 23 22:38:35 2005 UTC (4 years, 1 month ago) by brianp
File length: 62847 byte(s)
Diff to previous 327870 (colored)
New version of ap_core_output_filter that does nonblocking writes
(backport from async-dev branch to 2.3 trunk)

Revision 327870 - (view) (annotate) - [select for diffs]
Modified Sun Oct 23 22:20:59 2005 UTC (4 years, 1 month ago) by brianp
File length: 62823 byte(s)
Diff to previous 265506 (colored)
Add new connection states for handler and write completion
(backport from async-dev branch to 2.3 trunk)

Revision 265506 - (view) (annotate) - [select for diffs]
Modified Wed Aug 31 15:22:08 2005 UTC (4 years, 2 months ago) by jim
File length: 62766 byte(s)
Diff to previous 263931 (colored)
Add ap_append_pid(); This is performed enough to warrant
a function I think, especially with the fact that
the mapping of getpid() to APR_PID_T_FMT isn't
consistant in some areas. 

Revision 263931 - (view) (annotate) - [select for diffs]
Modified Sun Aug 28 23:03:59 2005 UTC (4 years, 2 months ago) by ianh
File length: 62207 byte(s)
Diff to previous 161140 (colored)
Doxygen fixup / cleanup

submited by: Neale Ranns neale ranns.org
reviewed by: Ian Holsman


Revision 161140 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 01:21:11 2005 UTC (4 years, 7 months ago) by rbowen
File length: 60852 byte(s)
Diff to previous 154200 (colored)
As discussed on the list, change the default setting for
KeepAliveTimeout from 15 seconds to 5 seconds.

Revision 154200 - (view) (annotate) - [select for diffs]
Modified Thu Feb 17 22:53:07 2005 UTC (4 years, 9 months ago) by pquerna
File length: 60853 byte(s)
Diff to previous 153408 (colored)
*) include/httpd.h: Add a brigade for temporary uses in the core input filter context.
*) server/core_filters.c: Do not use brigade_split, since it allocates a new brigade. Instead move buckets to our tmpbb, and reuse the tmpbb for every call.

PR: 33382

Revision 153408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 15:03:12 2005 UTC (4 years, 9 months ago) by jorton
File length: 60822 byte(s)
Diff to previous 153407 (colored)
* include/httpd.h: Fix a comment.

Revision 153407 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 14:57:34 2005 UTC (4 years, 9 months ago) by jorton
File length: 60823 byte(s)
Diff to previous 153384 (colored)
* include/ap_regex.h: Include apr.h not stdlib.h; replace pointless
regoff_t typedef with int; s/size_t/apr_size_t/;.  Comment fixes.

* server/util_pcre.c: s/size_t/apr_size_t/.

* include/httpd.h: Include stdlib.h here instead since many other
files assume it was included by httpd.h at some point.

Revision 153384 - (view) (annotate) - [select for diffs]
Modified Fri Feb 11 12:00:41 2005 UTC (4 years, 9 months ago) by jorton
File length: 60756 byte(s)
Diff to previous 151408 (colored)
Move the POSIX reg* implementations into the ap_* namespace;
internalise the ap_reg*<->PCRE wrapper:

* configure.in: Add srclib/pcre to the include path.

* include/ap_regex.h: Renamed from include/pcreposix.h.  Prefix all
constants with AP_; prefix all functions and types with ap_.  Define
AP_DECLARE to nothing if necessary.  Remove regcomp error codes.

* include/httpd.h: Include ap_regex.h not pcreposix.h.
(ap_pregcomp, ap_regexec, ap_regfree): s/regex_t/ap_regex_t/.
(ap_regexec, ap_regerror): Prototypes moved to ap_regex.h.

* server/util.c (regex_cleanup, ap_pregcomp, ap_pregsub, ap_pregfree):
Adjust for ap_ prefixed types.  (ap_regexec, ap_regerror): Removed.

* server/Makefile.in: Build util_pcre.c.

* server/util_pcre.c: Copied from srclib/pcre/pcreposix.c; remove use
of PCRE-internals to do error mapping; rename types to add AP_/ap_
prefixes as above.  Use APR includes.  (ap_regerror): Use apr_snprintf.

* srclib/pcre/Makefile.in: Don't build pcreposix.c into libpcre.la.

* modules/*: Update to use new type and constant names.

PR: 27750 (part one)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton

Revision 151408 - (view) (annotate) - [select for diffs]
Modified Fri Feb 4 20:28:49 2005 UTC (4 years, 9 months ago) by jerenkrantz
File length: 61822 byte(s)
Diff to previous 123882 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 123882 - (view) (annotate) - [select for diffs]
Modified Sun Jan 2 05:33:44 2005 UTC (4 years, 10 months ago) by wrowe
File length: 61786 byte(s)
Diff to previous 111432 (colored)
  FINALLY Correct ap_http_method()!  It is NOT a method, it's a SCHEME!

  Bumped mmn, and ap module cookie, for this function rename.

  It's not a deprecation, as ap_http_method would be a lovely function
  name sometime in the future: to determine what the function name implies.

Revision 111432 - (view) (annotate) - [select for diffs]
Modified Thu Dec 9 21:09:26 2004 UTC (4 years, 11 months ago) by geoff
File length: 61832 byte(s)
Diff to previous 111386 (colored)
undo changes made in 111386 due to veto

Revision 111386 - (view) (annotate) - [select for diffs]
Modified Thu Dec 9 14:16:16 2004 UTC (4 years, 11 months ago) by geoff
File length: 61879 byte(s)
Diff to previous 106955 (colored)
add response code 226 constant (HTTP_IM_USED) and status
line ("226 IM Used").  PR 31128.

Revision 106955 - (view) (annotate) - [select for diffs]
Modified Mon Nov 29 21:34:41 2004 UTC (4 years, 11 months ago) by wrowe
File length: 61832 byte(s)
Diff to previous 106932 (colored)
  Revert my patch of this a.m. while I work out all the
  potential forward declaration pitfalls.

Revision 106932 - (view) (annotate) - [select for diffs]
Modified Mon Nov 29 17:41:49 2004 UTC (4 years, 11 months ago) by wrowe
File length: 61790 byte(s)
Diff to previous 106103 (colored)
  Usage was inconsistent with the rest of ap_filter_t examples;
  we always presume the typedef'fed flavor of such symbol names.

Revision 106103 - (view) (annotate) - [select for diffs]
Modified Sun Nov 21 18:50:36 2004 UTC (5 years ago) by nd
File length: 61832 byte(s)
Diff to previous 105919 (colored)
general property cleanup

Revision 105919 - (view) (annotate) - [select for diffs]
Modified Sat Nov 20 02:52:36 2004 UTC (5 years ago) by pquerna
File length: 61832 byte(s)
Diff to previous 105572 (colored)
The Event MPM.
Designed to minimize Apache's KeepAlive overhead.

This MPM depends on the current APR-trunk for new features added to 
the apr_pollset interface. Currently the underlying operating
system must support KQueue or EPoll.

Status:
  Should work as a drop in replacement for all non-ssl servers.
  SSL Requests that use HTTP 1.1 Pipelining do not currently work.

Testing:
  I have tested it with Linux 2.6, FreeBSD 5.2.1, and OS X 10.3.
  
Originally based on the patch by Greg Ames.

Revision 105572 - (view) (annotate) - [select for diffs]
Modified Sat Oct 23 22:39:53 2004 UTC (5 years, 1 month ago) by fielding
File length: 61178 byte(s)
Diff to previous 105545 (colored)
veto and revert win64 patch: 64bit changes must percolate from the
bottom (APR/system) up -- we can't give the client a 64bit API and
then cast it to 32bits internally without introducing security holes
on other platforms.

Revision 105545 - (view) (annotate) - [select for diffs]
Modified Fri Oct 22 15:22:05 2004 UTC (5 years, 1 month ago) by ake
File length: 61208 byte(s)
Diff to previous 104633 (colored)
WIN64: API changes to clean up Windows 64bit compile warnings

Revision 104633 - (view) (annotate) - [select for diffs]
Modified Thu Aug 12 05:22:59 2004 UTC (5 years, 3 months ago) by stas
File length: 61178 byte(s)
Diff to previous 104283 (colored)
correct struct fields comments

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 104283 - (view) (annotate) - [select for diffs]
Modified Wed Jul 14 06:36:42 2004 UTC (5 years, 4 months ago) by pquerna
File length: 61070 byte(s)
Diff to previous 102777 (colored)
Added 'AllowOverride Options=Indexes,MultiViews' to give an admin better
control over what options can be used in .htaccess files.

PR: 29310
Submitted by: Tom Alsberg <alsbergt-apache cs.huji.ac.il>

Revision 102777 - (view) (annotate) - [select for diffs]
Modified Thu Feb 26 13:32:34 2004 UTC (5 years, 9 months ago) by jorton
File length: 60984 byte(s)
Diff to previous 102619 (colored)
* include/httpd.h: Double DYNAMIC_MODULE_LIMIT, httpd alone includes
about 60 modules already.

Revision 102619 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 20:40:53 2004 UTC (5 years, 9 months ago) by nd
File length: 60983 byte(s)
Diff to previous 102548 (colored)
fix name of The Apache Software Foundation

Revision 102548 - (view) (annotate) - [select for diffs]
Modified Sat Feb 7 19:27:57 2004 UTC (5 years, 9 months ago) by nd
File length: 60979 byte(s)
Diff to previous 102525 (colored)
fix copyright dates according to the first check in

Revision 102525 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 22:58:42 2004 UTC (5 years, 9 months ago) by nd
File length: 60979 byte(s)
Diff to previous 102405 (colored)
apply Apache License, Version 2.0

Revision 102405 - (view) (annotate) - [select for diffs]
Modified Sun Jan 25 22:03:38 2004 UTC (5 years, 10 months ago) by nd
File length: 63198 byte(s)
Diff to previous 102135 (colored)
Add core version query function ap_get_server_revision and
accompanying ap_version_t structure (minor MMN bump).
The function is similar to apr_version() and allow for exact
querying of the core revision level.

Revision 102135 - (view) (annotate) - [select for diffs]
Modified Thu Jan 1 13:26:26 2004 UTC (5 years, 10 months ago) by nd
File length: 62612 byte(s)
Diff to previous 102058 (colored)
update license to 2004.

Revision 102058 - (view) (annotate) - [select for diffs]
Modified Sun Dec 14 16:34:18 2003 UTC (5 years, 11 months ago) by nd
File length: 62612 byte(s)
Diff to previous 101873 (colored)
fix docco

Revision 101873 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 21:34:38 2003 UTC (6 years ago) by nd
File length: 62612 byte(s)
Diff to previous 101870 (colored)
SECURITY [CAN-2003-0020]: escape arbitrary data before writing into the
errorlog.

Reviewed by: Mark J Cox

Revision 101870 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 16:08:44 2003 UTC (6 years ago) by jwoolley
File length: 62182 byte(s)
Diff to previous 101683 (colored)
fix comment
Submitted by:	Fitz

Revision 101683 - (view) (annotate) - [select for diffs]
Modified Sun Nov 2 20:37:04 2003 UTC (6 years ago) by nd
File length: 62170 byte(s)
Diff to previous 101556 (colored)
- add XHTML doctypes to httpd.h
- fix the (x)html output of mod_autoindex to be consistent
  and make it configurable to emit either HTML or XHTML

PR: 23747

Revision 101556 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 16:20:28 2003 UTC (6 years, 1 month ago) by striker
File length: 61326 byte(s)
Diff to previous 101014 (colored)
Fold in the CAN-2003-0542 regex patch.

Revision 101014 - (view) (annotate) - [select for diffs]
Modified Tue Aug 19 12:00:13 2003 UTC (6 years, 3 months ago) by nd
File length: 61222 byte(s)
Diff to previous 100279 (colored)
fix misleading ap_get_token description

Revision 100279 - (view) (annotate) - [select for diffs]
Modified Tue Jun 17 09:45:57 2003 UTC (6 years, 5 months ago) by gstein
File length: 61229 byte(s)
Diff to previous 99747 (colored)
Use 'expected' rather than 'exp', as the latter shadows the exp()
function in the math.h header. Some compilers don't like that.

Submitted by: Blair Zajac <blair@orcaware.com>
Reviewed by: rbb@rkbloom.net

Revision 99747 - (view) (annotate) - [select for diffs]
Modified Fri May 9 21:37:06 2003 UTC (6 years, 6 months ago) by martin
File length: 61209 byte(s)
Diff to previous 98912 (colored)
Porting to BS2000: the antique interface (BS2000Account) no longer exists

Revision 98912 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 23:53:52 2003 UTC (6 years, 8 months ago) by nd
File length: 61280 byte(s)
Diff to previous 98903 (colored)
Minor MMN bump:

Forward port: Escape special characters (especially control
characters) in mod_log_config to make a clear distinction between
client-supplied strings (with special characters) and server-side
strings. This was already introduced in version 1.3.25.

Obtained from: Patch in 1.3.25-dev by Martin

Revision 98903 - (view) (annotate) - [select for diffs]
Modified Thu Mar 6 17:56:05 2003 UTC (6 years, 8 months ago) by striker
File length: 61069 byte(s)
Diff to previous 98573 (colored)
* include/http_config.h

  (ap_get_module_config, ap_set_module_config): Always declare.


* include/httpd.h

  (ap_strchr, ap_strchr_c, ap_strrchr, ap_strrchr_c, ap_strstr, ap_strstr_c):
    Always declare.


* server/util_debug.c

  (ap_get_module_config, ap_set_module_config, ap_strchr, ap_strchr_c,
   ap_strrchr, ap_strrchr_c, ap_strstr, ap_strstr_c):
    Always implement and export.

Revision 98573 - (view) (annotate) - [select for diffs]
Modified Mon Feb 3 17:53:28 2003 UTC (6 years, 9 months ago) by nd
File length: 61069 byte(s)
Diff to previous 98479 (colored)
finished that boring job:
update license to 2003.

Happy New Year! ;-))

Revision 98479 - (view) (annotate) - [select for diffs]
Modified Thu Jan 23 21:34:13 2003 UTC (6 years, 10 months ago) by coar
File length: 61069 byte(s)
Diff to previous 98320 (colored)
	here we go.  add a directive that will keep %2f from being
	decoded into '/', allowing the *_walk to do their magic and
	return 404 if it's in the path, and allowing it in the path-info.

Revision 98320 - (view) (annotate) - [select for diffs]
Modified Sat Jan 18 03:37:55 2003 UTC (6 years, 10 months ago) by nd
File length: 60880 byte(s)
Diff to previous 97462 (colored)
move rfc1413 code to a new module "metadata:mod_ident".
The rfc1413 code itself is mostly c&p, but can still bear
some rework ...

This patch removes the global ap_rfc1413 function and the
ap_rfc1413_timeout variable. It also introduces a new config
directive IdentityCheckTimeout (default 30 sec).

Reviewed by: Justin Erenkrantz

Revision 97462 - (view) (annotate) - [select for diffs]
Modified Fri Nov 8 17:19:10 2002 UTC (7 years ago) by gregames
File length: 60995 byte(s)
Diff to previous 97179 (colored)
use a subpool of c->pool for resources which are set aside, then clear it
after writing the data to the network.  This closes files sooner with
keepalive connections.

Revision 97179 - (view) (annotate) - [select for diffs]
Modified Fri Oct 11 15:29:22 2002 UTC (7 years, 1 month ago) by rbb
File length: 61015 byte(s)
Diff to previous 95928 (colored)
Fix a compile of compiler warnings.  I don't know how these slipped past.
Also, uncomment a line of code that the last commit should have uncommented.
Randall found this line and the fix, but I forgot to uncomment this line
along with the fix.

Revision 95928 - (view) (annotate) - [select for diffs]
Modified Mon Jul 1 17:49:53 2002 UTC (7 years, 4 months ago) by wrowe
File length: 60968 byte(s)
Diff to previous 95891 (colored)
  Bring in os.h after we let apr do its platform foo.

Revision 95891 - (view) (annotate) - [select for diffs]
Modified Wed Jun 26 19:45:07 2002 UTC (7 years, 5 months ago) by jerenkrantz
File length: 60967 byte(s)
Diff to previous 95867 (colored)
Change conn_rec->keepalive to an enumerated value of

AP_CONN_UNKNOWN
AP_CONN_CLOSE
AP_CONN_KEEPALIVE

This also fixes a problem where ap_discard_request_body would not discard
the body when keepalive was 0.  This actually meant the keepalive status
was unknown *not* closed, but no one ever remembered that.

This problem was seen with mod_dav sending error responses (as reported by
Karl Fogel).

Suggested by:	Greg "this isn't the '80s" Stein
Reviewed by:	Greg Ames

Revision 95867 - (view) (annotate) - [select for diffs]
Modified Sun Jun 23 09:01:22 2002 UTC (7 years, 5 months ago) by brianp
File length: 60873 byte(s)
Diff to previous 95700 (colored)
Removed "tolower(++s)" idiom from ap_strcasestr(), to avoid side-effects
on any platform with a macro-based tolower() that references its argument
multiple times.

Revision 95700 - (view) (annotate) - [select for diffs]
Modified Sat Jun 15 19:19:42 2002 UTC (7 years, 5 months ago) by aaron
File length: 60818 byte(s)
Diff to previous 95623 (colored)
Improve on some of the documentary comments in the request_rec.

Revision 95623 - (view) (annotate) - [select for diffs]
Modified Wed Jun 12 23:59:31 2002 UTC (7 years, 5 months ago) by wrowe
File length: 60608 byte(s)
Diff to previous 95390 (colored)
  Solve the 80/20 by initializing and storing server_rec->timeout and
  server_rec->keep_alive_timeout in apr_time_interval_t format (in apr
  units, whatever they be), as both values exist to pass into APR, and
  all APR timeouts are in apr_time_t.

Reviewed by:	Cliff Woolley

Revision 95390 - (view) (annotate) - [select for diffs]
Modified Thu May 30 07:04:45 2002 UTC (7 years, 5 months ago) by jerenkrantz
File length: 60557 byte(s)
Diff to previous 94942 (colored)
Add a PROXYREQ_RESPONSE value for request_rec->proxyreq because it is
possible that there can be different behavior at the protocol level if
request_rec isn't really a request but a response.

This stems from the fact that request bodies must be indicated by
Content-Length or Transfer-Encoding, but response bodies do not.  The
recent change to ap_http_filter to return EOS if there isn't a body broke
proxy.  Therefore, there must be some way for the proxy to indicate that
this is a response.  Accordingly, ap_http_filter can allow the BODY_NONE
iff this is a response.

Since r->proxyreq is set to PROXYREQ_PROXY even for the original request
from the client, that value isn't sufficient.  Hence, the introduction of
PROXYREQ_RESPONSE.

Revision 94942 - (view) (annotate) - [select for diffs]
Modified Mon May 6 07:43:40 2002 UTC (7 years, 6 months ago) by jerenkrantz
File length: 60462 byte(s)
Diff to previous 94304 (colored)
Rewrite ap_byterange_filter so that it can work with data that does not
have a predetermined C-L - such as data that passes through mod_include.
Previously, these requests would generate 416 since when the byterange
filter ran, r->clength would be 0.  r->clength is only guaranteed to
be valid after C-L filter is run, but we need C-L to run after us so
that our data can have a proper C-L returned.  So, we need to rearrange
the code so that we can deal with this case.

Highlights:
- Remove r->boundary since it is possible to have this self-contained in
  boundary's ctx.  (May require MMN bump?)
- Remove call to parse_byteranges in ap_set_byterange since this would
  wrongly return -1 for dynamic responses.  We have to wait until we
  see EOS to call parse_byteranges.
- Move bound_head computation inside the num_parts == 2 check.
- Change a NULL brigade check to APR_BRIGADE_EMPTY
- Move the 416 error return to after we've run through all ranges and
  found none of them to be valid.

Revision 94304 - (view) (annotate) - [select for diffs]
Modified Fri Mar 29 08:17:26 2002 UTC (7 years, 8 months ago) by jwoolley
File length: 60529 byte(s)
Diff to previous 94015 (colored)
BUCKET FREELISTS

Add an allocator-passing mechanism throughout the bucket brigades API.

From Apache's standpoint, the apr_bucket_alloc_t* used throughout a given
connection is stored in the conn_rec by the create_connection hook.  That
means it's the MPM's job to optimize recycling of apr_bucket_alloc_t's --
the MPM must ensure that no two threads can ever use the same one at the
same time, for instance.

Revision 94015 - (view) (annotate) - [select for diffs]
Modified Tue Mar 19 10:11:33 2002 UTC (7 years, 8 months ago) by gstein
File length: 60412 byte(s)
Diff to previous 93918 (colored)
The underlying change here was to add the new WebDAV/DeltaV methods
now that it has an RFC. At the same time, I revamped a good chunk of
the name <-> number mapping code in http_protocol.c

* add M_FOO constants for the new RFC 3253 (DeltaV) methods. label
  where each of the builtin methods comes from.

* moved METHOD_NUMBER_FIRST/LAST from http_protocol.h into
  http_protocol.c since they weren't used anywhere else and they
  weren't namespace-protected.

* create register_one_method() and use it to insert all builtin
  methods (at _init() time) and extended methods into the registry.

* add a lookup_builtin_method() to quickly map a method name to a
  builtin method number.

* rebuild ap_method_number_of() to use the new lookup function.

* revamp ap_method_name_of() to use the registry to locate the name
  for any method number. add a pool argument (no callers in the core
  code needed to be updated)

* revamp make_allow() to deal with the new method numbers and all
  extended methods.

* in mod_dav, use the new method numbers rather than registering the
  DeltaV methods.

Revision 93918 - (view) (annotate) - [select for diffs]
Modified Wed Mar 13 20:48:07 2002 UTC (7 years, 8 months ago) by fielding
File length: 59515 byte(s)
Diff to previous 93682 (colored)
Update our copyright for this year.

Revision 93682 - (view) (annotate) - [select for diffs]
Modified Sun Mar 3 02:15:52 2002 UTC (7 years, 8 months ago) by rbb
File length: 59515 byte(s)
Diff to previous 93524 (colored)
Fix the mod_dir/mod_negotiation bug, where redirects and sub requests
were not getting the correct filters.  This is done by creating a location
in the request rec that holds protocol level filters.  Protocol level
filters survive for one request, from the time the request is received
from the user to the time the response is sent.  r->output_filters now
stores the request level filters, which are only valid for the lifetime
of one request_rec.

This patch works, but it is not complete.  The second half of the problem
is that add_any_filter doesn't check where it puts the filters that it
adds, so it is possible for filters to be put on this wrong list, and
for filters to be lost completely during request processing.  That half
of the fix will be coming in the next day or so.

Submitted by:	Will Rowe, Justin Erenkrantz, Ryan Bloom

Revision 93524 - (view) (annotate) - [select for diffs]
Modified Thu Feb 21 02:19:39 2002 UTC (7 years, 9 months ago) by wrowe
File length: 59249 byte(s)
Diff to previous 93366 (colored)
  Fix the close-on-sendfile bug where Win32 would transmit a single
  sendfile bucket and then lose it's socket, and fix a comment.

Submitted by:  Ryan Morgan <rmorgan@covalent.net>

Revision 93366 - (view) (annotate) - [select for diffs]
Modified Mon Feb 11 23:20:16 2002 UTC (7 years, 9 months ago) by gregames
File length: 59236 byte(s)
Diff to previous 93087 (colored)
if a child detects a resource shortage on accept(), limit the rate of fork()s
to 1 per second until the situation clears up.

Inspired by: Martin Kraemer

Revision 93087 - (view) (annotate) - [select for diffs]
Modified Tue Jan 29 19:02:04 2002 UTC (7 years, 9 months ago) by stoddard
File length: 59053 byte(s)
Diff to previous 93050 (colored)
This patch restores most of Ryan's patch (11/12/2001) to remove the
client_socket from the conn_rec.  Diffs from Ryan's patch include:

- rename the create_connection hook to install_transport_filters
- move the point of invocation of the hook till after the call to
  after ap_update_vhost_given_ip to enable the hook to use vhost
  config info in its decision making.

Revision 93050 - (view) (annotate) - [select for diffs]
Modified Sun Jan 27 12:52:08 2002 UTC (7 years, 10 months ago) by stoddard
File length: 58895 byte(s)
Diff to previous 92512 (colored)
Remove the create_connection hook and put the client_socket back into the
conn_rec. The create_connection_hook has a design flaw that prevents it
from making decisions based on vhost information.

Revision 92512 - (view) (annotate) - [select for diffs]
Modified Tue Dec 18 13:48:54 2001 UTC (7 years, 11 months ago) by trawick
File length: 59054 byte(s)
Diff to previous 92459 (colored)
Change core code to allow an MPM to set hard thread/server
limits at startup.

Revision 92459 - (view) (annotate) - [select for diffs]
Modified Thu Dec 13 19:13:23 2001 UTC (7 years, 11 months ago) by wrowe
File length: 58975 byte(s)
Diff to previous 92442 (colored)
  As suggested by Josh Slive, add the explicit 'default' to AcceptPathInfo.
  I'll leave docs up to him.  The conf becomes a quadstate (undef != default)
  but other than that, it should make things cleaner for the user.

Revision 92442 - (view) (annotate) - [select for diffs]
Modified Thu Dec 13 02:40:34 2001 UTC (7 years, 11 months ago) by wrowe
File length: 58381 byte(s)
Diff to previous 92270 (colored)
  Give the request_rec some information about path_info allowance.
  If some unnamed filter will consume the path_info, it may set up
  used_path_info to a non-zero value, and core.c will consume the
  request with path_info.

Revision 92270 - (view) (annotate) - [select for diffs]
Modified Sat Dec 1 02:09:00 2001 UTC (7 years, 11 months ago) by trawick
File length: 58127 byte(s)
Diff to previous 92073 (colored)
use our standard declaration macro for the AP_DEBUG flavors of
ap_strchr(), ap_strchr_c(), et al so that for an AP_DEBUG build
of Apache those functions will be listed in httpd.exp...  otherwise,
AIX DSO modules also compiled with AP_DEBUG won't be able to resolve
those symbols since httpd isn't exporting them

Revision 92073 - (view) (annotate) - [select for diffs]
Modified Wed Nov 21 03:46:22 2001 UTC (8 years ago) by rbb
File length: 58049 byte(s)
Diff to previous 91887 (colored)
Fix the timeout logic that I broke last week.  This adds a request
level filter that sets the timeout on the socket that is connected
to the client.

Thanks Greg Stein for seeing this bug.

Revision 91887 - (view) (annotate) - [select for diffs]
Modified Mon Nov 12 23:49:08 2001 UTC (8 years ago) by rbb
File length: 58069 byte(s)
Diff to previous 91647 (colored)
Begin to abstract out the underlying transport layer.
The first step is to remove the socket from the conn_rec,
the server now lives in a context that is passed to the
core's input and output filters. This forces us to be very
careful when adding calls that use the socket directly,
because the socket isn't available in most locations.

Revision 91647 - (view) (annotate) - [select for diffs]
Modified Tue Oct 23 17:26:57 2001 UTC (8 years, 1 month ago) by gregames
File length: 57513 byte(s)
Diff to previous 91244 (colored)
adjust for the change to SuExec's default install directory

Revision 91244 - (view) (annotate) - [select for diffs]
Modified Tue Oct 2 21:13:42 2001 UTC (8 years, 1 month ago) by wrowe
File length: 57514 byte(s)
Diff to previous 91229 (colored)
  Goodbye r->content_lanaguage (per vote from apache-1.3/STATUS).

Revision 91229 - (view) (annotate) - [select for diffs]
Modified Tue Oct 2 04:09:53 2001 UTC (8 years, 1 month ago) by ianh
File length: 57612 byte(s)
Diff to previous 91030 (colored)
Added Doxygen Comments
With these 2 changes most of the Doxygen warnings go away.
(these patch just modifies comments/slight moves in typedefs, no other changes)

Revision 91030 - (view) (annotate) - [select for diffs]
Modified Fri Sep 14 23:30:41 2001 UTC (8 years, 2 months ago) by bnicholes
File length: 55806 byte(s)
Diff to previous 90711 (colored)
Added the HTTPD_ROOT path for NetWare

Revision 90711 - (view) (annotate) - [select for diffs]
Modified Mon Aug 27 02:57:54 2001 UTC (8 years, 3 months ago) by wrowe
File length: 55719 byte(s)
Diff to previous 90585 (colored)
  I think this statement makes more sense, please ask if it isn't clear.

Revision 90585 - (view) (annotate) - [select for diffs]
Modified Thu Aug 23 21:03:44 2001 UTC (8 years, 3 months ago) by wrowe
File length: 55717 byte(s)
Diff to previous 90567 (colored)
  Add a canonical_filename value (should remain the r->filename identity)
  so we can tell if a 3rd party module broke the canonical form of the
  filename by not calling apr_filepath_merge().

Revision 90567 - (view) (annotate) - [select for diffs]
Modified Thu Aug 23 19:08:20 2001 UTC (8 years, 3 months ago) by wrowe
File length: 55610 byte(s)
Diff to previous 90361 (colored)
  Eliminated ap_os_[systemcase|[case_]canonical]_filename() and
  move ap_os_is_path_absolute() into util.c (now relies on apr.)

Revision 90361 - (view) (annotate) - [select for diffs]
Modified Sun Aug 19 16:01:05 2001 UTC (8 years, 3 months ago) by dougm
File length: 54992 byte(s)
Diff to previous 90235 (colored)
adjust to apr_uri_ rename

Revision 90235 - (view) (annotate) - [select for diffs]
Modified Thu Aug 16 18:07:06 2001 UTC (8 years, 3 months ago) by trawick
File length: 55001 byte(s)
Diff to previous 90173 (colored)
the 2nd parm to strstr() doesn't lose const-ness, unlike the 1st parm;
thus, AP_DEBUG flavor of strstr() should declare 2nd parm as const char *,
not char *;

this eliminates a warning in mod_ssl-land

Revision 90173 - (view) (annotate) - [select for diffs]
Modified Wed Aug 15 21:11:59 2001 UTC (8 years, 3 months ago) by trawick
File length: 54995 byte(s)
Diff to previous 90090 (colored)
fix some homophonic issues in comments, as well as some
mispelings found near "its" or "it's"

(helping our 4th grader with homework, couldn't help but
grep)

Revision 90090 - (view) (annotate) - [select for diffs]
Modified Sat Aug 11 04:04:13 2001 UTC (8 years, 3 months ago) by rbb
File length: 54996 byte(s)
Diff to previous 89869 (colored)
Fix the new method code.  We need to cast 1 to an apr_int64_t or it will
be treated as a 32-bit integer, and it will wrap after being shifted
32 times.
Submitted by:	Cody Sherr <csherr@covalent.net> and
		Ryan Morgan <rmorgan@covalent.net>

Revision 89869 - (view) (annotate) - [select for diffs]
Modified Thu Aug 2 04:25:20 2001 UTC (8 years, 3 months ago) by rbb
File length: 54890 byte(s)
Diff to previous 89727 (colored)
Add the ability to extend the methods that Apache understands
and have those methods <limit>able in the httpd.conf. It uses
the same bit mask/shifted offset as the original HTTP methods
such as M_GET or M_POST, but expands the total bits from an int to
an ap_int64_t to handle more bits for new request methods than
an int provides.
Submitted by:	Cody Sherr <csherr@covalent.net>

Revision 89727 - (view) (annotate) - [select for diffs]
Modified Thu Jul 26 15:53:15 2001 UTC (8 years, 4 months ago) by wrowe
File length: 54786 byte(s)
Diff to previous 89719 (colored)
  Change the length of the content args to apr_off_t identifiers, and fix
  mod_negotation to treat a size of -1 and indeterminate, instead of 0.

Revision 89719 - (view) (annotate) - [select for diffs]
Modified Wed Jul 25 22:38:21 2001 UTC (8 years, 4 months ago) by wrowe
File length: 54771 byte(s)
Diff to previous 89714 (colored)
  Cliff's most sane advise :-)

Revision 89714 - (view) (annotate) - [select for diffs]
Modified Wed Jul 25 21:41:44 2001 UTC (8 years, 4 months ago) by wrowe
File length: 54770 byte(s)
Diff to previous 89282 (colored)
  This same patch is needed in mod_asis and others, I'm testing the waters
  for this solution.  I'm easily convinced to choose AP_MAX_SENDFILE based
  on any reasonable argument, provided it's smaller than 2^30 :-)

Revision 89282 - (view) (annotate) - [select for diffs]
Modified Thu Jun 7 00:09:16 2001 UTC (8 years, 5 months ago) by rbb
File length: 54455 byte(s)
Diff to previous 89261 (colored)
First pass at the pipe_of_death logic for the prefork MPM.  This does
pass some initial testing, but it needs to be banged on more.  It looks
like if the server gets a lot of requests to restart all at once, there
are potential problems, but other than that this does seem to solve our
current restart issues.

Revision 89261 - (view) (annotate) - [select for diffs]
Modified Sun Jun 3 11:59:18 2001 UTC (8 years, 5 months ago) by ben
File length: 54408 byte(s)
Diff to previous 89198 (colored)
Doxygenation.

Revision 89198 - (view) (annotate) - [select for diffs]
Modified Tue May 22 01:31:12 2001 UTC (8 years, 6 months ago) by fielding
File length: 54351 byte(s)
Diff to previous 88938 (colored)
Moved util_uri to apr-util/uri/apr_uri, which means adding the apr_
prefix to all of the uri functions (yuck), changing some includes,
and using APR error codes instead of HTTP-specific error codes.

Other notes to test this patch:
- You need to delete the util_uri.h file - exports picks up on this.
- I'd like to remove the apr_uri.h from httpd.h, but that might
  increase the complexity of this patch even further.  Once this patch
  is accepted (in some form), then I can focus on removing apr_uri.h
  from httpd.h entirely.  I need baby steps (heh) right now.
- I imagine that this might break a bunch of stuff in Win32 or other OS
  builds with foreign dependency files.  Any help here is appreciated.

This is a start...  -- justin

Submitted by:	Justin Erenkrantz
Reviewed by:	Roy Fielding

Revision 88938 - (view) (annotate) - [select for diffs]
Modified Thu Apr 26 00:33:14 2001 UTC (8 years, 7 months ago) by fielding
File length: 54348 byte(s)
Diff to previous 88912 (colored)
Removed the keptalive boolean from conn_rec because it is now only
used by a single routine and can be replaced by a local variable.

Submitted by:	Greg Stein, Ryan Bloom, Roy Fielding

Revision 88912 - (view) (annotate) - [select for diffs]
Modified Sun Apr 22 22:19:32 2001 UTC (8 years, 7 months ago) by rbb
File length: 54369 byte(s)
Diff to previous 88908 (colored)
At the hack-athon we decided to change the way that input filters
determine how much data is returned to the previous filter.  Prior to this
change, we used a field in the conn_rec to determine how much to return.
After this change, we use an argument to ap_get_brigade.  This makes it
much more obvious how things work at all levels, so that module authors
can easily determine how much data is supposed to be returned to them.

Revision 88908 - (view) (annotate) - [select for diffs]
Modified Sat Apr 21 12:23:37 2001 UTC (8 years, 7 months ago) by fielding
File length: 54458 byte(s)
Diff to previous 88881 (colored)
Revert the change that moved keepalives out of conn_rec.  That variable
controls the number of requests per connection, regardless of the protocol
used by the request.

Revision 88881 - (view) (annotate) - [select for diffs]
Modified Wed Apr 18 03:53:34 2001 UTC (8 years, 7 months ago) by rbb
File length: 54330 byte(s)
Diff to previous 88872 (colored)
Move the keepalives field out of the conn_rec and into an HTTP specific
connection record.  This also moves some HTTP specific back out of the
core and into the HTTP module.

Revision 88872 - (view) (annotate) - [select for diffs]
Modified Mon Apr 16 20:33:16 2001 UTC (8 years, 7 months ago) by dreid
File length: 54458 byte(s)
Diff to previous 88676 (colored)
Silly typo.

Revision 88676 - (view) (annotate) - [select for diffs]
Modified Tue Apr 3 01:40:28 2001 UTC (8 years, 7 months ago) by wrowe
File length: 54458 byte(s)
Diff to previous 88568 (colored)
  Whoops... this could be causing problems

Revision 88568 - (view) (annotate) - [select for diffs]
Modified Sat Mar 24 06:43:19 2001 UTC (8 years, 8 months ago) by bjh
File length: 54298 byte(s)
Diff to previous 88527 (colored)
Tweak some declarations so they're picked up by make_export.awk

Revision 88527 - (view) (annotate) - [select for diffs]
Modified Fri Mar 16 07:28:08 2001 UTC (8 years, 8 months ago) by chuck
File length: 54305 byte(s)
Diff to previous 88494 (colored)
This is a fix that went into v1.3 quite a while back, but not into v2.0.
It sorts out the problem when a password protected reverse proxy URL
sends a Proxy-Authenticate to a browser instead of a WWW-Authenticate.

This patch covers the changes to the httpd-2.0 tree.

Submitted by:	Graham Leggett
Reviewed by:	Chuck Murcko

Revision 88494 - (view) (annotate) - [select for diffs]
Modified Sun Mar 11 23:24:56 2001 UTC (8 years, 8 months ago) by ben
File length: 53859 byte(s)
Diff to previous 88490 (colored)
More doxygenation.

Revision 88490 - (view) (annotate) - [select for diffs]
Modified Sun Mar 11 14:54:13 2001 UTC (8 years, 8 months ago) by ben
File length: 53859 byte(s)
Diff to previous 88322 (colored)
First step in doxygen conversion.

Revision 88322 - (view) (annotate) - [select for diffs]
Modified Sun Feb 25 17:09:04 2001 UTC (8 years, 9 months ago) by rbb
File length: 57079 byte(s)
Diff to previous 88282 (colored)
Fix a compile break on OS/2, by adding apr_general.h back to httpd.h.
Submitted by:	Brian Havard <brianh@kheldar.apana.org.au>

Revision 88282 - (view) (annotate) - [select for diffs]
Modified Fri Feb 23 00:50:24 2001 UTC (8 years, 9 months ago) by rbb
File length: 57054 byte(s)
Diff to previous 88225 (colored)
Namespace protect IOBUFSIZ since it is a public symbol.
Submitted by:	Jon Travis <jtravis@covalent.net>

Revision 88225 - (view) (annotate) - [select for diffs]
Modified Sun Feb 18 02:58:53 2001 UTC (8 years, 9 months ago) by gstein
File length: 57051 byte(s)
Diff to previous 88184 (colored)
*) Introduce "ap_conf_vector_t" type to assist with legibility and provide
   some type safety. (unfortunately, our old "void*" is type-safe with the
   new one, but over time we should be better)

*) Propagate the new type to all appropriate functions.

*) Random cleaning, whitespace, stylistic nits.

Revision 88184 - (view) (annotate) - [select for diffs]
Modified Fri Feb 16 04:26:53 2001 UTC (8 years, 9 months ago) by fielding
File length: 56937 byte(s)
Diff to previous 88113 (colored)
Update copyright to 2001

Revision 88113 - (view) (annotate) - [select for diffs]
Modified Mon Feb 12 15:44:36 2001 UTC (8 years, 9 months ago) by trawick
File length: 56932 byte(s)
Diff to previous 88103 (colored)
string.h needs to be included before monkeying around with strchr et al,
since some system header files do their own monkeying around with those
functions in ways that don't get along with us unless we include their
definitions first

examples: gcc 2.8.1 on Solaris
          gcc 2.95.2 on AIX

Revision 88103 - (view) (annotate) - [select for diffs]
Modified Mon Feb 12 02:49:56 2001 UTC (8 years, 9 months ago) by gstein
File length: 56745 byte(s)
Diff to previous 87981 (colored)
*) remove some obsolete/unused defines from httpd.h.
*) remove DEFAULT_XFERLOG from main.c; it is never set/used
*) move ap_get_max_daemons() to ap_mpm.h
*) move DEFAULT_LISTENBACKLOG to mpm_common.h

Revision 87981 - (view) (annotate) - [select for diffs]
Modified Mon Feb 5 12:55:11 2001 UTC (8 years, 9 months ago) by trawick
File length: 58718 byte(s)
Diff to previous 87975 (colored)
I hereby propose that the ASF buy that guy a compiler.

Revision 87975 - (view) (annotate) - [select for diffs]
Modified Mon Feb 5 01:12:47 2001 UTC (8 years, 9 months ago) by rbb
File length: 58715 byte(s)
Diff to previous 87973 (colored)
Move the APACHE_RELEASE macro to release.h

Revision 87973 - (view) (annotate) - [select for diffs]
Modified Mon Feb 5 01:02:27 2001 UTC (8 years, 9 months ago) by rbb
File length: 58969 byte(s)
Diff to previous 87755 (colored)
Move the server version information out of httpd.h and into release.h.
This is in preparation of the first tag with the new tag and release
strategy.

Revision 87755 - (view) (annotate) - [select for diffs]
Modified Sat Jan 20 06:05:15 2001 UTC (8 years, 10 months ago) by rbb
File length: 59217 byte(s)
Diff to previous 87754 (colored)
Move initgroupgs, ap_uname2id and ap_gname2id from util.c to
mpm_common.c.  These functions are only valid on some platforms,
so they should not be in the main-line code.

These functions are also not portable to non-unix platforms, so they don't
really belong in APR.  Since they are only used in MPMs, for right now,
I am moving them to mpm_common.c

Revision 87754 - (view) (annotate) - [select for diffs]
Modified Sat Jan 20 05:18:06 2001 UTC (8 years, 10 months ago) by rbb
File length: 59672 byte(s)
Diff to previous 87593 (colored)
Remove ap_chdir_file.  This function is not thread-safe, and nobody
is currently using it.  The proper way to do this, is to use the
apr_create_process API.

Revision 87593 - (view) (annotate) - [select for diffs]
Modified Fri Jan 5 20:44:44 2001 UTC (8 years, 10 months ago) by ake
File length: 59919 byte(s)
Diff to previous 87460 (colored)
add pool parameter to ap_is_directory and ap_is_rdirectory

Revision 87460 - (view) (annotate) - [select for diffs]
Modified Wed Dec 20 16:44:01 2000 UTC (8 years, 11 months ago) by trawick
File length: 59777 byte(s)
Diff to previous 87424 (colored)
Switch to the APR-provided APR_CHARSET_EBCDIC feature test macro.

Revision 87424 - (view) (annotate) - [select for diffs]
Modified Tue Dec 19 17:05:48 2000 UTC (8 years, 11 months ago) by rbb
File length: 59777 byte(s)
Diff to previous 87363 (colored)
Force all Apache functions to be linked into the executable, whether they
are used or not.  This uses the same mechanism that is used for APR
and APR-util.  This may not be the correct solution, but it works, and that
is what I really care about.  This also renames CHARSET_EBCDIC to
AP_CHARSET_EBCDIC.  This is for namespace correctness, but it also makes
the exports script a bit easier.

Revision 87363 - (view) (annotate) - [select for diffs]
Modified Fri Dec 15 19:20:12 2000 UTC (8 years, 11 months ago) by trawick
File length: 59768 byte(s)
Diff to previous 87354 (colored)
move closer to IPv6 support by changing the server_addr_rec
representation of the bound address to something which handles
IPv6; this also allows us to switch to APR resolver routines
in places instead of calling gethostbyname() and gethostbyaddr()
directly

Issues remaining with this set of changes:

1) apr_snprintf()'s %pA formatting needs to change to take
   apr_sockaddr_t * instead of sockaddr_in * -OR- just get rid
   of that type of formatting
2) apr_get_inaddr() is no longer used and should be removed

Revision 87354 - (view) (annotate) - [select for diffs]
Modified Fri Dec 15 13:28:57 2000 UTC (8 years, 11 months ago) by trawick
File length: 59766 byte(s)
Diff to previous 87342 (colored)
Axe ap_get_virthost_addr().  This <address>[:port] parse routine
is not used anymore and it doesn't handle IPv6, so it is best to
drop it.  If/when mod_tls (Netware) is ported to 2.0 it can use
apr_parse_addr_port().

Revision 87342 - (view) (annotate) - [select for diffs]
Modified Thu Dec 14 18:47:30 2000 UTC (8 years, 11 months ago) by trawick
File length: 60141 byte(s)
Diff to previous 87315 (colored)
The local_addr and remote_addr fields in the conn_rec are now
apr_sockaddr_t * instead of sockaddr_in.  This is a small step
towards IPv6 support.

Revision 87315 - (view) (annotate) - [select for diffs]
Modified Tue Dec 12 22:22:51 2000 UTC (8 years, 11 months ago) by rbb
File length: 60204 byte(s)
Diff to previous 87311 (colored)
Get the server setup for Beta 1

Revision 87311 - (view) (annotate) - [select for diffs]
Modified Tue Dec 12 21:38:54 2000 UTC (8 years, 11 months ago) by rbb
File length: 60200 byte(s)
Diff to previous 87155 (colored)
Update the version numbers for a9

Revision 87155 - (view) (annotate) - [select for diffs]
Modified Sat Dec 2 13:07:45 2000 UTC (8 years, 11 months ago) by dreid
File length: 60204 byte(s)
Diff to previous 87130 (colored)
Fix a couple of small typo's

Not raining today...

Revision 87130 - (view) (annotate) - [select for diffs]
Modified Wed Nov 29 17:33:03 2000 UTC (8 years, 11 months ago) by gstein
File length: 60204 byte(s)
Diff to previous 87080 (colored)
Use "const char * const *" for process->argv (which is the correct
const-ness since we sometimes put "some string" in there, and also the CRT's
argv). propagate this change within http_main and mpm/winnt/ (also correct
some other const type usage within the MPM).

fix ab's call to parse_url() which removed a const to actually manipulate an
arg from the CRT's argv (indirectly via opt->arg). no idea how this has
avoided segfaulting.

Revision 87080 - (view) (annotate) - [select for diffs]
Modified Sun Nov 26 04:47:43 2000 UTC (9 years ago) by gstein
File length: 60197 byte(s)
Diff to previous 87048 (colored)
*) Compensate for recent changes in the APR headers. Specifically, some
   files need to specifically include stdio.h, or a particular apr_*.h
   header.

*) Adjust callers of apr_create_process() to deal with the extra "const"

*) Add "const" to args of ap_os_create_privileged_process()

Revision 87048 - (view) (annotate) - [select for diffs]
Modified Tue Nov 21 16:53:33 2000 UTC (9 years ago) by rbb
File length: 60194 byte(s)
Diff to previous 87037 (colored)
We are working on a9 now.

Revision 87037 - (view) (annotate) - [select for diffs]
Modified Mon Nov 20 20:10:50 2000 UTC (9 years ago) by rbb
File length: 60190 byte(s)
Diff to previous 86895 (colored)
Get the version number bumped to 2.0a8

Revision 86895 - (view) (annotate) - [select for diffs]
Modified Fri Nov 10 00:58:25 2000 UTC (9 years ago) by dreid
File length: 60194 byte(s)
Diff to previous 86878 (colored)
Bring the apr_in_addr type into line with naming conventions and make changes
where appropriate.  At least on my system virtual hosts seem to still work :)

Revision 86878 - (view) (annotate) - [select for diffs]
Modified Thu Nov 9 00:37:06 2000 UTC (9 years ago) by rbb
File length: 60192 byte(s)
Diff to previous 86866 (colored)
Remove BUFF from the main server.  :-)  The buff code needs to remain as
a part of the server until the proxy is purged of BUFF however.

Revision 86866 - (view) (annotate) - [select for diffs]
Modified Wed Nov 8 11:35:38 2000 UTC (9 years ago) by dreid
File length: 60228 byte(s)
Diff to previous 86865 (colored)
Start of moving to apr_port_t in the server code.  This will probably the first
of a few...

Revision 86865 - (view) (annotate) - [select for diffs]
Modified Wed Nov 8 11:22:07 2000 UTC (9 years ago) by gstein
File length: 60238 byte(s)
Diff to previous 86860 (colored)
fix the byterange filter.

there is still some bogosity in there (huge buffer allocs!), and some
optimizations to be made, but this appears to fix byterange handling.

Revision 86860 - (view) (annotate) - [select for diffs]
Modified Tue Nov 7 22:41:09 2000 UTC (9 years ago) by gstein
File length: 60284 byte(s)
Diff to previous 86827 (colored)
Use apr_off_t for the content length, rather than long. Propagate through
the byterange handling and ap_set_content_length().

[ ap_each_byterange() remains as an apr_size_t* so we don't mess up callers ]

Revision 86827 - (view) (annotate) - [select for diffs]
Modified Fri Nov 3 17:34:59 2000 UTC (9 years ago) by sascha
File length: 60279 byte(s)
Diff to previous 86788 (colored)
Remove REQUEST_CHUNKED_PASS and change ap_discard_request_body()
to use REQUEST_CHUNKED_DECHUNK.

Because of this change, the need for handle_request_body() is gone,
so we remove that as well.

Revision 86788 - (view) (annotate) - [select for diffs]
Modified Wed Nov 1 18:10:15 2000 UTC (9 years ago) by sascha
File length: 60384 byte(s)
Diff to previous 86753 (colored)
Comment fixes.. just to get them out of my tree

Revision 86753 - (view) (annotate) - [select for diffs]
Modified Thu Oct 26 11:34:04 2000 UTC (9 years, 1 month ago) by trawick
File length: 60370 byte(s)
Diff to previous 86712 (colored)
Get rid of some outdated character set translation cruft.

Revision 86712 - (view) (annotate) - [select for diffs]
Modified Mon Oct 23 15:30:57 2000 UTC (9 years, 1 month ago) by manoj
File length: 60874 byte(s)
Diff to previous 86668 (colored)
Add back suexec support.

Revision 86668 - (view) (annotate) - [select for diffs]
Modified Thu Oct 19 10:43:03 2000 UTC (9 years, 1 month ago) by gstein
File length: 61030 byte(s)
Diff to previous 86651 (colored)
somebody was a Very Bad Boy when they inserted casts into this function.
casting away the const was absolutely wrong... the warnings were saying the
return value type needed to be fixed. did that and torched the casts.

who still thinks casts are a good idea? :-)

Revision 86651 - (view) (annotate) - [select for diffs]
Modified Wed Oct 18 19:12:16 2000 UTC (9 years, 1 month ago) by rbb
File length: 60978 byte(s)
Diff to previous 86621 (colored)
This begins to remove BUFF from the server.  The idea is to go very slowly
with this.  To begin with, we store both the socket and the BUFF in the
conn_rec.  Functions are free to use which ever they want, in the end all
of the data goes to the same place.  This modifies all of the MPMs except
Windows.  All of the Unix MPMs are working, but the others need to be
tested.

Revision 86621 - (view) (annotate) - [select for diffs]
Modified Tue Oct 17 01:04:33 2000 UTC (9 years, 1 month ago) by trawick
File length: 60945 byte(s)
Diff to previous 86612 (colored)
Capitalize AP_DEBUG_ASSERT().  All macros should shout, even
if their forbearers (e.g., ap_assert()) did not.
Submitted by:	Greg Stein

Revision 86612 - (view) (annotate) - [select for diffs]
Modified Mon Oct 16 18:00:49 2000 UTC (9 years, 1 month ago) by trawick
File length: 60945 byte(s)
Diff to previous 86609 (colored)
Get rid of some old code related to the way that character set translation
of protocol data and bodies was performed in the past.

Revision 86609 - (view) (annotate) - [select for diffs]
Modified Mon Oct 16 06:05:15 2000 UTC (9 years, 1 month ago) by wrowe
File length: 61118 byte(s)
Diff to previous 86586 (colored)
  Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
  for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
  and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
  All _VAR_ flavors changes to _DATA to be absolutely clear.
  Thank you Greg, for the most obvious suggestion.

Revision 86586 - (view) (annotate) - [select for diffs]
Modified Sat Oct 14 04:37:22 2000 UTC (9 years, 1 month ago) by rbb
File length: 61082 byte(s)
Diff to previous 86583 (colored)
Get non-chunked input body filtering working with an EOS bucket.  The
basic design has ap_setup_client_block setting a field in the conn_rec
which tells http_filter how much data is in the body (with chunking this
will represent how much data is in the chunk).  The ap_get_client_block
then calls down the stack with the maximum amount of data that it can
receive back.  When http_filter reads all of the data, it adds an eos
bucket to the end of the brigade.  ap_get_client_block continues to read
data until it gets the eos bucket.  This allows filters to increase the
size of the body data.

Revision 86583 - (view) (annotate) - [select for diffs]
Modified Fri Oct 13 18:39:18 2000 UTC (9 years, 1 month ago) by trawick
File length: 60987 byte(s)
Diff to previous 86571 (colored)
Introduce ap_debug_assert() macro, like ap_assert() but only active if
AP_DEBUG is defined.

ap_get_client_block():
. avoid some cases where we leak a temporary bucket brigade
. clean up/fix the logic to copy a brigade into the caller's buffer;
  the wrong length was used in some cases
. add an AP_DEBUG-only assertion for some assumptions made regarding
  the brigade returned by the filters

Submitted by:	partly by Greg Stein, but of course anything bad is mine

Revision 86571 - (view) (annotate) - [select for diffs]
Modified Thu Oct 12 19:45:56 2000 UTC (9 years, 1 month ago) by wrowe
File length: 60715 byte(s)
Diff to previous 86567 (colored)
  Modify ap_make_dirstr_prefix, platforms with HAVE_DRIVE_LETTERS or NETWARE
  can request 0 elements, returning the '/' root.
  [William Rowe, Tim Costello]  from 1.3, with documentation

Revision 86567 - (view) (annotate) - [select for diffs]
Modified Thu Oct 12 16:35:39 2000 UTC (9 years, 1 month ago) by rbb
File length: 60558 byte(s)
Diff to previous 86560 (colored)
Implement a length argument on input filters.  There are three possible
values for the length, -1, 0, and a positive number.  -1 means that the
next filter should return all the data it has, the current filter will
take care to ensure that the protocol is followed.  Most filters will
never use this, because it implies they are implementing a conn_based
input filter.  0 means give me exactly one line of data.  A positive
number means give me a maximum of n bytes.

Revision 86560 - (view) (annotate) - [select for diffs]
Modified Thu Oct 12 04:47:21 2000 UTC (9 years, 1 month ago) by rbb
File length: 60636 byte(s)
Diff to previous 86494 (colored)
We never actually store anything in input_data (from the conn_rec), so it
doesn't make much sense to check to see if there is something there.  This
removes the input_data brigade from the conn_rec altogether.  There is no
good reason for a filter to be accessing a bucket brigade from within the
conn_rec.  This shouldn't be here anymore, just like the output_filter
shouldn't be storing the data in the conn_rec.

Revision 86494 - (view) (annotate) - [select for diffs]
Modified Tue Oct 10 03:35:11 2000 UTC (9 years, 1 month ago) by rbb
File length: 60804 byte(s)
Diff to previous 86474 (colored)
Back out the change to move the core_output_filters brigade to the
conn_rec.  Since all requests on a given connection use the same
core_output_filter, the ctx in that filter has the correct lifetime

Revision 86474 - (view) (annotate) - [select for diffs]
Modified Mon Oct 9 14:15:32 2000 UTC (9 years, 1 month ago) by rbb
File length: 60963 byte(s)
Diff to previous 86464 (colored)
Update some docs httpd.h

Revision 86464 - (view) (annotate) - [select for diffs]
Modified Mon Oct 9 00:34:41 2000 UTC (9 years, 1 month ago) by rbb
File length: 60557 byte(s)
Diff to previous 86433 (colored)
Update the version for 2.0a8-dev

Revision 86433 - (view) (annotate) - [select for diffs]
Modified Sat Oct 7 18:10:02 2000 UTC (9 years, 1 month ago) by rbb
File length: 60553 byte(s)
Diff to previous 86426 (colored)
The core filter should not be using its own brigade inside its own ctx
structure.  This changes the core_output_filter to use a brigade inside
the conn_rec.  Think of this as analagous to the BUFF in the conn_rec.
The idea is that if we have pipelined requests, and it isn't worth it to
send the last bit of data from the first request, we want to save that
extra bit of data to the conn_rec, so that the next request sends it
automatically.

Revision 86426 - (view) (annotate) - [select for diffs]
Modified Sat Oct 7 05:41:59 2000 UTC (9 years, 1 month ago) by rbb
File length: 60395 byte(s)
Diff to previous 86409 (colored)
The newest incarnation of http_filter.  This is far from perfect, but it
is a step in the right direction.  The idea is that the http_filter knows
about the http protocol.  So, it uses that knowledge to discover HTTP
request headers, and sends those headers up to getline.  However, it keeps
the request body saved in it's ctx pointer.

Later, when ap_get_client_block is called, we have set the remaining field
in the conn_rec.  This tells the http_filter how much of the remaining
data is request body, and how much isn't.  So, the http_filter can return
the request body unparsed up throught ap_get_client_block.

This doesn't even try to work with chunked input data, and there are still
some other bugs in it, but it works for small-ish files in my tests, and
it lets other people play with the concept of input filters.  I will try
to play with this more, but others should feel free to hack around in it
too.

Revision 86409 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 22:35:08 2000 UTC (9 years, 1 month ago) by jim
File length: 60316 byte(s)
Diff to previous 86403 (colored)
Port over the config directory stuff...

Revision 86403 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 16:55:10 2000 UTC (9 years, 1 month ago) by trawick
File length: 59619 byte(s)
Diff to previous 86400 (colored)
Add a bit of infrastructure which will be needed for input filtering:

1) separate filter lists hanging off the r and the c

   requests start off with the same filter list as the connection

   the input filter list is not initialized for subrequests

   internal redirects start off with the same filter list as the
   connection

2) AddInputFilter directive (blatant rip-off of Ryan's AddOutputFilter
   directive); as with AddOutputFilter, the network is implicitly to the
   right of the specified filter list; this may not be the most
   intuitive way to specify the filters; not sure yet

Revision 86400 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 11:21:26 2000 UTC (9 years, 1 month ago) by trawick
File length: 59472 byte(s)
Diff to previous 86392 (colored)
Get rid of much of the old implementation of translating the
charset of response bodies.

ap_checkconv() is removed, except for in os/bs2000 and os/tpf.
(Anything there is questionable for 2.0 anyway.)

Revision 86392 - (view) (annotate) - [select for diffs]
Modified Wed Oct 4 23:19:33 2000 UTC (9 years, 1 month ago) by rbb
File length: 59643 byte(s)
Diff to previous 86359 (colored)
Connection oriented filters are now stored in the conn_rec instead of the
request_rec.  This means that a conn_rec must be supplied when calling
ap_add_filter.  The reason for this change is that we need to be able to
add the core_filter (whether or SSL or not) before we try to read the
request.  This way, if a request fails, we can actually send the error
page back to the client.  With this change, we add the core filter to the
conn_rec during the pre-connection phase.
Submitted by:	Ryan Bloom, Jeff Trawick, and Greg Ames

Revision 86359 - (view) (annotate) - [select for diffs]
Modified Mon Oct 2 00:47:28 2000 UTC (9 years, 1 month ago) by rbb
File length: 59499 byte(s)
Diff to previous 86251 (colored)
Implement input filtering.  This is definately not completely correct, but
it is a good first step.  It is possible to add filters when reading from
the client with this change.

Revision 86251 - (view) (annotate) - [select for diffs]
Modified Tue Sep 19 20:56:09 2000 UTC (9 years, 2 months ago) by rbb
File length: 59331 byte(s)
Diff to previous 86246 (colored)
tart getting things setup for input filtering.  All this basically does
is add part of the infrastructure.  Namely:

1) filter list in the conn_rec, which is where the input filter list
   must live

2) Split the register_filter into multiple functions, one to register
   input filters the other to register output filters.

3) Modify existing modules so they still work.

Revision 86246 - (view) (annotate) - [select for diffs]
Modified Mon Sep 18 01:24:55 2000 UTC (9 years, 2 months ago) by rbb
File length: 59332 byte(s)
Diff to previous 86210 (colored)
Change r->filters to r->output_filters.  This sets things up for us to
put input filters into Apache.

Revision 86210 - (view) (annotate) - [select for diffs]
Modified Wed Sep 13 01:58:15 2000 UTC (9 years, 2 months ago) by coar
File length: 59081 byte(s)
Diff to previous 86202 (colored)
	Start introducing the extension-method elements so we're not
	bound to hard-coded names and a bitmask.  We still use the
	bitmask for known methods, but we also have an array for
	extension method named.  Wherever we used the M_* constants
	we need to use a routine that knows about the new structure instead.

	This is far from complete, but AFAIK this interim work doesn't
	break anything -- especially the compile.  The rest of the
	work will be added in segments; this is just a checkpoint.

Revision 86202 - (view) (annotate) - [select for diffs]
Modified Tue Sep 12 03:40:15 2000 UTC (9 years, 2 months ago) by rbb
File length: 58754 byte(s)
Diff to previous 86168 (colored)
Ensure that only one EOS bucket is sent down the filter stack.  This is
done by adding a flag to the request_rec.  When ap_pass_bucket sees an
EOS bucket, the flag is set.  If the flag is still unset when
ap_finalize_request is called, then ap_finalize_request sends an EOS.  This
fixes the problem with chunking and CGI.

Revision 86168 - (view) (annotate) - [select for diffs]
Modified Fri Sep 1 14:47:20 2000 UTC (9 years, 2 months ago) by ake
File length: 58736 byte(s)
Diff to previous 86126 (colored)
Fix default Timeout & KeepaliveTimeout. Still need to limit directive
values to prevent integer microsecond overflow.

Revision 86126 - (view) (annotate) - [select for diffs]
Modified Mon Aug 21 19:26:36 2000 UTC (9 years, 3 months ago) by coar
File length: 58740 byte(s)
Diff to previous 86125 (colored)
	Another minor cosmetic fix, committed from the httpd-docs-2.0/apidoc
	tree.

Revision 86125 - (view) (annotate) - [select for diffs]
Modified Mon Aug 21 19:25:13 2000 UTC (9 years, 3 months ago) by coar
File length: 58737 byte(s)
Diff to previous 86102 (colored)
	Cosmetic fix, committed from the apache-2.0 tree (this will also
	test the CVS module association).

Revision 86102 - (view) (annotate) - [select for diffs]
Modified Fri Aug 18 17:45:39 2000 UTC (9 years, 3 months ago) by rbb
File length: 58731 byte(s)
Diff to previous 86099 (colored)
Advance all the numbers in the CHANGES and httpd.h file to reflect that
we are now working on a7.

Revision 86099 - (view) (annotate) - [select for diffs]
Modified Fri Aug 18 17:15:17 2000 UTC (9 years, 3 months ago) by rbb
File length: 58731 byte(s)
Diff to previous 86078 (colored)
Update httpd.h for the release of a6.

Revision 86078 - (view) (annotate) - [select for diffs]
Modified Tue Aug 15 12:44:28 2000 UTC (9 years, 3 months ago) by dgaudet
File length: 58735 byte(s)
Diff to previous 86068 (colored)
finish cleaning up after a change i made over 3 years ago.

Revision 86068 - (view) (annotate) - [select for diffs]
Modified Mon Aug 14 02:47:29 2000 UTC (9 years, 3 months ago) by rbb
File length: 58868 byte(s)
Diff to previous 86066 (colored)
Fix a small typo

Revision 86066 - (view) (annotate) - [select for diffs]
Modified Sun Aug 13 23:53:38 2000 UTC (9 years, 3 months ago) by rbb
File length: 58864 byte(s)
Diff to previous 86059 (colored)
Finish commenting httpd.h using Scandoc.

Revision 86059 - (view) (annotate) - [select for diffs]
Modified Sat Aug 12 18:45:35 2000 UTC (9 years, 3 months ago) by rbb
File length: 51182 byte(s)
Diff to previous 86055 (colored)
Initial Filtering code.  This uses a bucket brigade scheme to allow modules
to add and modify data while processing a request.  The docs still need
to be updated, and a simple html page needs to be created explaining all
of this.

The only filter currently in the code is the core filter.  This filter
takes a bucket brigade and writes it to the network through the buff
structure.  In time, the buff will go away completely.

More filters will need to be written.
Submitted by:	The Apache Community
Reviewed by:	The Apache Community

Revision 86055 - (view) (annotate) - [select for diffs]
Modified Fri Aug 11 23:50:15 2000 UTC (9 years, 3 months ago) by coar
File length: 51183 byte(s)
Diff to previous 86043 (colored)
	Note the connexion between the method number list and the
	ap_method_name_of() routine.  (This should have been included
	as part of that commit but wasn't, alas.)

Revision 86043 - (view) (annotate) - [select for diffs]
Modified Thu Aug 10 11:22:57 2000 UTC (9 years, 3 months ago) by coar
File length: 51088 byte(s)
Diff to previous 86042 (colored)
	Add support for arbitrary extension methods for the Allow
	response header field, and an API routine for modifying the
	allowed list in a unified manner for both known and extension
	methods.

Revision 86042 - (view) (annotate) - [select for diffs]
Modified Thu Aug 10 11:07:26 2000 UTC (9 years, 3 months ago) by trawick
File length: 51013 byte(s)
Diff to previous 86040 (colored)
Fix comment delimiters so that Apache builds again.

Revision 86040 - (view) (annotate) - [select for diffs]
Modified Thu Aug 10 06:00:17 2000 UTC (9 years, 3 months ago) by rbb
File length: 51091 byte(s)
Diff to previous 85995 (colored)
Begin to document httpd.h with ScanDoc

Revision 85995 - (view) (annotate) - [select for diffs]
Modified Sat Aug 5 12:28:42 2000 UTC (9 years, 3 months ago) by trawick
File length: 38893 byte(s)
Diff to previous 85987 (colored)
Finish (almost) Ryan's change of apr_filter_t back to ap_filter_t so
that apache builds again.
AFAICT, there is one last occurrence of apr_filter_t in ryan.patch.

Revision 85987 - (view) (annotate) - [select for diffs]
Modified Fri Aug 4 17:40:02 2000 UTC (9 years, 3 months ago) by rbb
File length: 38894 byte(s)
Diff to previous 85986 (colored)
Bump the numbers since a5 has been tagged already

Revision 85986 - (view) (annotate) - [select for diffs]
Modified Fri Aug 4 17:30:29 2000 UTC (9 years, 3 months ago) by rbb
File length: 38890 byte(s)
Diff to previous 85976 (colored)
Update the version number for the new alpha release

Revision 85976 - (view) (annotate) - [select for diffs]
Modified Wed Aug 2 05:27:38 2000 UTC (9 years, 3 months ago) by dougm
File length: 38894 byte(s)
Diff to previous 85941 (colored)
prefix libapr functions and types with apr_

Revision 85941 - (view) (annotate) - [select for diffs]
Modified Sat Jul 29 19:50:08 2000 UTC (9 years, 3 months ago) by rbb
File length: 38834 byte(s)
Diff to previous 85926 (colored)
Move the Server Token stuff out of http_config_globals.h because it is
now isolated in http_core.c

Revision 85926 - (view) (annotate) - [select for diffs]
Modified Fri Jul 28 20:31:02 2000 UTC (9 years, 4 months ago) by rbb
File length: 39054 byte(s)
Diff to previous 85736 (colored)
Add the ability to register filters.  This commit introduces a warning
into the build.  This warning will be removed automatically, as soon as
we decide on a prototype for the function causing the warning.  That
decision is tied to which filtering mechanism we decide on.
Submitted by:	Ryan Bloom and Greg Stein

Revision 85736 - (view) (annotate) - [select for diffs]
Modified Fri Jun 30 21:18:26 2000 UTC (9 years, 4 months ago) by rbb
File length: 39024 byte(s)
Diff to previous 85687 (colored)
Remove ap_get_server_conf() from the MPM's that implement.  The only place
this function was ever called was inside the MPM's, and not all of the
MPM's actually had the function.  This is part of another round of common
code clean-up.

Revision 85687 - (view) (annotate) - [select for diffs]
Modified Sat Jun 24 19:31:42 2000 UTC (9 years, 5 months ago) by rbb
File length: 39081 byte(s)
Diff to previous 85686 (colored)
Fix a couple of const warnings on Linux.  This basically just defines
ap_strstr and ap_strstr_c, which make sure that things are const when
they need to be.

Revision 85686 - (view) (annotate) - [select for diffs]
Modified Sat Jun 24 17:34:11 2000 UTC (9 years, 5 months ago) by gstein
File length: 38861 byte(s)
Diff to previous 85646 (colored)
blast the old names for the status codes

Revision 85646 - (view) (annotate) - [select for diffs]
Modified Wed Jun 21 14:34:41 2000 UTC (9 years, 5 months ago) by rbb
File length: 39711 byte(s)
Diff to previous 85626 (colored)
#undef strchr and strrchr when in maintainer mode.  This keeps us from
getting a lot of warnings on platforms that use macros for these functions.

Revision 85626 - (view) (annotate) - [select for diffs]
Modified Tue Jun 20 04:22:39 2000 UTC (9 years, 5 months ago) by fielding
File length: 39682 byte(s)
Diff to previous 85615 (colored)
Removed the pointless ap_is_aborted macro.

Revision 85615 - (view) (annotate) - [select for diffs]
Modified Mon Jun 19 17:38:06 2000 UTC (9 years, 5 months ago) by ake
File length: 39734 byte(s)
Diff to previous 85599 (colored)
Add notes field to conn_rec

Revision 85599 - (view) (annotate) - [select for diffs]
Modified Sat Jun 17 16:29:53 2000 UTC (9 years, 5 months ago) by ben
File length: 39591 byte(s)
Diff to previous 85595 (colored)
More consification, correct command initialisation.

Revision 85595 - (view) (annotate) - [select for diffs]
Modified Sat Jun 17 11:13:05 2000 UTC (9 years, 5 months ago) by ben
File length: 39390 byte(s)
Diff to previous 85487 (colored)
Command handler revamp. Note that this makes the code produce a LOT of
warnings!

Revision 85487 - (view) (annotate) - [select for diffs]
Modified Fri Jun 9 21:19:52 2000 UTC (9 years, 5 months ago) by rbb
File length: 38954 byte(s)
Diff to previous 85431 (colored)
Remove a bunch of string functions from Apache.  These are basically
standard string functions like strstr, strcasecmp, etc that Apache used
to define for platforms that don't have them.  These functions and the
feature tests have moved down to APR where they really belong.  In doing
this, I am also able to remove a bunch of tests from the Apache configure
process.

Revision 85431 - (view) (annotate) - [select for diffs]
Modified Mon Jun 5 22:57:20 2000 UTC (9 years, 5 months ago) by rbb
File length: 39122 byte(s)
Diff to previous 85426 (colored)
Fix a warning and a bug from the server_token commit.
Submitted by:	Eric Cholet <cholet@logilune.com>

Revision 85426 - (view) (annotate) - [select for diffs]
Modified Mon Jun 5 19:44:02 2000 UTC (9 years, 5 months ago) by rbb
File length: 39121 byte(s)
Diff to previous 85422 (colored)
Add server tokens back to 2.0.  Also bring forward the change to allow
the PRODUCT_ONLY value for ServerTokens.  This is relatively clean,
all of the code lives in http_core, and when a module wants to add a token,
they just call ap_add_version_component from the post_config hook.  Actually
ap_add_version_component can be done anytime after the config has been
parsed, it just makes the most sense to do it in post_config IMHO.

Revision 85422 - (view) (annotate) - [select for diffs]
Modified Mon Jun 5 17:30:27 2000 UTC (9 years, 5 months ago) by ask
File length: 39382 byte(s)
Diff to previous 85421 (colored)
on a5 now.

Revision 85421 - (view) (annotate) - [select for diffs]
Modified Mon Jun 5 17:15:25 2000 UTC (9 years, 5 months ago) by ask
File length: 39378 byte(s)
Diff to previous 85379 (colored)
2.0a4

Revision 85379 - (view) (annotate) - [select for diffs]
Modified Fri Jun 2 15:55:20 2000 UTC (9 years, 5 months ago) by trawick
File length: 39382 byte(s)
Diff to previous 85361 (colored)
APACHE_XLATE, when doing translation that isn't single-byte-only

We must zap the Content-length header (if any).  Otherwise, the
browser will be seriously confused :)  The header is zapped in
ap_set_keepalive() right before we look for Content-length, transfer
encoding, HTTP level, etc. to decide, among other issues, whether or
not to turn on chunked encoding.  For HTTP 1.1, if we don't send
Content-length, we need to use chunked encoding, so we have to zap
the header before that decision.

Interestingly, in Russian Apache the Content-length header is
zapped after ap_set_keepalive() is called, so with HTTP 1.1 they
break the content-length-or-chunked rule.

Revision 85361 - (view) (annotate) - [select for diffs]
Modified Wed May 31 22:06:33 2000 UTC (9 years, 5 months ago) by rbb
File length: 39304 byte(s)
Diff to previous 85338 (colored)
Remove a warning when compiled with --use-maintainer-mode.  Basically,
process_rec should just be storing argv the same way that getopt
expects it.

Revision 85338 - (view) (annotate) - [select for diffs]
Modified Sun May 28 17:52:19 2000 UTC (9 years, 6 months ago) by wrowe
File length: 39304 byte(s)
Diff to previous 85318 (colored)
PR:
Obtained from:
Submitted by:
Reviewed by:

  Remove any possiblity of having multiple tags to correct as the version
  changes.  Split httpd.h's version into tokens.  Roll these tokens into
  registry.c

  TODO: Remove registry.c from the list of files to touch when rolling

Revision 85318 - (view) (annotate) - [select for diffs]
Modified Sat May 27 22:40:44 2000 UTC (9 years, 6 months ago) by wrowe
File length: 39165 byte(s)
Diff to previous 85309 (colored)
PR:
Obtained from:
Submitted by:
Reviewed by:

  Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
  names for linkage (API_, CORE_, and MODULE_).

Revision 85309 - (view) (annotate) - [select for diffs]
Modified Sat May 27 05:28:02 2000 UTC (9 years, 6 months ago) by wrowe
File length: 39165 byte(s)
Diff to previous 85238 (colored)
  This patch corrects the issues from the AP_EXPORT and linkage 
  specification arguments to the ap_hooks.h declarations.  As with
  the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR,
  and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR.

  I will be happy to revert the inclusion of ap_config.h from 
  httpd.h if this bothers anyone.  More individual modules need
  to be patched if we do so.

  The API_EXPORTs all moved into central storage in the ap_config.h
  header.  Without WIN32 or API_STATIC compile time declarations, 
  these macros remain no-ops.

  This patch also moves the following data from http_main to http_config:

    const char *ap_server_argv0;
    const char *ap_server_root;
    ap_array_header_t *ap_server_pre_read_config;
    ap_array_header_t *ap_server_post_read_config;
    ap_array_header_t *ap_server_config_defines;

  And the following variables had already moved into ap_hooks.c:

    ap_pool_t *g_pHookPool;  (initialized now in http_config)
    int g_bDebugHooks;                   (out of http_config)
    const char *g_szCurrentHookName;     (out of http_config)

  The changes to http_main.c are in preparation for that module to
  move out to a seperate .exe for win32.  Other platforms will be
  unaffected, outside of these changes.

Revision 85238 - (view) (annotate) - [select for diffs]
Modified Wed May 17 03:19:38 2000 UTC (9 years, 6 months ago) by trawick
File length: 39142 byte(s)
Diff to previous 85153 (colored)
include translation information in the request_rec;
finish converting ap_bsetflag(B_ASCII2EBCDIC or B_EBCDIC2ASCII) to
ap_bsetopt(BO_WXLATE or BO_RXLATE)

Revision 85153 - (view) (annotate) - [select for diffs]
Modified Fri May 5 23:17:54 2000 UTC (9 years, 6 months ago) by rbb
File length: 38863 byte(s)
Diff to previous 85085 (colored)
Replace hsregex with PCRE.  The PCRE library is always used in 2.0,
regardless of what system we are on.  Currently, we are using the POSIX
wrappers that PCRE provides.

Revision 85085 - (view) (annotate) - [select for diffs]
Modified Fri Apr 28 19:03:15 2000 UTC (9 years, 7 months ago) by rbb
File length: 38959 byte(s)
Diff to previous 85084 (colored)
Update the version string for the current dev version.

Revision 85084 - (view) (annotate) - [select for diffs]
Modified Fri Apr 28 18:41:53 2000 UTC (9 years, 7 months ago) by rbb
File length: 38955 byte(s)
Diff to previous 85024 (colored)
Update version information for 3rd alpha.

Revision 85024 - (view) (annotate) - [select for diffs]
Modified Mon Apr 24 12:00:43 2000 UTC (9 years, 7 months ago) by gstein
File length: 38959 byte(s)
Diff to previous 85010 (colored)
clean up cmd_parms: config_file is no longer valid; end_token is bogus;
    add directive.
move configfile_t and functions from httpd.h to http_config.h
new signature for ap_build_config() (since config_file removed from cmd_parms)
add "data" to ap_directive_t for future use by modules. add filename.
syntax checking for section-close directives: a section-open must exist,
    the section-close must be </FOO>, and the open/close must match.
    the file as a whole must be properly balanced (issue errors for each
    unmatched section-open).
</FOO> command_rec structures are obsolete. Remove from http_core.c.
do not store </FOO> directives in the config tree.
clean out section-close logic from http_core.c (and old, related comments)
<Limit> and <LimitExcept> must walk their children.
new mechanism in ap_check_cmd_context() for testing enclosure in a
    Directory/Location/File: find_parent()
<IfModule> and <IfDefine> must pass cmd->context when walking the children
several places: we had a walk followed by ap_get_module_config(). that
    assumed the walk would create a config that we could fetch, which is not
    true -- it is possible that the children are all from other modules
    (e.g. the <Files> section in httpd.conf-dist has no "core" directives).
    using ap_set_config_vectors() ensures we get a structure, and it returns
    it to us.
    [ note: when we had </Directory> (and friends) in the tree, the config
      would get created; removing the directive removed the config; this
      was a bitch to track down :-) ]

Revision 85010 - (view) (annotate) - [select for diffs]
Modified Fri Apr 21 19:52:34 2000 UTC (9 years, 7 months ago) by stoddard
File length: 40329 byte(s)
Diff to previous 84998 (colored)
Eliminate compile warning on Windows

Revision 84998 - (view) (annotate) - [select for diffs]
Modified Thu Apr 20 14:36:01 2000 UTC (9 years, 7 months ago) by trawick
File length: 40326 byte(s)
Diff to previous 84996 (colored)
[EBCDIC] Port Paul Gilmartin's CRLF patch from 1.3.  This replaces most
of the \015, \012, and \015\012 constants with macros.
Submitted by:	Greg Ames
Reviewed by:	Jeff Trawick

Revision 84996 - (view) (annotate) - [select for diffs]
Modified Wed Apr 19 16:20:07 2000 UTC (9 years, 7 months ago) by bjh
File length: 39625 byte(s)
Diff to previous 84963 (colored)
Provide prototypes for the provided strcasecmp & strncasecmp.

Revision 84963 - (view) (annotate) - [select for diffs]
Modified Fri Apr 14 15:59:20 2000 UTC (9 years, 7 months ago) by rbb
File length: 39460 byte(s)
Diff to previous 84888 (colored)
Change ap_context_t to ap_pool_t.  This compiles, runs, and serves pages
on Linux, but probably breaks somewhere.

Revision 84888 - (view) (annotate) - [select for diffs]
Modified Sat Apr 1 01:14:23 2000 UTC (9 years, 7 months ago) by fielding
File length: 39583 byte(s)
Diff to previous 84883 (colored)
And then there was 2.0a3-dev, and Ryan said "Doh!"

Revision 84883 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 19:52:18 2000 UTC (9 years, 7 months ago) by rbb
File length: 39579 byte(s)
Diff to previous 84877 (colored)
Update the version name in the tree for 2.0a2

Revision 84877 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 07:19:05 2000 UTC (9 years, 7 months ago) by fielding
File length: 39583 byte(s)
Diff to previous 84842 (colored)
Update to Apache Software License version 1.1

Revision 84842 - (view) (annotate) - [select for diffs]
Modified Mon Mar 27 16:22:30 2000 UTC (9 years, 8 months ago) by rbb
File length: 39728 byte(s)
Diff to previous 84837 (colored)
Backout layered I/O changes.

Revision 84837 - (view) (annotate) - [select for diffs]
Modified Sat Mar 25 15:00:10 2000 UTC (9 years, 8 months ago) by rbb
File length: 40289 byte(s)
Diff to previous 84795 (colored)
Enabled layered I/O.  Docs are forthcoming.

Revision 84795 - (view) (annotate) - [select for diffs]
Modified Sun Mar 19 13:28:42 2000 UTC (9 years, 8 months ago) by bjh
File length: 39728 byte(s)
Diff to previous 84771 (colored)
Test for AP_USE_HSREGEX, not USE_HSREGEX, as that's what actually gets
defined (in ap_config_auto.h) when using the bundled hsregex.

Revision 84771 - (view) (annotate) - [select for diffs]
Modified Wed Mar 15 23:18:32 2000 UTC (9 years, 8 months ago) by manoj
File length: 39725 byte(s)
Diff to previous 84765 (colored)
Eliminate implicit usage of access.conf and srm.conf.

Revision 84765 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 14:09:52 2000 UTC (9 years, 8 months ago) by dirkx
File length: 40065 byte(s)
Diff to previous 84761 (colored)
Another one in the department of fairly useless patches which
are best described as feature creep. Allows ${ENV} constructs
in the config file. This avoids the need for mod_perl or
m4 cleverness whilst mainting some of the usefullness. It
does not do (of course) multiline things or anything that clever.

Feel free to flame me.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 84761 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 08:01:46 2000 UTC (9 years, 8 months ago) by dgaudet
File length: 39993 byte(s)
Diff to previous 84760 (colored)
more missing from css

Revision 84760 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 07:58:12 2000 UTC (9 years, 8 months ago) by dgaudet
File length: 39927 byte(s)
Diff to previous 84750 (colored)
missing from css patch

Revision 84750 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 18:53:22 2000 UTC (9 years, 8 months ago) by rbb
File length: 39739 byte(s)
Diff to previous 84725 (colored)
Update the version string to reflect that we are currently working on
Apache/2.0a2-dev.

Revision 84725 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 00:07:37 2000 UTC (9 years, 8 months ago) by rbb
File length: 39737 byte(s)
Diff to previous 84626 (colored)
Fix all the License issues.  Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license

Revision 84626 - (view) (annotate) - [select for diffs]
Modified Wed Feb 16 15:08:45 2000 UTC (9 years, 9 months ago) by stoddard
File length: 39611 byte(s)
Diff to previous 84551 (colored)
Temporary hack to fix WIN32 compiles until the autoconf induced include
file mess is fixed.

Revision 84551 - (view) (annotate) - [select for diffs]
Modified Tue Feb 1 21:05:45 2000 UTC (9 years, 9 months ago) by stoddard
File length: 39587 byte(s)
Diff to previous 84549 (colored)
This patch is sure to break someone!
We need to define MODULE_VAR_EXPORT, API_EXPORT, API_VAR_EXPORT, et. al.
in an os specific way and the definitions need to be done as soon as possible
in the include file chain. I choose to use os.h as the preferred mechanism
for doing this (for now anyway) since this is they way it was done for
Apache 1.3. win32/os.h and unix/os.h probably have some Apache private macro
definitions that are being exposed publicly because of this patch. The solution
to this problem is to remove the private definitions from os.h.

Revision 84549 - (view) (annotate) - [select for diffs]
Modified Tue Feb 1 00:06:14 2000 UTC (9 years, 9 months ago) by martin
File length: 39588 byte(s)
Diff to previous 84504 (colored)
The 'canonical' name for this #define (as of Configure, ap_config_auto.h) is USE_HSREGEX

Revision 84504 - (view) (annotate) - [select for diffs]
Modified Fri Jan 21 01:25:25 2000 UTC (9 years, 10 months ago) by stoddard
File length: 39591 byte(s)
Diff to previous 84503 (colored)
Back out most of the last commit. Keep APR macros seperate from Apache
macros.

Revision 84503 - (view) (annotate) - [select for diffs]
Modified Thu Jan 20 22:14:15 2000 UTC (9 years, 10 months ago) by stoddard
File length: 39592 byte(s)
Diff to previous 84497 (colored)
Convert HAVE_NETINET... to the APR mac

Revision 84497 - (view) (annotate) - [select for diffs]
Modified Wed Jan 19 02:42:17 2000 UTC (9 years, 10 months ago) by rbb
File length: 39559 byte(s)
Diff to previous 84493 (colored)
Manoj has been pushing for this for a while, but I've been too dense
to understand that he was right.  :-)  Basically, this makes the modules
use ap_config to test for header file inclusion.  This method is not to
be used for larger modules that run autoconf theirselves.  Including
ap_config is only valid for modules which rely on Apache to do their
configuration.  Currently, this is only the core modules.

Revision 84493 - (view) (annotate) - [select for diffs]
Modified Wed Jan 19 01:16:31 2000 UTC (9 years, 10 months ago) by rbb
File length: 39556 byte(s)
Diff to previous 84413 (colored)
Finish the commits for the change in the header files.  Basically, this hides
all of the Apache macros that modules don't need access to.  This should
have been committed with the modules, but I wasn't paying attention to the
directory I was in when I ran the commit.
Submitted by:	Manoj Kasichainula and Ryan Bloom

Revision 84413 - (view) (annotate) - [select for diffs]
Modified Sun Jan 9 05:18:31 2000 UTC (9 years, 10 months ago) by dgaudet
File length: 43001 byte(s)
Diff to previous 84397 (colored)
time overhaul:

- ap_time_t is a 64-bit scalar, microseconds since epoch
- ap_exploded_time_t corresponds to struct tm with a few extras

probably broken on anything except linux.

Revision 84397 - (view) (annotate) - [select for diffs]
Modified Thu Jan 6 14:43:41 2000 UTC (9 years, 10 months ago) by rbb
File length: 43041 byte(s)
Diff to previous 84355 (colored)
Separate the stat structure from the file structure and use ap_stat and
ap_getfileinfo in apache.

Revision 84355 - (view) (annotate) - [select for diffs]
Modified Tue Dec 21 21:41:53 1999 UTC (9 years, 11 months ago) by rbb
File length: 43042 byte(s)
Diff to previous 84338 (colored)
Remove a bunch of functions that are being replaced by functions in APR.
Also finished porting Apache to use APR in most cases.

Revision 84338 - (view) (annotate) - [select for diffs]
Modified Mon Dec 20 16:38:39 1999 UTC (9 years, 11 months ago) by rbb
File length: 43090 byte(s)
Diff to previous 84244 (colored)
First step in getting Apache to use APR's time libraries.  This gets a good
number of them, but I think there are more time values still in the Apache
code.  This works under Linux, but has not been tested anywhere else.

Revision 84244 - (view) (annotate) - [select for diffs]
Modified Wed Dec 8 00:14:03 1999 UTC (9 years, 11 months ago) by manoj
File length: 43233 byte(s)
Diff to previous 84131 (colored)
Fix even more "-i" -> " ap_context_t " changes.

Revision 84131 - (view) (annotate) - [select for diffs]
Modified Wed Nov 17 21:39:42 1999 UTC (10 years ago) by rbb
File length: 43257 byte(s)
Diff to previous 84091 (colored)
Cleaned up the APRFile uses in Apache.  Also removed the apr.h header file
because it is no longer used.  Finally, I updated the dependancies to
compile cleanly.

Revision 84091 - (view) (annotate) - [select for diffs]
Modified Tue Nov 2 15:15:08 1999 UTC (10 years ago) by bjh
File length: 43237 byte(s)
Diff to previous 83942 (colored)
De-errno ap_pcfg_openfile().

Revision 83942 - (view) (annotate) - [select for diffs]
Modified Thu Oct 7 18:13:17 1999 UTC (10 years, 1 month ago) by bhyde
File length: 43223 byte(s)
Diff to previous 83936 (colored)
Add process_rec to the top of {server,connection,request}_rec
hierarchy of structs that abstract server activities.  Store some
stuff in process_rec (finally a place to have nearly guiltless
globals) for example the global and configuration pools.  Put some
operations on process_rec in http_main, in particular the
destroy_and_exit operation, and the use it to do all the exit calls.
Change ap_read_config to operation on this "object" rather than on the
configuration pool.  Modify server_rec to point to the process, so you
can get at it most all the time which should finally allow most of the
server's malloc calls to be eliminated.

There are no locks in the process struct as yet, put them in as needed.
Some of the hooks should take this rather than conf. pool.

Revision 83936 - (view) (annotate) - [select for diffs]
Modified Wed Oct 6 21:26:53 1999 UTC (10 years, 1 month ago) by bhyde
File length: 42557 byte(s)
Diff to previous 83912 (colored)
Remove obsolete ap_util_init function.

Revision 83912 - (view) (annotate) - [select for diffs]
Modified Mon Sep 20 22:18:51 1999 UTC (10 years, 2 months ago) by manoj
File length: 42590 byte(s)
Diff to previous 83879 (colored)
Move ap_pregcomp and ap_pregfree from APR to Apache proper, since these
functions depend on Apache's regex libraries. This also should fix
compilation on platforms not using hsregex.

Revision 83879 - (view) (annotate) - [select for diffs]
Modified Wed Sep 8 14:15:55 1999 UTC (10 years, 2 months ago) by rbb
File length: 42437 byte(s)
Diff to previous 83852 (colored)
Remove all of the calls to functions like "ap_popenf".  These functions were
moved down to APR, but they are being removed.  They are not portable, and
were only moved down for backwards compatability.  With this change, they can
be safely removed, which is the next commit on it's way.
Submitted by:  Ryan Bloom and Paul Reder

Revision 83852 - (view) (annotate) - [select for diffs]
Modified Tue Aug 31 05:35:52 1999 UTC (10 years, 2 months ago) by rbb
File length: 42432 byte(s)
Diff to previous 83803 (colored)
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.

Revision 83803 - (view) (annotate) - [select for diffs]
Modified Fri Aug 27 10:20:37 1999 UTC (10 years, 3 months ago) by rse
File length: 42001 byte(s)
Diff to previous 83782 (colored)
Now that this beast was officially declared as the Apache 2.0 stuff, let it
also say this in his Server headers while testing.  Those who dislike numbers:
feel free to name it "foo" or whatever meaningless if it's important that we
still do not use numbers. I just want that the version corresponds to the
repository area, because I often get confused by running different Apache
versions on my development box.

Revision 83782 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 16:43:56 1999 UTC (10 years, 3 months ago) by fielding
File length: 42001 byte(s)
Diff to previous 83766 (colored)
More MPM changes. Remove ap_can_exec and add a couple prototypes.

Submitted by:	Dean Gaudet

Revision 83766 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 12:54:16 1999 UTC (10 years, 3 months ago) by fielding
File length: 41952 byte(s)
Diff to previous 83763 (colored)
Replace all alarms and timeouts with a mutex on alloc.
Replace file descriptors with APRFile.
Add ap_is_aborted macro.

Submitted by:	Bill Stoddard, Dean Gaudet

Revision 83763 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 10:45:57 1999 UTC (10 years, 3 months ago) by fielding
File length: 41901 byte(s)
Diff to previous 83762 (colored)
Rearchitect the mess in http_main.c, http_core.c and buff.c.
Basic restructuring to introduce the MPM concept; includes various
changes to the module API... better described by docs/initial_blurb.txt.

Created multiple process model (MPM) concept by ripping out the process
guts from http_main.c and http_core.c and moving them to separate files
under src/modules/mpm/

Moved socket creation stuff to listen.c.
Moved connection open, maintenance and close to http_connection.c.

I/O layering and BUFF revamp.  Much of buff.c moved to ap_iol,
iol_socket, and iol_file.  See docs/buff.txt.

Moved user and auth fields from connection_rec to request_rec.
Removed RLIMIT stuff, supposedly to be implemented later in mod_cgi.
Disabled suexec, supposedly to be reimplemented later.

Submitted by:	Dean Gaudet

Revision 83762 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 07:21:44 1999 UTC (10 years, 3 months ago) by fielding
File length: 43166 byte(s)
Diff to previous 83749 (colored)
Replace file descriptor with APRFile [Dean]

Revision 83749 - (view) (annotate) - [select for diffs]
Added Tue Aug 24 05:50:50 1999 UTC (10 years, 3 months ago) by fielding
File length: 43141 byte(s)
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

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2