]> granicus.if.org Git - apache/log
apache
19 years agoDon't attempt to remove the cache_file if one was never specified.
Bradley Nicholes [Wed, 9 Mar 2005 18:10:47 +0000 (18:10 +0000)]
Don't attempt to remove the cache_file if one was never specified.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156665 13f79535-47bb-0310-9956-ffa450edef68

19 years agoKeep track of the number of attributes retrieved from LDAP so that all the values...
Bradley Nicholes [Wed, 9 Mar 2005 00:15:01 +0000 (00:15 +0000)]
Keep track of the number of attributes retrieved from LDAP so that all the values can be properly cached even if the value is NULL.  [PR 33901]

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156587 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd ap_mpm_is_experimental and ap_mpm_is_threaded. Use these instead of checking...
Paul Querna [Tue, 8 Mar 2005 22:40:33 +0000 (22:40 +0000)]
Add ap_mpm_is_experimental and ap_mpm_is_threaded.  Use these instead of checking for specific MPMs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156574 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSince prefork is currently the only non-threaded MPM, check for it, instead of testin...
Paul Querna [Tue, 8 Mar 2005 22:06:59 +0000 (22:06 +0000)]
Since prefork is currently the only non-threaded MPM, check for it, instead of testing for each threaded MPM type.  This enables mod_cgid on the Event MPM by default, which is a "Good Thing"(tm).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156572 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake IgnoreCacheControl do what it implies when it comes to requests and
Sander Striker [Tue, 8 Mar 2005 21:11:07 +0000 (21:11 +0000)]
Make IgnoreCacheControl do what it implies when it comes to requests and
freshness checks.

* modules/cache/cache_util.c

  (ap_cache_check_freshness): Ignore CacheControl: max-age and min-fresh
   if IgnoreCacheControl is set.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156567 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake sure that the secure listen sockets that are created and injected into the ap_li...
Bradley Nicholes [Tue, 8 Mar 2005 18:09:43 +0000 (18:09 +0000)]
Make sure that the secure listen sockets that are created and injected into the ap_listeners lists by mod_nw_ssl are handled correctly so that they remain open and reused across restarts.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156556 13f79535-47bb-0310-9956-ffa450edef68

19 years agoImprove caching a bit more...
Sander Striker [Tue, 8 Mar 2005 02:35:50 +0000 (02:35 +0000)]
Improve caching a bit more...

* modules/cache/cache_util.c

  (ap_cache_check_freshness): On Cache-Control/Pragma no-cache force
   revalidation by marking the resource as stale.  Unless IgnoreCacheControl
   is set ofcourse.

* modules/cache/mod_cache.c

  (cache_url_handler): Remove Cache-Control/Pragma no-cache check and
   accompagnying comment.

  (cache_save_filter): Move FIXME comment to the correct location.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156480 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove an unused function.
Sander Striker [Tue, 8 Mar 2005 01:34:32 +0000 (01:34 +0000)]
Remove an unused function.

* cache_util.c
* mod_cache.imp
* mod_cache.h

  (ap_cache_request_is_conditional): Removed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156471 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd two changes entries based on r156306 and r156330.
Justin Erenkrantz [Mon, 7 Mar 2005 07:23:52 +0000 (07:23 +0000)]
Add two changes entries based on r156306 and r156330.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156404 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/cache/cache_util.c (ap_cache_check_freshness): Use r->headers_in not
Justin Erenkrantz [Mon, 7 Mar 2005 07:18:34 +0000 (07:18 +0000)]
* modules/cache/cache_util.c (ap_cache_check_freshness): Use r->headers_in not
  the stored headers for the Cache-Control check.

Pointed out by: Sander Striker

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156401 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore mod_cache tweakage...
Sander Striker [Sun, 6 Mar 2005 18:57:22 +0000 (18:57 +0000)]
More mod_cache tweakage...

* modules/cache/mod_cache.c

  (cache_save_filter): Instead of unconditionally returning a 304 when
   the original request was conditional and we issued a cache revalidating
   request, handle the request as if it came in while our cache was
   still valid.

* modules/cache/cache_storage.c

  (cache_select_url): Strip off the conditional headers from the original
   request, prior to adding our own for the purpose of revalidating our
   cached response.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156330 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTracked down by Justin Erenkrantz.
Sander Striker [Sun, 6 Mar 2005 12:52:46 +0000 (12:52 +0000)]
Tracked down by Justin Erenkrantz.

* modules/cache/mod_disk_cache.c

  (store_headers): Stop second guessing mod_cache and just store the
   headers in a new file (overwriting the old).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156306 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/cache/mod_cache.c
Sander Striker [Sun, 6 Mar 2005 12:43:42 +0000 (12:43 +0000)]
* modules/cache/mod_cache.c

  (cache_url_handler): Tweak a few comments.

  (cache_save_filter): Add a FIXME for a corner case.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156304 13f79535-47bb-0310-9956-ffa450edef68

19 years agoreally bump MMN
Jeff Trawick [Sat, 5 Mar 2005 20:39:32 +0000 (20:39 +0000)]
really bump MMN
Submitted by: Sander Temme

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156279 13f79535-47bb-0310-9956-ffa450edef68

19 years agoworker MPM/mod_status: Support per-worker tracking of pid and
Jeff Trawick [Sat, 5 Mar 2005 20:06:55 +0000 (20:06 +0000)]
worker MPM/mod_status: Support per-worker tracking of pid and
generation in the scoreboard so that mod_status can accurately
represent workers in processes which are gracefully terminating.

New child processes with worker MPM can take over slots of
individual threads within gracefully terminating processes.
Sometimes this is a problem (too many of these gracefully
terminating processes), so it is helpful to have mod_status
provide the information required to recognize these processes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@156274 13f79535-47bb-0310-9956-ffa450edef68

19 years agoWin32: Init the args to mpm_service_install(). Prevents nasty things like segfaults
Bill Stoddard [Tue, 1 Mar 2005 22:38:04 +0000 (22:38 +0000)]
Win32: Init the args to mpm_service_install(). Prevents nasty things like segfaults

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155833 13f79535-47bb-0310-9956-ffa450edef68

19 years agoIf the search fails due to a bad connection, make sure that we unbind the connection...
Bradley Nicholes [Mon, 28 Feb 2005 23:25:26 +0000 (23:25 +0000)]
If the search fails due to a bad connection, make sure that we unbind the connection so that it will be recreated the next time it is used.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155713 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* support/htdigest.c (main): Fix permissions of created files.
Joe Orton [Mon, 28 Feb 2005 14:28:08 +0000 (14:28 +0000)]
* support/htdigest.c (main): Fix permissions of created files.

PR: 33765

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155681 13f79535-47bb-0310-9956-ffa450edef68

19 years agobump pending httpd version
André Malo [Sun, 27 Feb 2005 11:35:58 +0000 (11:35 +0000)]
bump pending httpd version

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155621 13f79535-47bb-0310-9956-ffa450edef68

19 years agosync with 2.0.x branch.
Paul Querna [Sat, 26 Feb 2005 09:04:51 +0000 (09:04 +0000)]
sync with 2.0.x branch.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155392 13f79535-47bb-0310-9956-ffa450edef68

19 years agosvn:eol-style = native
André Malo [Fri, 25 Feb 2005 19:44:14 +0000 (19:44 +0000)]
svn:eol-style = native

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155363 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/dav/main/mod_dav.h: Wrap all public functions in
Justin Erenkrantz [Fri, 25 Feb 2005 16:57:14 +0000 (16:57 +0000)]
* modules/dav/main/mod_dav.h: Wrap all public functions in
  DAV_DECLARE or DAV_DECLARE_NONSTD.
* modules/dav/main/liveprop.c, modules/dav/main/props.c,
  modules/dav/main/util_lock.c, modules/dav/main/mod_dav.c,
  modules/dav/main/std_liveprop.c, modules/dav/main/util.c:
  Update function definitions.

Submitted by: Branko Čibej <brane xbc.nu>
Reviewed by:  Justin Erenkrantz

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155345 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Fri, 25 Feb 2005 15:08:01 +0000 (15:08 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155332 13f79535-47bb-0310-9956-ffa450edef68

19 years agoTypo in german word 'Ausdrueke' -> 'Ausdruecke'
Martin Kraemer [Fri, 25 Feb 2005 08:26:36 +0000 (08:26 +0000)]
Typo in german word 'Ausdrueke' -> 'Ausdruecke'

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155311 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation.
Paul Querna [Fri, 25 Feb 2005 06:29:20 +0000 (06:29 +0000)]
update transformation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155310 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdding some initial docs for the Event MPM.
Paul Querna [Fri, 25 Feb 2005 06:24:06 +0000 (06:24 +0000)]
Adding some initial docs for the Event MPM.
I plan on updating mod/event.xml with more details this weekend.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155309 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMetrowerk compiler can't handle commas in the copyright string
Bradley Nicholes [Thu, 24 Feb 2005 23:15:43 +0000 (23:15 +0000)]
Metrowerk compiler can't handle commas in the copyright string

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155276 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
André Malo [Thu, 24 Feb 2005 19:26:41 +0000 (19:26 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155229 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate transformation.
Joe Orton [Thu, 24 Feb 2005 18:11:57 +0000 (18:11 +0000)]
Update transformation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155219 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMention LFS support.
Joe Orton [Thu, 24 Feb 2005 18:05:49 +0000 (18:05 +0000)]
Mention LFS support.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155217 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/mod_proxy_http.c (ap_proxy_http_process_response): Fix
Joe Orton [Thu, 24 Feb 2005 16:52:34 +0000 (16:52 +0000)]
* modules/proxy/mod_proxy_http.c (ap_proxy_http_process_response): Fix
spurious error at EOF.

PR: 33615

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155209 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* build/NWGNUtail.inc: Update license.
Justin Erenkrantz [Thu, 24 Feb 2005 00:01:15 +0000 (00:01 +0000)]
* build/NWGNUtail.inc: Update license.

Submitted by: Guenter Knauf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@155106 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNote 2.1.3 released as alpha.
Justin Erenkrantz [Wed, 23 Feb 2005 07:07:28 +0000 (07:07 +0000)]
Note 2.1.3 released as alpha.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154978 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOnward ho to 2.1.4.
Justin Erenkrantz [Wed, 23 Feb 2005 06:29:31 +0000 (06:29 +0000)]
Onward ho to 2.1.4.

* CHANGES: Bump.
* include/ap_release.h: Bump.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154973 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* include/ap_release.h: Time for 2.1.3.
Justin Erenkrantz [Wed, 23 Feb 2005 06:27:41 +0000 (06:27 +0000)]
* include/ap_release.h: Time for 2.1.3.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154971 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Reverting a localization I had attempted to fix back on Saturday.
William A. Rowe Jr [Tue, 22 Feb 2005 23:16:18 +0000 (23:16 +0000)]
  Reverting a localization I had attempted to fix back on Saturday.
  Must have closed the svn commit shell a bit to quickly.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154911 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate Brazilian Portuguese translation
André Malo [Sun, 20 Feb 2005 11:24:38 +0000 (11:24 +0000)]
Update Brazilian Portuguese translation

* manual/new_features_2_0.xml.pt-br, manual/upgrading.xml.pt-br: fix typos etc.
* update transformation

Submitted by: Eduardo Tompson Pereira <duaspila ig.com.br>
Reviewed by: Luiz Rocha

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154505 13f79535-47bb-0310-9956-ffa450edef68

19 years agoreplying to why "the edge connection filter cannot be removed" is a
Stas Bekman [Sat, 19 Feb 2005 04:01:01 +0000 (04:01 +0000)]
replying to why "the edge connection filter cannot be removed" is a
showstopper

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154394 13f79535-47bb-0310-9956-ffa450edef68

19 years ago pcre.lib is bound into libhttpd.dll - we no longer need to redistribute
William A. Rowe Jr [Fri, 18 Feb 2005 20:32:05 +0000 (20:32 +0000)]
  pcre.lib is bound into libhttpd.dll - we no longer need to redistribute
  yet another third party lib, while we now have an ap_reg* API exported
  and supported by httpd.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154340 13f79535-47bb-0310-9956-ffa450edef68

19 years ago 80 col style fix, no code harmed.
William A. Rowe Jr [Fri, 18 Feb 2005 17:34:05 +0000 (17:34 +0000)]
  80 col style fix, no code harmed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154329 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Add mod_echo - not built by default, but this drops the warning that
William A. Rowe Jr [Fri, 18 Feb 2005 17:33:33 +0000 (17:33 +0000)]
  Add mod_echo - not built by default, but this drops the warning that
  the module isn't declared in BaseAddr.ref.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154328 13f79535-47bb-0310-9956-ffa450edef68

19 years agoWin32: output some useful debug messages when installing the service
Bill Stoddard [Fri, 18 Feb 2005 17:05:29 +0000 (17:05 +0000)]
Win32: output some useful debug messages when installing the service

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154322 13f79535-47bb-0310-9956-ffa450edef68

19 years agofix compile break with recent rename of real_exit_code to ap_real_exit_code
Bill Stoddard [Fri, 18 Feb 2005 16:33:04 +0000 (16:33 +0000)]
fix compile break with recent rename of real_exit_code to ap_real_exit_code

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154320 13f79535-47bb-0310-9956-ffa450edef68

19 years agoWin32: Move call of mpm_service_install to rewrite_args hook but continue thru post_c...
Bill Stoddard [Fri, 18 Feb 2005 16:31:06 +0000 (16:31 +0000)]
Win32: Move call of mpm_service_install to rewrite_args hook but continue thru post_config to check httpd.conf

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154319 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Fix some symbols which should -not- be exported, and decorate real_exit_code
William A. Rowe Jr [Fri, 18 Feb 2005 00:00:37 +0000 (00:00 +0000)]
  Fix some symbols which should -not- be exported, and decorate real_exit_code
  with ap_ (this symbol must be exported.)  If the others were desired to be
  public, they should have been ap_xxx decorated.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154216 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Belated CHANGES, must have conflicted last time I tried to commit.
William A. Rowe Jr [Thu, 17 Feb 2005 23:55:59 +0000 (23:55 +0000)]
  Belated CHANGES, must have conflicted last time I tried to commit.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154213 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Get httpd-2.1 building once again on win32.
William A. Rowe Jr [Thu, 17 Feb 2005 23:45:16 +0000 (23:45 +0000)]
  Get httpd-2.1 building once again on win32.

  NEVER NEVER screw around with redeclaring AP_ macros and constants.
  If the compiler won't pick them up, e.g., AP_DECLARE, ya've done
  something wrong from the start.

  All httpd/ap headers depend on httpd.h - plain and simple, so this
  un-convolutes the unusual order here.

  STATIC has become PCRE_STATIC, along with some other odd definitions.
  The only remaining emit is that _pcre_free export is imported, which
  implies something is unusual with the declaration.  Still researching.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154207 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove unused variable.
Paul Querna [Thu, 17 Feb 2005 23:18:27 +0000 (23:18 +0000)]
Remove unused variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154202 13f79535-47bb-0310-9956-ffa450edef68

19 years ago*) include/httpd.h: Add a brigade for temporary uses in the core input filter context.
Paul Querna [Thu, 17 Feb 2005 22:53:07 +0000 (22:53 +0000)]
*) 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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154200 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix a syntax error when DEBUGGING is defined.
Paul Querna [Thu, 17 Feb 2005 22:02:16 +0000 (22:02 +0000)]
Fix a syntax error when DEBUGGING is defined.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154199 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate transformation
Astrid Malo [Thu, 17 Feb 2005 20:58:41 +0000 (20:58 +0000)]
update transformation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154191 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate German translation
Astrid Malo [Thu, 17 Feb 2005 20:34:31 +0000 (20:34 +0000)]
update German translation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154186 13f79535-47bb-0310-9956-ffa450edef68

19 years agotypo
Astrid Malo [Thu, 17 Feb 2005 20:21:04 +0000 (20:21 +0000)]
typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154184 13f79535-47bb-0310-9956-ffa450edef68

19 years agorestore google-ability of an ancient message of great importance
Jeff Trawick [Wed, 16 Feb 2005 16:44:26 +0000 (16:44 +0000)]
restore google-ability of an ancient message of great importance

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@154044 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/ssl/mod_ssl.h: Add ssl_ext_lookup optional hook declaration.
Joe Orton [Tue, 15 Feb 2005 12:39:45 +0000 (12:39 +0000)]
* modules/ssl/mod_ssl.h: Add ssl_ext_lookup optional hook declaration.

* modules/ssl/ssl_engine_vars.c (ssl_ext_lookup): New function.
(ssl_var_register): Register optional function.

* modules/ssl/ssl_private.h (ssl_ext_lookup): Add prototype.

Submitted by: David Reid, Joe Orton

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153933 13f79535-47bb-0310-9956-ffa450edef68

19 years agoFix 'Anonymous *', which denied access
André Malo [Mon, 14 Feb 2005 17:55:54 +0000 (17:55 +0000)]
Fix 'Anonymous *', which denied access

* modules/aaa/mod_authn_anon.c (check_anonymous):
    don't return AUTH_USER_NOT_FOUND if conf->anyuserid is configured.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153815 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOne more NetWare tweak for the PCRE shakeup
Bradley Nicholes [Mon, 14 Feb 2005 17:27:03 +0000 (17:27 +0000)]
One more NetWare tweak for the PCRE shakeup

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153809 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* NWGNUmakefile: Update for PCRE changes.
Joe Orton [Mon, 14 Feb 2005 12:44:49 +0000 (12:44 +0000)]
* NWGNUmakefile: Update for PCRE changes.

Submitted by: NormW <normw bocnet.com.au>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153780 13f79535-47bb-0310-9956-ffa450edef68

19 years agoImprove interaction with caches in mod_dav.
Sander Striker [Mon, 14 Feb 2005 09:46:19 +0000 (09:46 +0000)]
Improve interaction with caches in mod_dav.

* modules/dav/main/mod_dav.c

  (dav_method_get): Check for conditionals.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153754 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNote changes.
Joe Orton [Fri, 11 Feb 2005 15:45:28 +0000 (15:45 +0000)]
Note changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153416 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* include/httpd.h: Fix a comment.
Joe Orton [Fri, 11 Feb 2005 15:03:12 +0000 (15:03 +0000)]
* include/httpd.h: Fix a comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153408 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* include/ap_regex.h: Include apr.h not stdlib.h; replace pointless
Joe Orton [Fri, 11 Feb 2005 14:57:34 +0000 (14:57 +0000)]
* 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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153407 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSupport use of an external copy of the PCRE library:
Joe Orton [Fri, 11 Feb 2005 14:08:24 +0000 (14:08 +0000)]
Support use of an external copy of the PCRE library:

* configure.in: Set abs_{builddir,srcdir} higher.  Add --with-pcre
flag; build against external PCRE library if used.

* Makefile.in (install-include): Don't install pcre headers any more.

* srclib/Makefile.in (SUBDIRS): Remove.

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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153400 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* include/util_ldap.h (util_ldap_state_t): Fix gcc format string
Joe Orton [Fri, 11 Feb 2005 12:22:16 +0000 (12:22 +0000)]
* include/util_ldap.h (util_ldap_state_t): Fix gcc format string
warnings: use a long for connectionTimeout since the code expects a
long.

* modules/ldap/util_ldap.c (compare_client_certs): Make static to fix
gcc missing-prototype warning.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153390 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/cache/mod_disk_cache.c (store_body): Fix format string
Joe Orton [Fri, 11 Feb 2005 12:16:06 +0000 (12:16 +0000)]
* modules/cache/mod_disk_cache.c (store_body): Fix format string
warnings; print integers using _FMT strings.

* modules/cache/cache_util.c (ap_cache_check_freshness): Remove unused
variable.

* modules/cache/cache_storage.c (cache_select_url): Remove unused
variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153385 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMove the POSIX reg* implementations into the ap_* namespace;
Joe Orton [Fri, 11 Feb 2005 12:00:41 +0000 (12:00 +0000)]
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

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153384 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Move the
Joe Orton [Thu, 10 Feb 2005 18:28:43 +0000 (18:28 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Move the
SSLUsername-controlled assignment of r->user above the SSLRequire
checks so that the "username" gets logged if SSLRequire denies access.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153280 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* Makefile.in: Use buildmark.o not .lo since it was COMPILEd
Joe Orton [Thu, 10 Feb 2005 16:38:47 +0000 (16:38 +0000)]
* Makefile.in: Use buildmark.o not .lo since it was COMPILEd
not LT_COMPILEd.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153273 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore tweaks primarily driven by caching.
Sander Striker [Thu, 10 Feb 2005 15:41:23 +0000 (15:41 +0000)]
More tweaks primarily driven by caching.

* modules/http/http_protocol.c

  (ap_meets_conditions): Allow If-None-Modified and If-Modified-Since
   to interact as described in RFC2616, sections 14.26 and 13.3.4.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153270 13f79535-47bb-0310-9956-ffa450edef68

19 years agoOnly recompile buildmark.c when we have to relink httpd.
Justin Erenkrantz [Thu, 10 Feb 2005 15:32:05 +0000 (15:32 +0000)]
Only recompile buildmark.c when we have to relink httpd.

This allows us to be able to do a make on an up-to-date tree without forcing
a recompile and relink.  Yay!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153266 13f79535-47bb-0310-9956-ffa450edef68

19 years agobuild all and add new japanese transformations
André Malo [Wed, 9 Feb 2005 21:01:06 +0000 (21:01 +0000)]
build all and add new japanese transformations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153117 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDocs update. Refresh as well as fold in (better??) docs
Jim Jagielski [Wed, 9 Feb 2005 20:47:47 +0000 (20:47 +0000)]
Docs update. Refresh as well as fold in (better??) docs
about balancer.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153116 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNow that the crisis has passed, update the CHANGES entry... =)
Justin Erenkrantz [Wed, 9 Feb 2005 19:13:52 +0000 (19:13 +0000)]
Now that the crisis has passed, update the CHANGES entry...  =)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153107 13f79535-47bb-0310-9956-ffa450edef68

19 years agoRemove formatting characters from ap_log_error() calls. These
Jeff Trawick [Wed, 9 Feb 2005 19:01:43 +0000 (19:01 +0000)]
Remove formatting characters from ap_log_error() calls.  These
were escaped as fallout from CAN-2003-0020.

Submitted by: Eric Covener <ecovener gmail.com>
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153105 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSome minimal tweaks to mod_cache.
Sander Striker [Wed, 9 Feb 2005 18:56:41 +0000 (18:56 +0000)]
Some minimal tweaks to mod_cache.

* modules/cache/mod_mem_cache.c

  (store_headers): Remove unused variable.

* modules/cache/mod_cache.c

  (cache_save_filter): Slightly improve comment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153104 13f79535-47bb-0310-9956-ffa450edef68

19 years agofix function name in developer doc
Jeff Trawick [Wed, 9 Feb 2005 17:35:05 +0000 (17:35 +0000)]
fix function name in developer doc

PR: 33438
Submitted by: Bojan Smojver
Reviewed by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153092 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNew Japanese translation.
Hiroaki Kawai [Wed, 9 Feb 2005 14:24:17 +0000 (14:24 +0000)]
New Japanese translation.
English revision: 151408
Submitted by: yoshiki
Reviewed by: kawai

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153064 13f79535-47bb-0310-9956-ffa450edef68

19 years agoNew Japanese translation.
Hiroaki Kawai [Wed, 9 Feb 2005 13:46:06 +0000 (13:46 +0000)]
New Japanese translation.
Submitted by: yoshiki
Reviewed by: kawai

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@153061 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore work to properly handle revalidated responses correctly.
Justin Erenkrantz [Wed, 9 Feb 2005 01:38:59 +0000 (01:38 +0000)]
More work to properly handle revalidated responses correctly.

* modules/cache/mod_cache.c: If we add a new Expires value, tell our client;
  merge in headers properly (or better than before) so that we can update the
  header fields on a revalidated but with updated header fields.
* modules/cache/mod_cache.h, modules/cache/cache_storage.c:
  Add preserve_orig flag to ap_cache_accept_headers to allow updating of fields.
* modules/cache/mod_disk_cache.c: Load status value from disk.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152973 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/mod_proxy_ajp.c
Sander Striker [Wed, 9 Feb 2005 00:21:49 +0000 (00:21 +0000)]
* modules/proxy/mod_proxy_ajp.c

  (proxy_ajp_handler): Log error when a backend connection could not
    be made.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152966 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/proxy_util.c
Sander Striker [Tue, 8 Feb 2005 23:57:50 +0000 (23:57 +0000)]
* modules/proxy/proxy_util.c

  (ap_proxy_pre_request): Log an error when all workers are busy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152964 13f79535-47bb-0310-9956-ffa450edef68

19 years agoAdd a target to build the prebuild utilities on NetWare
Bradley Nicholes [Tue, 8 Feb 2005 23:17:38 +0000 (23:17 +0000)]
Add a target to build the prebuild utilities on NetWare

Submitted by: Guenter Knauf <fuankg@apache.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152957 13f79535-47bb-0310-9956-ffa450edef68

19 years agoStop exposing source filenames in the configuration files.
Sander Striker [Tue, 8 Feb 2005 22:31:56 +0000 (22:31 +0000)]
Stop exposing source filenames in the configuration files.

* docs\conf\httpd-win.conf
* docs\conf\httpd-std.conf.in

  Replace all occurences of *.c with *_module within
  IfModule clauses, as pointed out by Paul Querna to
  be possible nowadays.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152951 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMore mod_cache tweakage.
Sander Striker [Tue, 8 Feb 2005 22:23:31 +0000 (22:23 +0000)]
More mod_cache tweakage.

* modules/cache/cache_storage.c

  (cache_select_url): Add If-Modified-Since regardless of having
    an ETag or not.  See: RFC2616, 14.26.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152948 13f79535-47bb-0310-9956-ffa450edef68

19 years agoMake the function declaration match the prototype
Bradley Nicholes [Tue, 8 Feb 2005 19:41:15 +0000 (19:41 +0000)]
Make the function declaration match the prototype

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152927 13f79535-47bb-0310-9956-ffa450edef68

19 years agoReturn the proper status and headers when serving a revalidated response.
Justin Erenkrantz [Tue, 8 Feb 2005 17:56:38 +0000 (17:56 +0000)]
Return the proper status and headers when serving a revalidated response.

* modules/cache/mod_cache.c
  (cache_save_filter): Load in the cached status and headers; send a flush
  rather than an EOS when the client request is conditional.
* modules/cache/mod_cache.h: Export ap_cache_accept_headers.
* modules/cache/cache_storage.c: Rename accept_headers to
  ap_cache_accept_headers.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152680 13f79535-47bb-0310-9956-ffa450edef68

19 years agoCleanup structures in mod_cache and friends to remove unused or unnecessary
Justin Erenkrantz [Tue, 8 Feb 2005 17:39:56 +0000 (17:39 +0000)]
Cleanup structures in mod_cache and friends to remove unused or unnecessary
fields.  Also resolves a number of latent bugs due to the wrong fields being
accessed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152679 13f79535-47bb-0310-9956-ffa450edef68

19 years agoIf we rec' a bad response header line, ignore what we've
Jim Jagielski [Tue, 8 Feb 2005 16:08:53 +0000 (16:08 +0000)]
If we rec' a bad response header line, ignore what we've
rec'd so far and force BAD_GATEWAY.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@152676 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/cache/mod_cache.h: Move the structure declaration of cache_handle
Justin Erenkrantz [Tue, 8 Feb 2005 02:05:05 +0000 (02:05 +0000)]
* modules/cache/mod_cache.h: Move the structure declaration of cache_handle
near its typedef declaration.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151817 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/cache/mod_cache.c: One more try at proper handling of revalidated
Justin Erenkrantz [Tue, 8 Feb 2005 02:03:47 +0000 (02:03 +0000)]
* modules/cache/mod_cache.c: One more try at proper handling of revalidated
responses.

...All together now, we hate uninitialized variables...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151816 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/cache/mod_disk_cache.c: Properly load cached ETag from on-disk
Justin Erenkrantz [Tue, 8 Feb 2005 02:01:46 +0000 (02:01 +0000)]
* modules/cache/mod_disk_cache.c: Properly load cached ETag from on-disk
structures.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151815 13f79535-47bb-0310-9956-ffa450edef68

19 years agoDocument the new optional parameter for AuthLDAPUrl
Bradley Nicholes [Mon, 7 Feb 2005 19:08:58 +0000 (19:08 +0000)]
Document the new optional parameter for AuthLDAPUrl

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151743 13f79535-47bb-0310-9956-ffa450edef68

19 years agoBetter handle the case where ProxyBadHeader StartBody is
Jim Jagielski [Mon, 7 Feb 2005 15:41:28 +0000 (15:41 +0000)]
Better handle the case where ProxyBadHeader StartBody is
in effect and we think we've started reading in the
response body. Take advantage of the fact that the
line read is still in buffer (and document that)
to allow us to add to the bb.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151722 13f79535-47bb-0310-9956-ffa450edef68

19 years agoChange where we set r->user if we're setting it from a
David Reid [Sat, 5 Feb 2005 14:20:26 +0000 (14:20 +0000)]
Change where we set r->user if we're setting it from a
client certificate.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151493 13f79535-47bb-0310-9956-ffa450edef68

19 years ago Ignore both PATH_INFO as well as PATH_TRANSLATED to avoid hiccups
William A. Rowe Jr [Sat, 5 Feb 2005 01:41:52 +0000 (01:41 +0000)]
  Ignore both PATH_INFO as well as PATH_TRANSLATED to avoid hiccups
  from additional path information passed in non-utf-8 format.

Submitted by: Richard Donkin <rd9 donkin.org>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151464 13f79535-47bb-0310-9956-ffa450edef68

19 years agoupdate revision references
André Malo [Fri, 4 Feb 2005 20:49:18 +0000 (20:49 +0000)]
update revision references

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151414 13f79535-47bb-0310-9956-ffa450edef68

19 years agoUpdate copyright year to 2005 and standardize on current copyright owner line.
Justin Erenkrantz [Fri, 4 Feb 2005 20:28:49 +0000 (20:28 +0000)]
Update copyright year to 2005 and standardize on current copyright owner line.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSync with httpd-2.0 changes.
Justin Erenkrantz [Fri, 4 Feb 2005 20:27:11 +0000 (20:27 +0000)]
Sync with httpd-2.0 changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151406 13f79535-47bb-0310-9956-ffa450edef68

19 years ago* modules/proxy/config.m4: Fix mod_proxy build after filename changes.
Joe Orton [Fri, 4 Feb 2005 07:57:10 +0000 (07:57 +0000)]
* modules/proxy/config.m4: Fix mod_proxy build after filename changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151329 13f79535-47bb-0310-9956-ffa450edef68

19 years agoSync CHANGES with 2.0.x.
Justin Erenkrantz [Fri, 4 Feb 2005 00:30:33 +0000 (00:30 +0000)]
Sync CHANGES with 2.0.x.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151273 13f79535-47bb-0310-9956-ffa450edef68