rbb | 1 Oct 2002 01:43
Picon
Favicon

cvs commit: httpd-2.0/server core.c

rbb         2002/09/30 16:43:18

  Modified:    modules/ssl ssl_expr_scan.c
               server   core.c
  Log:
  Call out the success cases when we don't get APR_SUCCESS back from the
  network write.  All other status codes result in c->aborted being set,
  which allows the logs to note that the connection was aborted.  Previous
  to this patch, if the network cable was unplugged on the client, the server
  would get APR_ETIMEUP, but we wouldn't note that the connection was
  aborted.

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

  Revision  Changes    Path
  1.11      +53 -54    httpd-2.0/modules/ssl/ssl_expr_scan.c

  Index: ssl_expr_scan.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_expr_scan.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ssl_expr_scan.c	10 May 2002 03:55:41 -0000	1.10
  +++ ssl_expr_scan.c	30 Sep 2002 23:43:18 -0000	1.11
   <at>  <at>  -18,7 +18,6  <at>  <at> 
   /* A lexical scanner generated by flex */

   /* Scanner skeleton version:
  - * $Header$
(Continue reading)

rbb | 1 Oct 2002 01:45
Picon
Favicon

cvs commit: httpd-2.0/modules/ssl ssl_expr_scan.c

rbb         2002/09/30 16:45:58

  Modified:    modules/ssl ssl_expr_scan.c
  Log:
  back out the stuff from mod_ssl that shouldn't have been committed.

  /me wonders why we have generated content in CVS.    :-(

  Revision  Changes    Path
  1.12      +54 -53    httpd-2.0/modules/ssl/ssl_expr_scan.c

  Index: ssl_expr_scan.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/ssl/ssl_expr_scan.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ssl_expr_scan.c	30 Sep 2002 23:43:18 -0000	1.11
  +++ ssl_expr_scan.c	30 Sep 2002 23:45:58 -0000	1.12
   <at>  <at>  -18,6 +18,7  <at>  <at> 
   /* A lexical scanner generated by flex */

   /* Scanner skeleton version:
  + * $Header$
    */

   #define FLEX_SCANNER
   <at>  <at>  -57,8 +58,8  <at>  <at> 
   #endif	/* ! __cplusplus */

(Continue reading)

gstein | 1 Oct 2002 15:28
Picon
Favicon

cvs commit: httpd-2.0 ROADMAP

gstein      2002/10/01 06:28:32

  Modified:    .        ROADMAP
  Log:
  some thoughts on reaching repos-agnostic behavior in apache

  Revision  Changes    Path
  1.11      +86 -1     httpd-2.0/ROADMAP

  Index: ROADMAP
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/ROADMAP,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ROADMAP	28 Sep 2002 17:33:31 -0000	1.10
  +++ ROADMAP	1 Oct 2002 13:28:31 -0000	1.11
   <at>  <at>  -26,6 +26,7  <at>  <at> 
             dislike a bit within that doc, bring it up on the dev <at> httpd
             list prior to the next branch.

  +
   WORKS IN PROGRESS (PERHAPS DEFERRED FOR 2.1 or 3.0)

       * revamp the input filter syntax to provide for ordering of
   <at>  <at>  -71,3 +72,87  <at>  <at> 
         of reallocation we do today, in terms of string manipulation.

           OtherBill asks if this is really an APR issue, not an HTTPD issue?
  +
(Continue reading)

wrowe | 1 Oct 2002 15:55
Picon
Favicon

cvs commit: httpd-2.0 ROADMAP

wrowe       2002/10/01 06:55:00

  Modified:    .        ROADMAP
  Log:
    Offer more thoughts

  Revision  Changes    Path
  1.12      +19 -1     httpd-2.0/ROADMAP

  Index: ROADMAP
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/ROADMAP,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ROADMAP	1 Oct 2002 13:28:31 -0000	1.11
  +++ ROADMAP	1 Oct 2002 13:55:00 -0000	1.12
   <at>  <at>  -89,19 +89,37  <at>  <at> 
         (backwards compat: today, when this occurs with mod_dav and a
          custom backend, the above items refer to the topmost directory
          mapped by a location; e.g. docroot)
  +
  +      Need to preserve a 'filename'-like string for mime-by-name
  +      sorts of operations.  But this only needs to be the name itself
  +      and not a full path.

       * The translate_name hook goes away
  +
  +      Wrowe altogether disagrees.  translate_name today even operates
  +      on URIs ... this mechansim needs to be preserved.
(Continue reading)

martin | 1 Oct 2002 16:24
Picon
Favicon

cvs commit: apache-1.3/src/main http_main.c

martin      2002/10/01 07:24:23

  Modified:    src/main http_main.c
  Log:
  Print out the DYNAMIC_MODULE_LIMIT (=64) on the "httpd -V" page.

  Revision  Changes    Path
  1.594     +1 -0      apache-1.3/src/main/http_main.c

  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.593
  retrieving revision 1.594
  diff -u -r1.593 -r1.594
  --- http_main.c	27 Sep 2002 17:40:24 -0000	1.593
  +++ http_main.c	1 Oct 2002 14:24:23 -0000	1.594
   <at>  <at>  -4086,6 +4086,7  <at>  <at> 
   	printf(" -D PIPE_BUF=%ld\n",(long)PIPE_BUF);
   #endif
   #endif
  +    printf(" -D DYNAMIC_MODULE_LIMIT=%ld\n",(long)DYNAMIC_MODULE_LIMIT);
       printf(" -D HARD_SERVER_LIMIT=%ld\n",(long)HARD_SERVER_LIMIT);
   #ifdef MULTITHREAD
       printf(" -D MULTITHREAD\n");

kess | 1 Oct 2002 16:37
Picon
Favicon

cvs commit: httpd-2.0/docs/manual/mod mod_proxy.xml mod_proxy.html.en

kess        2002/10/01 07:37:13

  Modified:    docs/manual/mod mod_proxy.xml mod_proxy.html.en
  Log:
  added a clarification about separation of proxy functionality and mod_cache;
  added a link to mod_ssl (for proxy directives)

  submitted by Irmund Thum <i.t <at> ithum.de>

  with two minor corrections from me

  Revision  Changes    Path
  1.12      +6 -2      httpd-2.0/docs/manual/mod/mod_proxy.xml

  Index: mod_proxy.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_proxy.xml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- mod_proxy.xml	29 Sep 2002 20:22:59 -0000	1.11
  +++ mod_proxy.xml	1 Oct 2002 14:37:13 -0000	1.12
   <at>  <at>  -34,10 +34,14  <at>  <at> 

   <p>Please note that the <strong>caching</strong> function present in
   mod_proxy up to Apache v1.3.x has been <strong>removed</strong> from
  -mod_proxy and will be incorporated into a new module, mod_cache.</p>
  +mod_proxy and will be incorporated into a new module, mod_cache. In other words:
  +the Apache 2.0.x-Proxy doesn't 
  +cache at all - all caching functionality has been moved into mod_cache, 
(Continue reading)

jerenkrantz | 1 Oct 2002 17:26
Picon
Favicon

cvs commit: httpd-2.0 ROADMAP

jerenkrantz    2002/10/01 08:26:20

  Modified:    .        ROADMAP
  Log:
  I'm borderline obsessive compulsive regarding tabs, but you knew that...
  (Also correct directive usage)

  Revision  Changes    Path
  1.13      +7 -7      httpd-2.0/ROADMAP

  Index: ROADMAP
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/ROADMAP,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -u -r1.12 -r1.13
  --- ROADMAP	1 Oct 2002 13:55:00 -0000	1.12
  +++ ROADMAP	1 Oct 2002 15:26:20 -0000	1.13
   <at>  <at>  -130,18 +130,18  <at>  <at> 
         typedef struct {
             const char *name;  /* name of this node relative to parent */

  -	  struct ap_conf_vector_t *locn_config;
  -	  
  -	  apr_hash_t *children; /* NULL if no child configs */
  +          struct ap_conf_vector_t *locn_config;
  +
  +          apr_hash_t *children; /* NULL if no child configs */
         } ap_locn_node;

(Continue reading)

jerenkrantz | 1 Oct 2002 17:44
Picon
Favicon

cvs commit: httpd-2.0 ROADMAP

jerenkrantz    2002/10/01 08:44:35

  Modified:    .        ROADMAP
  Log:
  Some thoughts on file-agnostic Apache.  (more thoughts later...)

  Revision  Changes    Path
  1.14      +14 -1     httpd-2.0/ROADMAP

  Index: ROADMAP
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/ROADMAP,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -u -r1.13 -r1.14
  --- ROADMAP	1 Oct 2002 15:26:20 -0000	1.13
  +++ ROADMAP	1 Oct 2002 15:44:35 -0000	1.14
   <at>  <at>  -93,6 +93,8  <at>  <at> 
         Need to preserve a 'filename'-like string for mime-by-name
         sorts of operations.  But this only needs to be the name itself
         and not a full path.
  +
  +      Justin: Can we leverage the path info, or do we not trust the user?

       * The translate_name hook goes away

   <at>  <at>  -174,3 +176,14  <at>  <at> 
         need to be converted to use these mechanisms so that their
         functions will work on logical repositories rather than just
         filesystems.
(Continue reading)

gstein | 1 Oct 2002 18:24
Picon
Favicon

cvs commit: httpd-2.0/server core.c

gstein      2002/10/01 09:24:41

  Modified:    server   core.c
  Log:
  Fix bug in the default handler. POST is not allowed on regular files.
  The resource must be handled by something *other* than the default
  handler.

  Revision  Changes    Path
  1.207     +8 -0      httpd-2.0/server/core.c

  Index: core.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/core.c,v
  retrieving revision 1.206
  retrieving revision 1.207
  diff -u -r1.206 -r1.207
  --- core.c	30 Sep 2002 23:43:18 -0000	1.206
  +++ core.c	1 Oct 2002 16:24:41 -0000	1.207
   <at>  <at>  -3259,6 +3259,14  <at>  <at> 
               return HTTP_NOT_FOUND;
           }

  +        /* we understood the POST method, but it isn't legal for this
  +           particular resource. */
  +        if (r->method_number == M_POST) {
  +            ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, r,
  +                          "This resource does not accept the POST method.");
  +            return HTTP_METHOD_NOT_ALLOWED;
  +        }
(Continue reading)

rbb | 1 Oct 2002 18:29
Picon
Favicon

Re: cvs commit: httpd-2.0/server core.c

On 1 Oct 2002 gstein <at> apache.org wrote:

> gstein      2002/10/01 09:24:41
> 
>   Modified:    server   core.c
>   Log:
>   Fix bug in the default handler. POST is not allowed on regular files.
>   The resource must be handled by something *other* than the default
>   handler.

-1.  This is going to break PHP.  PHP is a filter now, which means that
the page is served by the default_handler.  Since PHP requests are allowed
to use POST, this is now broken.

As I said before, the bug is in mod_dav, and must be fixed there.

Ryan

>   
>   Revision  Changes    Path
>   1.207     +8 -0      httpd-2.0/server/core.c
>   
>   Index: core.c
>   ===================================================================
>   RCS file: /home/cvs/httpd-2.0/server/core.c,v
>   retrieving revision 1.206
>   retrieving revision 1.207
>   diff -u -r1.206 -r1.207
>   --- core.c	30 Sep 2002 23:43:18 -0000	1.206
>   +++ core.c	1 Oct 2002 16:24:41 -0000	1.207
(Continue reading)


Gmane