cvs commit: apache-1.3/src/include hsregex.h

1998-07-09 Thread dgaudet
dgaudet 98/07/08 16:59:22

  Modified:src/include hsregex.h
  Log:
  go with brian's change
  
  Revision  ChangesPath
  1.9   +0 -6  apache-1.3/src/include/hsregex.h
  
  Index: hsregex.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/hsregex.h,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- hsregex.h 1998/07/08 17:47:00 1.8
  +++ hsregex.h 1998/07/08 23:59:21 1.9
  @@ -1,21 +1,15 @@
   #ifndef _REGEX_H_
   #define  _REGEX_H_   /* never again */
  -
  -/* for 8-bit ctype stuff */
  -#include apctype.h
  -
   /* = begin header generated by ./mkh = */
   #ifdef __cplusplus
   extern C {
   #endif
   
   /* === regex2.h === */
  -#ifndef API_EXPORT
   #ifdef WIN32
   #define API_EXPORT(type)__declspec(dllexport) type __stdcall
   #else
   #define API_EXPORT(type)type
  -#endif
   #endif
   
   typedef off_t regoff_t;
  
  
  


cvs commit: apache-1.3/src/include hsregex.h

1998-07-09 Thread dgaudet
dgaudet 98/07/08 17:04:57

  Modified:src/regex mkh regex2.h
   src/include hsregex.h
  Log:
  at least I'm not the only one that was confused by this
  
  Revision  ChangesPath
  1.3   +2 -0  apache-1.3/src/regex/mkh
  
  Index: mkh
  ===
  RCS file: /export/home/cvs/apache-1.3/src/regex/mkh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mkh   1997/11/05 12:48:25 1.2
  +++ mkh   1998/07/09 00:04:56 1.3
  @@ -48,6 +48,8 @@
esac
   done
   
  +echo /* DON'T EVEN THINK ABOUT EDITING THIS, go see regex/Makefile,
  +echo  * search for mkh */
   if test  $ifndef !=  
   then
echo #ifndef $ifndef
  
  
  
  1.6   +2 -0  apache-1.3/src/regex/regex2.h
  
  Index: regex2.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/regex/regex2.h,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- regex2.h  1998/07/08 17:47:27 1.5
  +++ regex2.h  1998/07/09 00:04:56 1.6
  @@ -1,9 +1,11 @@
   /*
* First, the stuff that ends up in the outside-world include file
  + = #ifndef API_EXPORT
= #ifdef WIN32
= #define API_EXPORT(type)__declspec(dllexport) type __stdcall
= #else
= #define API_EXPORT(type)type
  + = #endif
= #endif
=
= typedef off_t regoff_t;
  
  
  
  1.10  +4 -0  apache-1.3/src/include/hsregex.h
  
  Index: hsregex.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/hsregex.h,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- hsregex.h 1998/07/08 23:59:21 1.9
  +++ hsregex.h 1998/07/09 00:04:57 1.10
  @@ -1,3 +1,5 @@
  +/* DON'T EVEN THINK ABOUT EDITING THIS, go see regex/Makefile,
  + * search for mkh */
   #ifndef _REGEX_H_
   #define  _REGEX_H_   /* never again */
   /* = begin header generated by ./mkh = */
  @@ -6,10 +8,12 @@
   #endif
   
   /* === regex2.h === */
  +#ifndef API_EXPORT
   #ifdef WIN32
   #define API_EXPORT(type)__declspec(dllexport) type __stdcall
   #else
   #define API_EXPORT(type)type
  +#endif
   #endif
   
   typedef off_t regoff_t;
  
  
  


cvs commit: apache-1.3/src/os/unix Makefile.tmpl

1998-07-09 Thread dgaudet
dgaudet 98/07/08 17:08:48

  Modified:src  Makefile.tmpl
   src/ap   Makefile.tmpl
   src/main Makefile.tmpl
   src/modules/proxy Makefile.tmpl
   src/modules/standard Makefile.tmpl
   src/modules/test Makefile.tmpl
   src/os/unix Makefile.tmpl
  Log:
  update dependencies
  
  Revision  ChangesPath
  1.98  +5 -4  apache-1.3/src/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===
  RCS file: /export/home/cvs/apache-1.3/src/Makefile.tmpl,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- Makefile.tmpl 1998/06/16 03:49:57 1.97
  +++ Makefile.tmpl 1998/07/09 00:08:43 1.98
  @@ -111,8 +111,9 @@
   $(OBJS): Makefile
   
   # DO NOT REMOVE
  -buildmark.o: buildmark.c include/conf.h os/unix/os.h include/httpd.h \
  - include/alloc.h include/buff.h include/ap.h include/util_uri.h
  +buildmark.o: buildmark.c include/conf.h os/unix/os.h include/apctype.h \
  + include/hsregex.h include/httpd.h include/alloc.h include/buff.h \
  + include/ap.h include/util_uri.h
   modules.o: modules.c include/httpd.h include/conf.h os/unix/os.h \
  - include/alloc.h include/buff.h include/ap.h include/util_uri.h \
  - include/http_config.h
  + include/apctype.h include/hsregex.h include/alloc.h include/buff.h \
  + include/ap.h include/util_uri.h include/http_config.h
  
  
  
  1.25  +10 -5 apache-1.3/src/ap/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===
  RCS file: /export/home/cvs/apache-1.3/src/ap/Makefile.tmpl,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Makefile.tmpl 1998/06/19 21:02:33 1.24
  +++ Makefile.tmpl 1998/07/09 00:08:43 1.25
  @@ -40,17 +40,22 @@
   
   # DO NOT REMOVE
   ap_cpystrn.o: ap_cpystrn.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  - $(OSDIR)/os.h $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  + $(OSDIR)/os.h $(INCDIR)/apctype.h $(INCDIR)/hsregex.h \
  + $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
$(INCDIR)/util_uri.h
   ap_execve.o: ap_execve.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  - $(OSDIR)/os.h $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  + $(OSDIR)/os.h $(INCDIR)/apctype.h $(INCDIR)/hsregex.h \
  + $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
$(INCDIR)/util_uri.h
   ap_signal.o: ap_signal.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  - $(OSDIR)/os.h $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  + $(OSDIR)/os.h $(INCDIR)/apctype.h $(INCDIR)/hsregex.h \
  + $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
$(INCDIR)/util_uri.h
   ap_slack.o: ap_slack.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  - $(OSDIR)/os.h $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  + $(OSDIR)/os.h $(INCDIR)/apctype.h $(INCDIR)/hsregex.h \
  + $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
$(INCDIR)/util_uri.h $(INCDIR)/http_log.h
   ap_snprintf.o: ap_snprintf.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  - $(OSDIR)/os.h $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  + $(OSDIR)/os.h $(INCDIR)/apctype.h $(INCDIR)/hsregex.h \
  + $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
$(INCDIR)/util_uri.h
  
  
  
  1.29  +37 -22apache-1.3/src/main/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===
  RCS file: /export/home/cvs/apache-1.3/src/main/Makefile.tmpl,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- Makefile.tmpl 1998/05/29 18:20:54 1.28
  +++ Makefile.tmpl 1998/07/09 00:08:44 1.29
  @@ -59,25 +59,30 @@
   
   # DO NOT REMOVE
   alloc.o: alloc.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(OSDIR)/os.h \
  - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  - $(INCDIR)/util_uri.h $(INCDIR)/multithread.h $(INCDIR)/http_log.h
  + $(INCDIR)/apctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
  + $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
  + $(INCDIR)/multithread.h $(INCDIR)/http_log.h
   buff.o: buff.c $(INCDIR)/httpd.h $(INCDIR)/conf.h $(OSDIR)/os.h \
  - $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  - $(INCDIR)/util_uri.h $(INCDIR)/http_main.h $(INCDIR)/http_log.h
  + $(INCDIR)/apctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
  + $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
  + $(INCDIR)/http_main.h $(INCDIR)/http_log.h
   fnmatch.o: fnmatch.c $(INCDIR)/conf.h $(OSDIR)/os.h \
  - $(INCDIR)/fnmatch.h
  + $(INCDIR)/apctype.h $(INCDIR)/hsregex.h $(INCDIR)/fnmatch.h
   gen_test_char.o: gen_test_char.c $(INCDIR)/httpd.h $(INCDIR)/conf.h \
  - $(OSDIR)/os.h $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
  + $(OSDIR)/os.h $(INCDIR)/apctype.h $(INCDIR)/hsregex.h \
  + $(INCDIR)/alloc.h $(INCDIR)/buff.h $(INCDIR)/ap.h \
$(INCDIR)/util_uri.h
   gen_uri_delims.o: gen_uri_delims.c
   http_config.o: 

cvs commit: apache-1.3/src/include http_config.h

1998-07-09 Thread dgaudet
dgaudet 98/07/08 17:09:22

  Modified:src/include http_config.h
  Log:
  bump for ap_isfoo changes
  
  Revision  ChangesPath
  1.89  +1 -1  apache-1.3/src/include/http_config.h
  
  Index: http_config.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/http_config.h,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- http_config.h 1998/06/29 19:02:03 1.88
  +++ http_config.h 1998/07/09 00:09:21 1.89
  @@ -275,7 +275,7 @@
* handle it back-compatibly, or at least signal an error).
*/
   
  -#define MODULE_MAGIC_NUMBER 19980627
  +#define MODULE_MAGIC_NUMBER 19980708
   #define STANDARD_MODULE_STUFF MODULE_MAGIC_NUMBER, -1, __FILE__, NULL, NULL
   
   /* Generic accessors for other modules to get at their own module-specific
  
  
  


cvs commit: apache-1.3/src/modules/proxy proxy_cache.c

1998-07-09 Thread rse
rse 98/07/09 02:52:22

  Modified:src/modules/proxy proxy_cache.c
  Log:
  Add one more level of parenthesis because the (long) cast has to
  apply to the complete expression or GCC still complains with:
  
  proxy_cache.c:334: warning: long int format, different type arg (arg 6)
  proxy_cache.c:365: warning: long int format, different type arg (arg 6)
  
  Revision  ChangesPath
  1.45  +2 -2  apache-1.3/src/modules/proxy/proxy_cache.c
  
  Index: proxy_cache.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/proxy/proxy_cache.c,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -r1.44 -r1.45
  --- proxy_cache.c 1998/06/13 15:22:59 1.44
  +++ proxy_cache.c 1998/07/09 09:52:20 1.45
  @@ -331,7 +331,7 @@
   if (cmp_long61(curbytes, cachesize)  0L) {
ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, r-server,
 proxy GC: Cache is %ld%% full (nothing deleted),
  -  
(long)((curbytes.upper20)|(curbytes.lower10))*100/conf-space);
  +  
(long)(((curbytes.upper20)|(curbytes.lower10))*100/conf-space));
ap_unblock_alarms();
return;
   }
  @@ -362,7 +362,7 @@
   
   ap_log_error(APLOG_MARK, APLOG_DEBUG|APLOG_NOERRNO, r-server,
 proxy GC: Cache is %ld%% full (%d deleted),
  -  
(long)((curbytes.upper20)|(curbytes.lower10))*100/conf-space, i);
  +  
(long)(((curbytes.upper20)|(curbytes.lower10))*100/conf-space), i);
   ap_unblock_alarms();
   }
   
  
  
  


cvs commit: apache-1.3/conf magic

1998-07-09 Thread coar
coar98/07/09 04:24:56

  Modified:src  CHANGES
   conf magic
  Log:
Add the !DOCTYPE HTML magic cookie for mod_mime_magic.
  
  PR:   2574
  Submitted by: Anna Shergold [EMAIL PROTECTED]
  Reviewed by:  Ken Coar
  
  Revision  ChangesPath
  1.955 +4 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.954
  retrieving revision 1.955
  diff -u -r1.954 -r1.955
  --- CHANGES   1998/07/08 17:46:53 1.954
  +++ CHANGES   1998/07/09 11:24:54 1.955
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3.1
   
  +  *) Add the !DOCTYPE HTML magic cookie used by modern documents (and
  + required by HTML 3.2 and later) to conf/magic.
  + [Anna Shergold [EMAIL PROTECTED]]
  +
 *) Fix yet another signal-based race condition involving nested timers.
Signals suck.  [Dean Gaudet]
   
  
  
  
  1.2   +3 -0  apache-1.3/conf/magic
  
  Index: magic
  ===
  RCS file: /export/home/cvs/apache-1.3/conf/magic,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- magic 1997/07/07 18:18:36 1.1
  +++ magic 1998/07/09 11:24:56 1.2
  @@ -170,7 +170,10 @@
   # html:  file(1) magic for HTML (HyperText Markup Language) docs
   #
   # from Daniel Quinlan [EMAIL PROTECTED]
  +# and Anna Shergold [EMAIL PROTECTED]
   #
  +0string  \!DOCTYPE\ HTMLtext/html
  +0string  \!doctype\ htmltext/html
   0string  \HEAD  text/html
   0string  \head  text/html
   0string  \TITLE text/html
  
  
  


cvs commit: apache-1.3/src/include compat.h

1998-07-09 Thread rse
rse 98/07/09 05:11:36

  Modified:src/include compat.h
  Log:
  Add back-compat entry for ap_is_empty_table which Ben forgot last time
  when he renamed the define.
  
  Revision  ChangesPath
  1.13  +1 -0  apache-1.3/src/include/compat.h
  
  Index: compat.h
  ===
  RCS file: /export/home/cvs/apache-1.3/src/include/compat.h,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- compat.h  1998/07/04 16:07:26 1.12
  +++ compat.h  1998/07/09 12:11:35 1.13
  @@ -174,6 +174,7 @@
   #define invoke_handler ap_invoke_handler
   #define is_default_portap_is_default_port
   #define is_directory   ap_is_directory
  +#define is_empty_table ap_is_empty_table
   #define is_fnmatch ap_is_fnmatch
   #define is_initial_req ap_is_initial_req
   #define is_matchexpap_is_matchexp
  
  
  


cvs commit: apache-1.3/src/modules/standard mod_rewrite.c

1998-07-09 Thread rse
rse 98/07/09 10:13:58

  Modified:src/modules/standard mod_rewrite.c
  Log:
  Replace a very old in-place hack for APACHE_SSL with a more clean
  ap_http_method() based variant (which is still ok for Apache-SSL because it
  patches ap_http_method() itself). This way there is now really _no_ sort of
  crypto hook in the official Apache distribution ;-)
  
  Revision  ChangesPath
  1.122 +9 -9  apache-1.3/src/modules/standard/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_rewrite.c,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- mod_rewrite.c 1998/07/08 17:47:18 1.121
  +++ mod_rewrite.c 1998/07/09 17:13:56 1.122
  @@ -2330,21 +2330,21 @@
   char host[LONG_STRING_LEN];
   char buf[MAX_STRING_LEN];
   char *olduri;
  +int l;
   
  -#ifdef APACHE_SSL
  -if (   (!r-connection-client-ssl 
  -strncasecmp(r-filename, http://;, 7) == 0)
  -|| (r-connection-client-ssl 
  -strncasecmp(r-filename, https://;, 8) == 0)) {
  -#else
  -if (strncasecmp(r-filename, http://;, 7) == 0) {
  -#endif
  +cp = ap_http_method(r);
  +l  = strlen(cp);
  +if (   strlen(r-filename)  l+3 
  + strncasecmp(r-filename, cp, l) == 0
  + r-filename[l]   == ':'
  + r-filename[l+1] == '/'
  + r-filename[l+2] == '/' ) {
   /* there was really a rewrite to a remote path */
   
   olduri = ap_pstrdup(r-pool, r-filename); /* save for logging */
   
   /* cut the hostname and port out of the URI */
  -ap_cpystrn(buf, r-filename+strlen(ap_http_method(r))+3, 
sizeof(buf));
  +ap_cpystrn(buf, r-filename+(l+3), sizeof(buf));
   hostp = buf;
   for (cp = hostp; *cp != '\0'  *cp != '/'  *cp != ':'; cp++)
   ;
  
  
  


cvs commit: apache-1.3/src/modules/proxy mod_proxy.c mod_proxy.h proxy_cache.c proxy_ftp.c proxy_http.c proxy_util.c

1998-07-09 Thread martin
martin  98/07/09 12:45:59

  Modified:htdocs/manual/mod directives.html mod_proxy.html
   src/modules/proxy mod_proxy.c mod_proxy.h proxy_cache.c
proxy_ftp.c proxy_http.c proxy_util.c
  Log:
  cache in the event that the client cancels the transfer, provided that
  the configured percentage of the file has already been transfered.
  It works for http transfers only.
  
  The new httpd.conf directive is:
  CacheForceCompletion percentage
  
  PR: 2277
  Submitted by: Glen Parker [EMAIL PROTECTED]
  Reviewed by:  Martin Kraemer, Brian Behlendorf
  
  Revision  ChangesPath
  1.47  +1 -0  apache-1.3/htdocs/manual/mod/directives.html
  
  Index: directives.html
  ===
  RCS file: /home/cvs/apache-1.3/htdocs/manual/mod/directives.html,v
  retrieving revision 1.46
  retrieving revision 1.47
  diff -u -u -r1.46 -r1.47
  --- directives.html   1998/06/16 03:37:15 1.46
  +++ directives.html   1998/07/09 19:45:40 1.47
  @@ -71,6 +71,7 @@
   LIA HREF=mod_proxy.html#cachedefaultexpireCacheDefaultExpire/A
   LIA HREF=mod_proxy.html#cachedirlengthCacheDirLength/A
   LIA HREF=mod_proxy.html#cachedirlevelsCacheDirLevels/A
  +LIA HREF=mod_proxy.html#cacheforcecompletionCacheForceCompletion/A
   LIA HREF=mod_proxy.html#cachegcintervalCacheGcInterval/A
   LIA 
HREF=mod_proxy.html#cachelastmodifiedfactorCacheLastModifiedFactor/A
   LIA HREF=mod_proxy.html#cachemaxexpireCacheMaxExpire/A
  
  
  
  1.41  +42 -0 apache-1.3/htdocs/manual/mod/mod_proxy.html
  
  Index: mod_proxy.html
  ===
  RCS file: /home/cvs/apache-1.3/htdocs/manual/mod/mod_proxy.html,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -u -r1.40 -r1.41
  --- mod_proxy.html1998/06/16 02:11:31 1.40
  +++ mod_proxy.html1998/07/09 19:45:40 1.41
  @@ -56,6 +56,7 @@
   LIA HREF=#cachegcintervalCacheGcInterval/A
   LIA HREF=#cachedirlevelsCacheDirLevels/A
   LIA HREF=#cachedirlengthCacheDirLength/A
  +LIA HREF=#cacheforcecompletionCacheForceCompletion/A
   LIA HREF=#nocacheNoCache/A
   /UL
   
  @@ -548,6 +549,47 @@
 NoProxy .mycompany.com 192.168.112.0/21 
 ProxyDomain .mycompany.com
   /PRE
  +
  +HR
  +
  +H2A NAME=cacheforcecompletionCacheForceCompletion/A/H2
  +A
  + HREF=directive-dict.html#Syntax
  + REL=Help
  +STRONGSyntax:/STRONG/A CacheForceCompletion EMpercentage/EMBR
  +A
  + HREF=directive-dict.html#Default
  + REL=Help
  +STRONGDefault:/STRONG/A EM90/EMBR
  +A
  + HREF=directive-dict.html#Context
  + REL=Help
  +STRONGContext:/STRONG/A server config, virtual hostBR
  +A
  + HREF=directive-dict.html#Override
  + REL=Help
  +STRONGOverride:/STRONG/A EMNot applicable/EMBR
  +A
  + HREF=directive-dict.html#Status
  + REL=Help
  +STRONGStatus:/STRONG/A BaseBR
  +A
  + HREF=directive-dict.html#Module
  + REL=Help
  +STRONGModule:/STRONG/A mod_proxyBR
  +A
  + HREF=directive-dict.html#Compatibility
  + REL=Help
  +STRONGCompatibility:/STRONG/A CacheForceCompletion is only available 
in
  +Apache 1.3 and later.P
  +
  +If an http transfer that is being cached is cancelled, the proxy module will
  +complete the transfer to cache if more than the percentage specified has
  +already been transferred.P
  +
  +This is a percentage, and must be a number between 1 and 100, or 0 to use
  +the default.  100 will cause a document to be cached only if the transfer
  +was allowed to complete.  A number between 60 and 90 is recommended.
   
   HR
   
  
  
  
  1.55  +19 -0 apache-1.3/src/modules/proxy/mod_proxy.c
  
  Index: mod_proxy.c
  ===
  RCS file: /home/cvs/apache-1.3/src/modules/proxy/mod_proxy.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -u -r1.54 -r1.55
  --- mod_proxy.c   1998/06/13 15:22:58 1.54
  +++ mod_proxy.c   1998/07/09 19:45:55 1.55
  @@ -405,6 +405,7 @@
   /* at these levels, the cache can have 2^18 directories (256,000)  */
   ps-cache.dirlevels = 3;
   ps-cache.dirlength = 1;
  +ps-cache.cache_completion = DEFAULT_CACHE_COMPLETION;
   
   return ps;
   }
  @@ -742,6 +743,22 @@
   return NULL;
   }
   
  +static const char*
  +set_cache_completion(cmd_parms *parms, void *dummy, char *arg)
  +{
  +proxy_server_conf *psf =
  +ap_get_module_config(parms-server-module_config, proxy_module);
  +int s = atoi(arg);
  +if (s  100 || s  0) {
  + return CacheForceCompletion must be = 100 percent, 
  +   or 0 for system default.;
  +}
  +
  +if (s  0)
  +  psf-cache.cache_completion = ((float)s / 100);
  +return NULL;
  +}
  +
   static const handler_rec proxy_handlers[] =
   {
   {proxy-server, proxy_handler},
  @@ -784,6 +801,8 @@
The number of characters in subdirectory names},
   {NoCache, 

cvs commit: apache-1.3/src CHANGES

1998-07-09 Thread brian
brian   98/07/09 13:37:16

  Modified:src  CHANGES
  Log:
  Mention Martin's commit.
  
  Revision  ChangesPath
  1.956 +6 -0  apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.955
  retrieving revision 1.956
  diff -u -r1.955 -r1.956
  --- CHANGES   1998/07/09 11:24:54 1.955
  +++ CHANGES   1998/07/09 20:37:12 1.956
  @@ -1,5 +1,11 @@
   Changes with Apache 1.3.1
   
  +  *) Cache a proxied request in the event that the client cancels the
  + transfer, provided that the configured percentage of the file has
  + already been transfered. It works for http transfers only.  The 
  + new httpd.conf directive is called CacheForceCompletion. 
  + [Glen Parker [EMAIL PROTECTED]] PR#2277
  +
 *) Add the !DOCTYPE HTML magic cookie used by modern documents (and
required by HTML 3.2 and later) to conf/magic.
[Anna Shergold [EMAIL PROTECTED]]
  
  
  


cvs commit: apache-1.3/htdocs/manual/misc FAQ.html

1998-07-09 Thread brian
brian   98/07/09 15:02:55

  Modified:htdocs/manual/misc FAQ.html
  Log:
  We are not public domain.
  
  Revision  ChangesPath
  1.122 +2 -2  apache-1.3/htdocs/manual/misc/FAQ.html
  
  Index: FAQ.html
  ===
  RCS file: /export/home/cvs/apache-1.3/htdocs/manual/misc/FAQ.html,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- FAQ.html  1998/06/24 07:18:48 1.121
  +++ FAQ.html  1998/07/09 22:02:54 1.122
  @@ -14,7 +14,7 @@
 !--#include virtual=header.html --
 H1 ALIGN=CENTERApache Server Frequently Asked Questions/H1
 P
  -  $Revision: 1.121 $ ($Date: 1998/06/24 07:18:48 $)
  +  $Revision: 1.122 $ ($Date: 1998/07/09 22:02:54 $)
 /P
 P
 The latest version of this FAQ is always available from the main
  @@ -400,7 +400,7 @@
/A
 P
 UL
  -   LIto continue as a public domain HTTP server,
  +   LIto continue to be an open source no-charge-for-use HTTP server,
  /LI
  LIto keep up with advances in HTTP protocol and web developments in
   general,