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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 823337 - (view) (annotate) - [select for diffs]
Modified Thu Oct 8 21:42:13 2009 UTC (6 weeks, 5 days ago) by sf
File length: 22340 byte(s)
Diff to previous 772997 (colored)
mod_logio: introduce new optional function ap_logio_get_last_bytes to get
total byte count of last request.

core: Use ap_logio_get_last_bytes to report more accurate byte counts in
mod_status if mod_logio is loaded. Without mod_logio, don't increment
counts for HEAD requests.

PR: 25656

Revision 772997 - (view) (annotate) - [select for diffs]
Modified Fri May 8 14:13:15 2009 UTC (6 months, 2 weeks ago) by jorton
File length: 22263 byte(s)
Diff to previous 739382 (colored)
Security fix for CVE-2009-1195: fix Options handling such that
'AllowOverride Options=IncludesNoExec' does not permit Includes with
exec= enabled to be configured in an .htaccess file:

* include/http_core.h: Change semantics of Includes/IncludeNoExec
  options bits to be additive; OPT_INCLUDES now means SSI is enabled
  without exec=.  OPT_INCLUDES|OPT_INC_WITH_EXEC means SSI is enabled
  with exec=.

* server/core.c (create_core_dir_config): Remove defunct OPT_INCNOEXEC
  from default override_opts; no functional change.
  (merge_core_dir_configs): Update logic to ensure that exec= is
  disabled in a context where IncludesNoexec is configured, even if
  Includes-with-exec is permitted in the inherited options set.
  (set_allow_opts, set_options): Update to reflect new semantics
  of OPT_INCLUDES, OPT_INC_WITH_EXEC.

* server/config.c: Update to remove OPT_INCNOEXEC from default 
  override_opts; no functional change.

* modules/filters/mod_include.c (includes_filter): Update to reflect
  new options semantics - disable exec= support if the
  OPT_INC_WITH_EXEC bit is not set.

Submitted by: Jonathan Peatfield <j.s.peatfield damtp.cam.ac.uk>,
          jorton
Thanks to: Vincent Danon <vdanon redhat.com>

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: 22181 byte(s)
Diff to previous 731068 (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 731068 - (view) (annotate) - [select for diffs]
Modified Sat Jan 3 19:20:26 2009 UTC (10 months, 3 weeks ago) by wrowe
File length: 22646 byte(s)
Diff to previous 708828 (colored)
bollocks, it's absolute crap to break the ABI structure alignment for features

Revision 708828 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 08:39:26 2008 UTC (12 months, 3 weeks ago) by pquerna
File length: 22666 byte(s)
Diff to previous 645432 (colored)
* include/http_core.h
  (core_dir_config): Fix warning: overflow in implicit constant conversion,
    generated by core.c line 117, which sets content_md5 to '2', which is too big
    for a signed value -- but it looks like this was really meant to be unsigned.

Revision 645432 - (view) (annotate) - [select for diffs]
Modified Mon Apr 7 09:52:18 2008 UTC (19 months, 2 weeks ago) by pquerna
File length: 22664 byte(s)
Diff to previous 645412 (colored)
Include http_config.h from http_core, since now without CORE_PRIVATE, you need
the definition for the module type.

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: 22638 byte(s)
Diff to previous 644253 (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 644253 - (view) (annotate) - [select for diffs]
Modified Thu Apr 3 10:23:12 2008 UTC (19 months, 3 weeks ago) by niq
File length: 22685 byte(s)
Diff to previous 611199 (colored)
HTTPD Core: Implement <If> sections for conditional (runtime) configuration.
N.B. This is a first pass, and has a way to go!

Revision 611199 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 15:07:53 2008 UTC (22 months, 2 weeks ago) by covener
File length: 22590 byte(s)
Diff to previous 534533 (colored)
*) mod_logio: Provide optional function to allow modules to adjust the
   bytes_in count [Eric Covener]

Practical example: alternate SSL implementation that lives 
beyond the filters (IOL)


Revision 534533 - (view) (annotate) - [select for diffs]
Modified Wed May 2 16:31:39 2007 UTC (2 years, 6 months ago) by bnicholes
File length: 22479 byte(s)
Diff to previous 420983 (colored)
re-introduce ap_satisfies API back into core and modify how the access_checker, check_user_id and auth_checker hooks are called so that they respect the precedence that is set through the satisfy ALL/ANY directive. This also restores the directives order, allow, deny, satisfyas supported directives rather than being deprecated.  These directives still remain in mod_access_compat however.

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: 21682 byte(s)
Diff to previous 395228 (colored)
update license header text

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: 21535 byte(s)
Diff to previous 368027 (colored)
Update the copyright year in all .c, .h and .xml files

Revision 368027 - (view) (annotate) - [select for diffs]
Modified Wed Jan 11 14:30:28 2006 UTC (3 years, 10 months ago) by bnicholes
File length: 21535 byte(s)
Diff to previous 344384 (colored)
Authz refactoring
Merge from branches/authz-dev

Basically here is a list of what has been done:
- Convert all of the authz modules from hook based to provider based
- Remove the ap_requires field from the core_dir_config structure
- Remove the function ap_requires() since its functionality is no
longer supported or necessary in the refactoring
- Remove the calls to ap_some_auth_required() in the core request
handling to allow the  hooks to be called in all cases.
- Add the new module mod_authz_core which will act as the authorization
provider vector and contain common authz directives such as 'Require',
'Reject' and  '<RequireAlias>'
- Add the new module mod_authn_core which will contain common
authentication directives such as 'AuthType', 'AuthName' and
'<AuthnProviderAlias>'
- Move the check for METHOD_MASK out of the authz providers and into
the authz_core provider vector
- Define the status codes that can be returned by the authz providers
as AUTHZ_DENIED,  AUTHZ_GRANTED and AUTHZ_GENERAL_ERROR   
- Remove the 'Satisfy' directive 
- Implement the '<RequireAll>', '<RequireOne>' block directives  to
handle the 'and' and 'or' logic for authorization.
- Remove the 'AuthzXXXAuthoritative' directives from all of the authz
providers
- Implement the 'Reject' directive that will deny authorization if the
argument is true
- Fold the 'Reject' directive into the '<RequireAll>', '<RequireOne>'
logic
- Reimplement the host based authorization functionality provided by 
'allow', 'deny' and 'order' as authz providers   
- Remove the 'allow', 'deny' and 'order' directives      
- Merge mod_authn_alias into mod_authn_core
- Add '<RequireAlias>' functionality which is similar to
'<AuthnProviderAlias>' but specific to authorization aliasing
- Remove all of the references to the 'authzxxxAuthoritative'
directives from the documentation
- Remove the 'Satisfy' directive from the documentation
- Remove 'Allow', 'Deny', 'Order' directives from the documentation
- Document '<RequireAll>', '<RequireOne>', 'Reject' directives
- Reimplement the APIs ap_auth_type(), ap_auth_name() as optional
functions and move the  actual implementation into mod_authn_core
- Reimplement the API ap_some_auth_required() as an optional function
and move the  actual implementation into mod_authz_core

Major Changes:
- Added the directives <RequireAll>, <RequireOne>, <RequireAlias>,
Reject
- Expanded the functionality of the directive 'Require' to handle all
authorization and access control
- Added the new authz providers 'env', 'ip', 'host', 'all' to handle
host-based access control
- Removed the directives 'Allow', 'Deny', 'Order', 'Satisfy',
'AuthzXXXAuthoritative'
- Removed the ap_require() API
- Moved the directives 'AuthType', 'AuthName' out of mod_core and into
mod_authn_core
- Moved the directive 'Require' out of mod_core and into
mod_authz_core
- Merged mod_authn_alias into mod_authn_core
- Renamed mod_authz_dbm authz providers from 'group' and 'file-group'
to 'dbm-group' and 'dbm-file-group'

Benefits:
- All authorization and access control is now handle through two
directives, 'Require' and 'Reject'
- Authorization has been expanded to allow for complex 'AND/OR' control
logic through the directives '<RequireAll>' and '<RequireOne>'
- Configuration is now much simpler and consistent across the board
- Other modules like mod_ssl and mod_proxy should be able to plug into
and take advantage of  the same provider based authorization mechanism
by implementing their own providers

Issues:
- Backwards compatibility between 2.2 and 2.3 configurations will be
broken in the area  of authorization and access control due to the fact
that the directives 'allow', 'deny',  'order' and 'satisfy' have been
removed.  When moving from 2.2 to 2.3 these directives  will have to be
changed to 'Require all granted', 'Require all denied' or some variation
 of the authz host-based providers.
- Existing third party authorization modules will have to adapt to the
new structure.

Revision 344384 - (view) (annotate) - [select for diffs]
Modified Tue Nov 15 15:58:57 2005 UTC (4 years ago) by jim
File length: 22204 byte(s)
Diff to previous 344369 (colored)
Okay, at least be nice when "breaking" the API.
Tuck the new bitfield to the tail and adjust the
MMN

Revision 344369 - (view) (annotate) - [select for diffs]
Modified Tue Nov 15 14:50:39 2005 UTC (4 years ago) by jim
File length: 22203 byte(s)
Diff to previous 306495 (colored)
Add in the UseCanonicalPhysicalPort directive, which
basically allows Apache to configurably ( :) )
use the physical port when constructing the
canonical port. Also add the exact ordering to
the docs, so people can easily see how it works.
We now have compatibility with both 2.0 and 1.3.

Revision 306495 - (view) (annotate) - [select for diffs]
Modified Thu Oct 6 01:29:42 2005 UTC (4 years, 1 month ago) by wrowe
File length: 22034 byte(s)
Diff to previous 263931 (colored)
  NET_TIME, as a standalone feature, was a horrid idea.

  The core filter will NOT operate correctly across platforms 
  (even between Linux/Solaris) without setting up the conn->timeout,
  so always apply the timeout when establishing the core filter.

  The keep-alive-timeout is entirely an HTTP-ism, and needs to
  move to the http protocol handler.  Note #1; this isn't triggered
  in the event mpm, but the event mpm introspects s->keep_alive_timeout
  directly adding it to the pollset, so this is a non-sequitor.

  Finally, once the headers are read, the named virtual host may
  have a different (more/less permissive) timeout for the remainder
  of the request body.  This http-centric patch picks up that subtle
  detail and can switch to a named-vhost timeout.

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: 22276 byte(s)
Diff to previous 208785 (colored)
Doxygen fixup / cleanup

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


Revision 208785 - (view) (annotate) - [select for diffs]
Modified Fri Jul 1 19:39:26 2005 UTC (4 years, 4 months ago) by wrowe
File length: 22439 byte(s)
Diff to previous 190563 (colored)
  Initially a no-op.  Add trace_enable configuration.  The http and proxy
  flavors of interpreting this flag are yet to be committed.

Revision 190563 - (view) (annotate) - [select for diffs]
Modified Tue Jun 14 09:21:18 2005 UTC (4 years, 5 months ago) by pquerna
File length: 22275 byte(s)
Diff to previous 170354 (colored)
Merge the listen-protocol sandbox branch to trunk.

I will be adding documentation for the new directives hopefully in the next day or so.

* server/core.c: Added 'Protocol' to the core module config
                 Added ap_{set,get}_server_protocol API.
                 Added new directive: 'AcceptFilter'.
                 Enable 'httpready' by default on systems that support it.  Use dataready filters for others.

* server/listen.c: Attempt to inherit protocols from Listener Records to Server configs.
                   The 'Listen' directive can now optionally take a protocol arg
                   Move bits that determined which accept filter is applied to core.c.
                   Added bits to find the correct accept filter based on the core's configuration.

* include/{ap_listen.h,http_core.h}: Add Protocol to respective structures.

* include/http_core.h: Add the accf_map table to the core_server_config structure

* include/ap_mmn.h: Minor MMN Bump for the new interfacces.

* modules/ssl/ssl_engine_init.c: Use the new protocol framework to enable mod_ssl for 'https' websites.


Revision 170354 - (view) (annotate) - [select for diffs]
Modified Mon May 16 10:41:42 2005 UTC (4 years, 6 months ago) by trawick
File length: 22083 byte(s)
Diff to previous 153384 (colored)
Support the suppress-error-charset setting, as with Apache 1.3.x.

With Apache 1.3.x, it is a bit simpler as the request does
not go through ap_make_content_type().

Modules can set custom error responses but not be able to
set the charset, so they have to code the charset in the
html.  Thus, it is useful to preserve 1.3.x behavior exactly.

PR: 26467

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: 21982 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: 21979 byte(s)
Diff to previous 109498 (colored)
Update copyright year to 2005 and standardize on current copyright owner line.

Revision 109498 - (view) (annotate) - [select for diffs]
Modified Thu Dec 2 13:28:04 2004 UTC (4 years, 11 months ago) by jorton
File length: 21943 byte(s)
Diff to previous 106103 (colored)
Fix gcc "no previous prototype" warnings after reorganisation:

* server/core_filters.c (ap_core_input_filter, ap_core_output_filter,
ap_net_time_filter): Renamed to add ap_ prefixes for global symbols.

* include/ap_listen.h: Don't export ap_listen_open at all, it's not
used outside server/listen.c any more.

* server/listen.c (open_listeners): Renamed from ap_listen_open.

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

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: 21477 byte(s)
Diff to previous 103120 (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 103120 - (view) (annotate) - [select for diffs]
Modified Wed Mar 24 02:53:35 2004 UTC (5 years, 8 months ago) by trawick
File length: 21442 byte(s)
Diff to previous 102954 (colored)
Fix memory corruption problem with ap_custom_response() function.
The core per-dir config would later point to request pool data
that would be reused for different purposes on different requests.

This is based on an old 1.3 patch submitted by Will Lowe.
It needs a minor tweak before committing to 1.3, but he had
it pretty darn close.

Revision 102954 - (view) (annotate) - [select for diffs]
Modified Sun Mar 14 16:24:55 2004 UTC (5 years, 8 months ago) by nd
File length: 21051 byte(s)
Diff to previous 102619 (colored)
Satisfy directives now can be influenced by a surrounding <Limit>
container.

PR: 14726.

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: 21023 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: 21019 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: 21019 byte(s)
Diff to previous 102135 (colored)
apply Apache License, Version 2.0

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: 23238 byte(s)
Diff to previous 100095 (colored)
update license to 2004.

Revision 100095 - (view) (annotate) - [select for diffs]
Modified Thu May 29 23:04:32 2003 UTC (6 years, 5 months ago) by nd
File length: 23238 byte(s)
Diff to previous 99911 (colored)
Rework of the recursion stopper - collapse recursion counters into one function

Reviewed by: Justin Erenkrantz

Revision 99911 - (view) (annotate) - [select for diffs]
Modified Mon May 19 01:19:55 2003 UTC (6 years, 6 months ago) by nd
File length: 23512 byte(s)
Diff to previous 98573 (colored)
Prevent the server from crashing when entering infinite loops. The
new LimitInternalRecursion directive configures limits of subsequent
internal redirects and nested subrequests, after which the request
will be aborted.
[William Rowe, Jeff Trawick, Andr� Malo]

PR: 19753 (and probably others)

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: 22576 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: 22576 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: 22424 byte(s)
Diff to previous 97930 (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 97930 - (view) (annotate) - [select for diffs]
Modified Sun Dec 15 20:05:23 2002 UTC (6 years, 11 months ago) by brianp
File length: 22292 byte(s)
Diff to previous 97300 (colored)
comment an endif for clarity

Revision 97300 - (view) (annotate) - [select for diffs]
Modified Fri Oct 25 06:52:02 2002 UTC (7 years, 1 month ago) by brianp
File length: 22273 byte(s)
Diff to previous 97205 (colored)
mod_logio modification: count bytes-sent after the writev or sendfile
call in the core_output_filter, in order to get a more accurate count
of the total bytes transmitted in cases where the client terminates
the connection before the entire response is sent.

Note: This works by adding a flush bucket to each response when
mod_logio is used; the side-effect is that pipelined responses
get broken up into separate network writes per request (but there's
no impact on pipelining when mod_logio is not enabled).

Submitted by:	Bojan Smojver <bojan@rexursive.com>
Reviewed by:	Brian Pane

Revision 97205 - (view) (annotate) - [select for diffs]
Modified Mon Oct 14 17:42:45 2002 UTC (7 years, 1 month ago) by wrowe
File length: 21945 byte(s)
Diff to previous 97065 (colored)
  Introduce an EnableSendfile directive (defaulted to ON) to allow users
  to disable sendfile mechanics for NFS volume mounts and other kernel
  objects that don't support sendfile.  And EnableSendfile off can be used
  to help narrow bugs down to the sendfile mechanics or eliminate the
  possiblity that sendfile is a factor on any given platform.

Revision 97065 - (view) (annotate) - [select for diffs]
Modified Thu Oct 3 00:16:47 2002 UTC (7 years, 1 month ago) by gstein
File length: 21748 byte(s)
Diff to previous 95040 (colored)
Add logic to the default_handler to enable script delivery to script
processors located in the output filter stack. This is on by default,
but will change "soon" to off -- the processors will then need to
enable it when they are installed into the filter chain.

Revision 95040 - (view) (annotate) - [select for diffs]
Modified Sat May 11 23:24:29 2002 UTC (7 years, 6 months ago) by brianp
File length: 21202 byte(s)
Diff to previous 94469 (colored)
Added EnableMMAP directive to allow the server administrator to
prevent mmap of file buckets upon read.

Revision 94469 - (view) (annotate) - [select for diffs]
Modified Fri Apr 5 20:55:38 2002 UTC (7 years, 7 months ago) by wrowe
File length: 20988 byte(s)
Diff to previous 94356 (colored)
  Whoops, missed this.  Moved these symbols to mod_core.h

Revision 94356 - (view) (annotate) - [select for diffs]
Modified Mon Apr 1 05:43:47 2002 UTC (7 years, 7 months ago) by jwoolley
File length: 21115 byte(s)
Diff to previous 94028 (colored)
Match the new APR_BUCKET_BUFF_SIZE.  We want this to be slightly less than
8KB to leave room for the various allocators' internal structures while
still fitting into a total of 8KB.

Revision 94028 - (view) (annotate) - [select for diffs]
Modified Wed Mar 20 02:05:43 2002 UTC (7 years, 8 months ago) by stoddard
File length: 21115 byte(s)
Diff to previous 93918 (colored)
Final commit to add ap_rset_content_type accessor. Add AddOutputFiltersbyType
filters during call to ap_rset_content_type()

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: 21019 byte(s)
Diff to previous 93490 (colored)
Update our copyright for this year.

Revision 93490 - (view) (annotate) - [select for diffs]
Modified Tue Feb 19 04:45:53 2002 UTC (7 years, 9 months ago) by jerenkrantz
File length: 21019 byte(s)
Diff to previous 93051 (colored)
Introduce AddOutputFilterByType directive.

AddOutputFilterByType DEFLATE text/html

(I will add docco soon, I promise.  If someone beats me to it, cool...)

Revision 93051 - (view) (annotate) - [select for diffs]
Modified Sun Jan 27 19:12:56 2002 UTC (7 years, 9 months ago) by brianp
File length: 20944 byte(s)
Diff to previous 93040 (colored)
Replaced some more ap_add_output_filter() calls with
ap_add_output_filter_handle() for efficiency

Revision 93040 - (view) (annotate) - [select for diffs]
Modified Sun Jan 27 02:13:10 2002 UTC (7 years, 9 months ago) by brianp
File length: 20737 byte(s)
Diff to previous 92830 (colored)
Performance improvement: incorporated the use of the new
ap_add_input_filter_handle() and ap_add_output_filter_handle()
functions for core filters

Revision 92830 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 18:55:27 2002 UTC (7 years, 10 months ago) by coar
File length: 20411 byte(s)
Diff to previous 92700 (colored)
	Bring forward the FileETag directive enhancement from 1.3.23-dev.
	(Passes all 61 of the apache/etags.t test.)  Bump MMN due to
	change to core_dir_config structure (new fields at end).

Revision 92700 - (view) (annotate) - [select for diffs]
Modified Wed Jan 2 07:56:25 2002 UTC (7 years, 10 months ago) by jerenkrantz
File length: 19729 byte(s)
Diff to previous 92697 (colored)
Fix LimitRequestBody directive by moving the relevant code from
ap_*_client_block to ap_http_filter (aka HTTP_IN).  This is the
only appropriate place for limit checking to occur (otherwise,
chunked input is not correctly limited).

Also changed the type of limit_req_body to apr_off_t to match the
other types inside of HTTP_IN.  Also made the strtol call for
limit_req_body a bit more robust.

Revision 92697 - (view) (annotate) - [select for diffs]
Modified Tue Jan 1 20:36:18 2002 UTC (7 years, 10 months ago) by brianp
File length: 19737 byte(s)
Diff to previous 92684 (colored)
Generalized the recent prep_walk_cache optimizations to allow other
modules to register "notes" within the array of working data in
the core_request_config

Revision 92684 - (view) (annotate) - [select for diffs]
Modified Mon Dec 31 08:18:32 2001 UTC (7 years, 10 months ago) by brianp
File length: 18359 byte(s)
Diff to previous 92447 (colored)
Performance fix for prep_walk_cache():

Moved the directory/location/file-walk caches from the
request's pool userdata hash table to the core_request_config
struct.

This change removes about 60% of the processing time from
prep_walk_cache().

Revision 92447 - (view) (annotate) - [select for diffs]
Modified Thu Dec 13 14:50:36 2001 UTC (7 years, 11 months ago) by wrowe
File length: 18076 byte(s)
Diff to previous 92446 (colored)
  Jeff's guess, right on.  [Thought I committed it all... gotta grab a
  clean parallel tree, all my parallel trees are dirty again.]

Revision 92446 - (view) (annotate) - [select for diffs]
Modified Thu Dec 13 13:15:56 2001 UTC (7 years, 11 months ago) by trawick
File length: 18036 byte(s)
Diff to previous 92024 (colored)
hack up core_dir_config so that server/core.c compiles again

Revision 92024 - (view) (annotate) - [select for diffs]
Modified Sun Nov 18 02:57:12 2001 UTC (8 years ago) by ianh
File length: 18010 byte(s)
Diff to previous 91058 (colored)
change the signature of ap_custom_response() to use a
"const char *" instead of a "char *".


PR: 8791
Submitted by: Kurt Brown kurtb149@yahoo.com
Reviewed by:	Ian Holsman

Revision 91058 - (view) (annotate) - [select for diffs]
Modified Mon Sep 17 21:07:36 2001 UTC (8 years, 2 months ago) by wrowe
File length: 18082 byte(s)
Diff to previous 90799 (colored)
   Remove the Win32 script-processing exception from mod_cgi, and
   roll build_command_line/build_argv_list into a unified, overrideable
   ap_cgi_build_command optional function.

   Eliminates a ton of Win32 cruft from core.c for registry parsing.
   Win32 (through the default handler, and newest changes to the
   apr_proc_create fn) continues to serve .bat/.exe files.  This is in
   preparation for adding modules/arch/win32/mod_win32 for scripts.

   Please review the mod_cgi.c behavior very carefully.

Revision 90799 - (view) (annotate) - [select for diffs]
Modified Thu Aug 30 05:10:54 2001 UTC (8 years, 2 months ago) by wrowe
File length: 18799 byte(s)
Diff to previous 90797 (colored)
     Changed syntax of Set{Input|Output}Filter.  The list of filters
     must be semicolon delimited (if more than one filter is given.)
     The Set{Input|Output}Filter directive now overrides a parent
     container's directive (e.g. SetInputFilter in <Directory /web/foo>
     will override any SetInputFilter directive in <Directory /web>.)
     This new syntax is more consistent with Add{Input|Output}Filter
     directives defined in mod_mime.  Also cures a bug in prior releases
     where the Set{Input|Output}Filter directive would corrupt the
     global configuration if the multiple directives were nested.
     [William Rowe]

Revision 90797 - (view) (annotate) - [select for diffs]
Modified Thu Aug 30 04:24:09 2001 UTC (8 years, 2 months ago) by wrowe
File length: 18831 byte(s)
Diff to previous 90684 (colored)
  Since the mod_mime patch was applied, here is the rest of the patch to
  introduce the ForceType and SetHandler [absolute references] directly
  into the very top of the fixups phase.  This means these will always
  override _any_ mime module, not just mod_mime.  Ergo, other mime modules
  can continue to set charset, encodings, etc.  Since these are globals,
  they belong in the core.

  This highlights a very serious drawback to the type_checker hook.  By
  using run first, a module that identifies _partial_ information (maybe
  just the content type) won't pass the query on to other modules, like
  mod_mime, that might further define the encoding or charset.  The
  type_checker hook should clearly become a run-all, and the modules should
  decline if they see someone ahead of them answered a question they were
  going to try to figure.

  Which means - if type_checker becomes RUN_ALL - this new override hook
  fn should become a type_checker again - and RUN_REALLY_FIRST, and let
  other modules _choose_ not to override this election.  (We can run it
  again at the end, for a recount ;)  Votes?

Revision 90684 - (view) (annotate) - [select for diffs]
Modified Sun Aug 26 05:10:17 2001 UTC (8 years, 3 months ago) by wrowe
File length: 18619 byte(s)
Diff to previous 90646 (colored)

  Eliminate proxy: (and all other 'special') processing from the
  ap_directory_walk() phase.  Modules that want to use special
  walk logic should refer to the mod_proxy map_to_location example,
  with it's proxy_walk and proxysection implementation.  This makes
  either directory_walk flavor much more legible, since that phase
  only runs against real <Directory > blocks.

  On a technical note, this patch also forces the Directory to be
  canonical (unless it is "/" or a regex.)  It also allows us to
  be more explicit when declaring <Directory > block errors.

Revision 90646 - (view) (annotate) - [select for diffs]
Modified Fri Aug 24 18:12:02 2001 UTC (8 years, 3 months ago) by wrowe
File length: 18840 byte(s)
Diff to previous 89869 (colored)
  sec, sec, who's got a sec?  This gave me a headache, but I had to clear
  out the last patch before I rearranged this to be _readable_.

  Next step for everyone's sanity, provide <Proxy > directives ;)

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: 18831 byte(s)
Diff to previous 89791 (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 89791 - (view) (annotate) - [select for diffs]
Modified Mon Jul 30 18:51:57 2001 UTC (8 years, 3 months ago) by wrowe
File length: 18823 byte(s)
Diff to previous 89749 (colored)
  Provide the same optimization to the dir_config structure to track
  d_is_absolute, along with d_is_fnmatch.

Revision 89749 - (view) (annotate) - [select for diffs]
Modified Fri Jul 27 21:01:16 2001 UTC (8 years, 4 months ago) by wrowe
File length: 18594 byte(s)
Diff to previous 89364 (colored)
  Doc formatting fixes

Revision 89364 - (view) (annotate) - [select for diffs]
Modified Wed Jun 13 20:11:45 2001 UTC (8 years, 5 months ago) by gstein
File length: 18594 byte(s)
Diff to previous 88843 (colored)
Define a hook for fetching management/status items.

This patch was submitted by Ian Holsman. Greg revised some names, applied
the Apache style, and namespace-prefixed the public symbols. Minor bugfix in
the use of the hook implementation macro.

Submitted by: Ian Holsman <IanH@cnet.com>
Reviewed by: Greg Stein

Revision 88843 - (view) (annotate) - [select for diffs]
Modified Fri Apr 13 05:19:25 2001 UTC (8 years, 7 months ago) by jwoolley
File length: 17370 byte(s)
Diff to previous 88484 (colored)
Change AP_MIN_BYTES_TO_WRITE from 9000 to 8192 to match the bucket buffer
size.  This fixes the 8192-808-8192-808 iovec-length sequence problem
on platforms using writev() (eg OS/2).

Reviewed by:	Brian Havard

Revision 88484 - (view) (annotate) - [select for diffs]
Modified Fri Mar 9 20:30:34 2001 UTC (8 years, 8 months ago) by trawick
File length: 17370 byte(s)
Diff to previous 88274 (colored)
tweak ap_get_remote_host() so that the caller can find out if she got
back an IP address

mod_access needed to know this, but the old code didn't handle IPv6

Revision 88274 - (view) (annotate) - [select for diffs]
Modified Thu Feb 22 08:42:09 2001 UTC (8 years, 9 months ago) by dougm
File length: 17207 byte(s)
Diff to previous 88226 (colored)
just making server_signature enum decl easier to read (for both humans and C::Scan)

Revision 88226 - (view) (annotate) - [select for diffs]
Modified Sun Feb 18 03:18:35 2001 UTC (8 years, 9 months ago) by gstein
File length: 17146 byte(s)
Diff to previous 88184 (colored)
shift some declarations over to mod_core.h where they're totally private.

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: 17209 byte(s)
Diff to previous 87970 (colored)
Update copyright to 2001

Revision 87970 - (view) (annotate) - [select for diffs]
Modified Sun Feb 4 03:00:15 2001 UTC (8 years, 9 months ago) by dougm
File length: 17204 byte(s)
Diff to previous 87929 (colored)
fix minor prototype inconsistencies noticed with C::Scan

Revision 87929 - (view) (annotate) - [select for diffs]
Modified Wed Jan 31 18:56:35 2001 UTC (8 years, 9 months ago) by gregames
File length: 17197 byte(s)
Diff to previous 87733 (colored)
get Apache building again after the change to make_exports.awk

yeah, I know, this shouldn't be necessary.  you're preaching to the choir.
but this does the job until make_exports.awk gets slightly more robust.

Revision 87733 - (view) (annotate) - [select for diffs]
Modified Fri Jan 19 13:22:49 2001 UTC (8 years, 10 months ago) by wrowe
File length: 17191 byte(s)
Diff to previous 87731 (colored)
  Normalize the use of AP_DECLARE_DATA

Revision 87731 - (view) (annotate) - [select for diffs]
Modified Fri Jan 19 07:04:36 2001 UTC (8 years, 10 months ago) by wrowe
File length: 17191 byte(s)
Diff to previous 87080 (colored)
  The big change.  This is part 3 of the apr-util symbols rename, please
  see the first commit of srclib/apr-util/include (cvs apr-util/include)
  for the quick glance at symbols changed.

Revision 87080 - (view) (annotate) - [select for diffs]
Modified Sun Nov 26 04:47:43 2000 UTC (9 years ago) by gstein
File length: 17190 byte(s)
Diff to previous 87058 (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 87058 - (view) (annotate) - [select for diffs]
Modified Wed Nov 22 00:40:20 2000 UTC (9 years ago) by rbb
File length: 17110 byte(s)
Diff to previous 87055 (colored)
Next pass at the content-length filter.  Not perfect quite yet, but
getting closer
Submitted by:	Greg Stein

Revision 87055 - (view) (annotate) - [select for diffs]
Modified Tue Nov 21 20:17:20 2000 UTC (9 years ago) by rbb
File length: 17110 byte(s)
Diff to previous 86867 (colored)
Modify the content-length filter to change the criteria used to determine
if/when we compute the content-length.  There are just a few cases now:

        1) We already have all the data
        2) We don't have all the data and:
                2a)  This is a 1.1 request but we can't chunk
                2b)  The is a keep-alive request
	    In the future, we probably want to modify this to not
	    be a keep-alive request.

This filter always buffers 9K of data.  The reason is simple, the core will
buffer 9K at a time anyway, and there is a chance that we may get the end
of the request before we hit 9K.  This increases our chances of being able
to send a c-l.

Revision 86867 - (view) (annotate) - [select for diffs]
Modified Wed Nov 8 11:42:21 2000 UTC (9 years ago) by dreid
File length: 17003 byte(s)
Diff to previous 86647 (colored)
Missed these first time round...  More apr_port_t changes.

Revision 86647 - (view) (annotate) - [select for diffs]
Modified Wed Oct 18 17:42:44 2000 UTC (9 years, 1 month ago) by trawick
File length: 16999 byte(s)
Diff to previous 86642 (colored)
ap_get_client_block() now uses a brigade in core_request_config
instead of a brigade in core_dir_conf.  For now, getline() and
ap_get_client_block() share a brigade.

Revision 86642 - (view) (annotate) - [select for diffs]
Modified Wed Oct 18 15:21:32 2000 UTC (9 years, 1 month ago) by gregames
File length: 17035 byte(s)
Diff to previous 86623 (colored)
Add a core_request_config so we have a safe semi-hidden place to save core data
that lives across function calls during a single request.  Change getline() to
take a request_rec parm (rather than a conn_rec) so we can access the
core_request_config.

This is in preparation for adding look-ahead functionality to getline(), so it
can support header line folding once again.  I'm committing these changes first
so the core_request_config can be used elsewhere (i.e. ap_get_client_block).

Revision 86623 - (view) (annotate) - [select for diffs]
Modified Tue Oct 17 01:35:12 2000 UTC (9 years, 1 month ago) by trawick
File length: 16871 byte(s)
Diff to previous 86613 (colored)
Rename output filters field ("filters") in core_dir_config to
"output_filters" for consistency with the name of the input
filters field ("input_filters").

Revision 86613 - (view) (annotate) - [select for diffs]
Modified Mon Oct 16 19:11:53 2000 UTC (9 years, 1 month ago) by trawick
File length: 16864 byte(s)
Diff to previous 86609 (colored)
input filtering changes:
  get dechunking working
  verify that infrastructure for input filters works
    (use existing AddInputFilter directive)

Unlike with my previous patch, ap_get_client_block() saves state between
calls in the core's per-request dir config.

Unlike with my previous patch, HTTP_IN keeps a count of remaining bytes
in the conn_rec.  Code that needs to prod it to deliver a certain amount
of request body plays with conn_rec->remain directly.

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: 16761 byte(s)
Diff to previous 86403 (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 86403 - (view) (annotate) - [select for diffs]
Modified Thu Oct 5 16:55:10 2000 UTC (9 years, 1 month ago) by trawick
File length: 16744 byte(s)
Diff to previous 86220 (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 86220 - (view) (annotate) - [select for diffs]
Modified Wed Sep 13 23:13:20 2000 UTC (9 years, 2 months ago) by rbb
File length: 16705 byte(s)
Diff to previous 85997 (colored)
Add the AddFilter directive.  This directive takes a list of filter names
that have been previously registered with the server.  Currently the
directive is only valid inside the config file, but once the Options
directive is tweaked a bit, I would feel more comfortable exposing this
directive to htaccess files.

As a part of making adding this filter, I removed the ctx pointer from the
ap_add_filter prototype.  The problem is that the core is the thing that
is actually inserting the filter into the filter stack, but the core doesn't
know how to allocate memory for each filter.  The solution is to have the
filters themselves be responsible for allocating the ctx memory whenever
it is required.

Revision 85997 - (view) (annotate) - [select for diffs]
Modified Sat Aug 5 16:50:39 2000 UTC (9 years, 3 months ago) by rbb
File length: 16676 byte(s)
Diff to previous 85976 (colored)
Document http_core's public APIs for use with ScanDoc.

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: 11671 byte(s)
Diff to previous 85816 (colored)
prefix libapr functions and types with apr_

Revision 85816 - (view) (annotate) - [select for diffs]
Modified Tue Jul 11 00:06:22 2000 UTC (9 years, 4 months ago) by gstein
File length: 11664 byte(s)
Diff to previous 85716 (colored)
shift the LimitXMLRequestBody directive to the core. use it from util_xml.

Revision 85716 - (view) (annotate) - [select for diffs]
Modified Wed Jun 28 07:55:44 2000 UTC (9 years, 4 months ago) by wrowe
File length: 11520 byte(s)
Diff to previous 85715 (colored)
  Whoops... will be needing this exported rsn for mod_mmap_static.  But the
  argument to register hook fn takes a __cdecl function, so _NONSTD it is.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 85715 - (view) (annotate) - [select for diffs]
Modified Wed Jun 28 04:52:39 2000 UTC (9 years, 4 months ago) by wrowe
File length: 11501 byte(s)
Diff to previous 85686 (colored)
  Hook functions aren't translated (and when they are, they are _NONSTD)...
  but you don't need to export a function you will pass by ref to a
  register hook function.

PR:
Obtained from:
Submitted by:
Reviewed by:

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: 11513 byte(s)
Diff to previous 85625 (colored)
blast the old names for the status codes

Revision 85625 - (view) (annotate) - [select for diffs]
Modified Tue Jun 20 04:15:02 2000 UTC (9 years, 5 months ago) by wrowe
File length: 11520 byte(s)
Diff to previous 85623 (colored)
  This Win32 patch adds the key HKCR/filetype/shell/execcgi/command as the
  preference over the HKCR/filetype/shell/open/command for registry-based
  script execution, allowing two behaviors to coexist peacefully (the pipe
  based console behavior and the Win32 shell behavior.)

  The new ScriptInterpreterSource registry-strict directive dismisses bth
  the HKCR/filetype/shell/open/command and the shebang processing for
  administrators who are interested in explicit authorization of file type
  execution allowed in the context of subscriber-created scripts.  The net
  result: only HKCR/filetype/shell/execcgi/command processing is permitted.

  Docs to follow shortly.

PR:
Obtained from:
Submitted by:
Reviewed by:

Revision 85623 - (view) (annotate) - [select for diffs]
Modified Tue Jun 20 03:48:25 2000 UTC (9 years, 5 months ago) by wrowe
File length: 11470 byte(s)
Diff to previous 85595 (colored)
  This patch solves several specific issues:

     1.3.x truncated any open/command arguments following the %1 arg.
           so this patch adds the char** arguments to several functions

     1.3.x did not expand environment strings (%userprofile% etc.)
           *) This patch may still not do so, if we are running with a
              subset of the 'normal' environment for security reasons.

     1.3.x did not parse the extension itself (eg. the .pl key itself)
           for the command, failing the 'named' type (eg. perlscript),
           so this patch first tests the 'named' key, then the .ext key

PR:
Obtained from:
Submitted by:
Reviewed by:

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: 11342 byte(s)
Diff to previous 85449 (colored)
Command handler revamp. Note that this makes the code produce a LOT of
warnings!

Revision 85449 - (view) (annotate) - [select for diffs]
Modified Tue Jun 6 21:45:16 2000 UTC (9 years, 5 months ago) by rbb
File length: 11324 byte(s)
Diff to previous 85439 (colored)
Add the resource limiting code back to Apache 2.0.  This only works on
Unix because I can't find any other platforms with rlimit.  If there are
other platforms that need this code, then some of the code needs to move.
This has just barely been tested, so it could probably use some good
testing.

Revision 85439 - (view) (annotate) - [select for diffs]
Modified Tue Jun 6 04:11:08 2000 UTC (9 years, 5 months ago) by wrowe
File length: 11066 byte(s)
Diff to previous 85437 (colored)
PR:
Obtained from:
Submitted by:
Reviewed by:

  Hmmm... exporting a hook, very interesting :-)

  But the win32 build believes hooks are pretty uninteresting, mostly
  static __cdecl calls, so pound this declaration into NONSTD.

Revision 85437 - (view) (annotate) - [select for diffs]
Modified Tue Jun 6 01:49:30 2000 UTC (9 years, 5 months ago) by trawick
File length: 11059 byte(s)
Diff to previous 85318 (colored)
Port mod_mmap_static to 2.0.  Make it go faster.

core: Export core_translate() as ap_core_translate() for use by
      mod_mmap_static.
Submitted by:	Greg Ames
Reviewed by:	Jeff Trawick

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

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: 11014 byte(s)
Diff to previous 84751 (colored)
Update to Apache Software License version 1.1

Revision 84751 - (view) (annotate) - [select for diffs]
Modified Mon Mar 13 20:27:29 2000 UTC (9 years, 8 months ago) by jim
File length: 11159 byte(s)
Diff to previous 84725 (colored)
Backport the CSS security fixes to Apache 2.0a. Or is that forward
port? My sense of direction is all confused.

PR:
Obtained from:
Submitted by:
Reviewed by:

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: 10856 byte(s)
Diff to previous 84505 (colored)
Fix all the License issues.  Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license

Revision 84505 - (view) (annotate) - [select for diffs]
Modified Fri Jan 21 18:42:45 2000 UTC (9 years, 10 months ago) by stoddard
File length: 10730 byte(s)
Diff to previous 84493 (colored)
Add back the script_interpreter_source code.

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: 10193 byte(s)
Diff to previous 83852 (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 83852 - (view) (annotate) - [select for diffs]
Modified Tue Aug 31 05:35:52 1999 UTC (10 years, 2 months ago) by rbb
File length: 10730 byte(s)
Diff to previous 83763 (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 83763 - (view) (annotate) - [select for diffs]
Modified Thu Aug 26 10:45:57 1999 UTC (10 years, 3 months ago) by fielding
File length: 10667 byte(s)
Diff to previous 83749 (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 83749 - (view) (annotate) - [select for diffs]
Added Tue Aug 24 05:50:50 1999 UTC (10 years, 3 months ago) by fielding
File length: 10925 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