cvs commit: apache/src http_protocol.c http_protocol.h

1996-10-20 Thread Ben Laurie
ben 96/10/20 08:40:06

  Modified:src   http_protocol.c http_protocol.h
  Log:
  Correct spelling mistake.
  
  Revision  ChangesPath
  1.59  +1 -3  apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.58
  retrieving revision 1.59
  diff -C3 -r1.58 -r1.59
  *** http_protocol.c   1996/10/19 17:02:16 1.58
  --- http_protocol.c   1996/10/20 15:40:05 1.59
  ***
  *** 50,57 
 *
 */
  
  - /* $Id: http_protocol.c,v 1.58 1996/10/19 17:02:16 ben Exp $ */
  - 
/*
 * http_protocol.c --- routines which directly communicate with the
 * client.
  --- 50,55 
  ***
  *** 1081,1087 
 *the module should assume that the input is of a non-entity type
 *(e.g. a GET request). This step also sends a 100 Continue response
 *to HTTP/1.1 clients, so should not be called until the module
  !  *is *defenitely* ready to read content. (otherwise, the point of the
 *100 response is defeated). Never call this function more than once.
 *
 * 3. Finally, call get_client_block in a loop. Pass it a buffer and its
  --- 1079,1085 
 *the module should assume that the input is of a non-entity type
 *(e.g. a GET request). This step also sends a 100 Continue response
 *to HTTP/1.1 clients, so should not be called until the module
  !  *is *definitely* ready to read content. (otherwise, the point of the
 *100 response is defeated). Never call this function more than once.
 *
 * 3. Finally, call get_client_block in a loop. Pass it a buffer and its
  
  
  
  1.11  +0 -3  apache/src/http_protocol.h
  
  Index: http_protocol.h
  ===
  RCS file: /export/home/cvs/apache/src/http_protocol.h,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -C3 -r1.10 -r1.11
  *** http_protocol.h   1996/10/20 14:44:34 1.10
  --- http_protocol.h   1996/10/20 15:40:05 1.11
  ***
  *** 110,118 
 * definitions of the macros would get a whole lot hairier.
 */
 
  - #if 0
  - long rprintf (request_rec *r, char *s, ...); 
  - #endif
int rputc (int c, request_rec *r); 
int rputs(const char *str, request_rec *r);
int rvputs(request_rec *r, ...);
  --- 110,115 
  
  
  


cvs commit: apache/src http_protocol.c http_protocol.h

1997-01-10 Thread Alexei Kosut
akosut  97/01/10 11:28:55

  Modified:src   http_protocol.c http_protocol.h
  Log:
  Add rflush() function.
  
  Reviewed by: Dirk van Gulik, Chuck Murcko, Randy Terbush
  
  Revision  ChangesPath
  1.88  +4 -0  apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.87
  retrieving revision 1.88
  diff -C3 -r1.87 -r1.88
  *** http_protocol.c   1997/01/01 18:10:21 1.87
  --- http_protocol.c   1997/01/10 19:28:52 1.88
  ***
  *** 1436,1441 
  --- 1436,1445 
return k;
}

  + int rflush (request_rec *r) {
  + return bflush(r->connection->client);
  + }
  + 
void send_error_response (request_rec *r, int recursive_error)
{
conn_rec *c = r->connection;
  
  
  
  1.17  +1 -0  apache/src/http_protocol.h
  
  Index: http_protocol.h
  ===
  RCS file: /export/home/cvs/apache/src/http_protocol.h,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -C3 -r1.16 -r1.17
  *** http_protocol.h   1997/01/01 18:10:21 1.16
  --- http_protocol.h   1997/01/10 19:28:53 1.17
  ***
  *** 115,120 
  --- 115,121 
int rwrite(const void *buf, int nbyte, request_rec *r);
int rvputs(request_rec *r, ...);
int rprintf(request_rec *r,const char *fmt,...);
  + int rflush(request_rec *r);
 
/*
 * Index used in custom_responses array for a specific error code