You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Roy Fielding <fi...@hyperreal.com> on 1997/05/12 00:30:40 UTC

cvs commit: apache/src CHANGES http_protocol.c http_request.c

fielding    97/05/11 15:30:40

  Modified:    src       CHANGES http_protocol.c http_request.c
  Log:
  Subrequests and internal redirects now inherit the_request from the
  original request-line.
  
  Reviewed by: Chuck Murcko, Ben Laurie, Randy Terbush
  
  Revision  Changes    Path
  1.271     +3 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.270
  retrieving revision 1.271
  diff -C3 -r1.270 -r1.271
  *** CHANGES	1997/05/08 13:09:23	1.270
  --- CHANGES	1997/05/11 22:30:36	1.271
  ***************
  *** 1,5 ****
  --- 1,8 ----
    Changes with Apache 1.2
    
  +   *) Subrequests and internal redirect now inherit the_request from the
  +      original request-line. [Roy Fielding]
  + 
      *) Test for error conditions before creating output header fields, since
         we don't want the error message to include those fields.  Likewise,
         reset the content_language(s) and content_encoding of the response
  
  
  
  1.120     +2 -0      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.119
  retrieving revision 1.120
  diff -C3 -r1.119 -r1.120
  *** http_protocol.c	1997/05/08 11:27:28	1.119
  --- http_protocol.c	1997/05/11 22:30:37	1.120
  ***************
  *** 847,852 ****
  --- 847,854 ----
    
    void set_sub_req_protocol (request_rec *rnew, const request_rec *r)
    {
  +     rnew->the_request = r->the_request;  /* Keep original request-line */
  + 
        rnew->assbackwards = 1;	/* Don't send headers from this. */
        rnew->no_local_copy = 1;	/* Don't try to send USE_LOCAL_COPY for a
    				 * fragment.
  
  
  
  1.49      +2 -0      apache/src/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_request.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -C3 -r1.48 -r1.49
  *** http_request.c	1997/05/08 13:09:24	1.48
  --- http_request.c	1997/05/11 22:30:37	1.49
  ***************
  *** 1040,1045 ****
  --- 1040,1047 ----
        
        /* Inherit the rest of the protocol info... */
    
  +     new->the_request = r->the_request;
  + 
        new->method = r->method;
        new->method_number = r->method_number;
        new->allowed = r->allowed;