CVS diff for http_message.h between 1.5 and 1.2:

Revision 1.2 Revision 1.5
Line 2 Line 2
#define HTTP_MESSAGE_H 
 
#include "defines.h" 
#define HTTP_MESSAGE_H 
 
#include "defines.h" 
 
#include "buff.h" 
 
typedef 
struct http_message {
 
typedef 
struct http_message {
 
    int fdd;            /* data fd */
#ifdef USE_TCPCORK 
    int fdp;            /* port fd *  (i.e. pending request) */
    int fdp;            /* port fd *  (i.e. pending request) */
    int fdd;            /* data fd */

    int per_thread;     /* 1 if per_thread handler; else 0 (i.e. POOL) */ 
#else
    BUFF* fdp;          /* Transaction I/O buffer */
#endif 
 
int simple; /* simple request (i.e. no HTTP/x.y on request line) */ 
int ka_status; /* keepalive status; see defines.h */ 
 
int simple; /* simple request (i.e. no HTTP/x.y on request line) */ 
int ka_status; /* keepalive status; see defines.h */ 
Line 22 Line 25
    /* p_ for association with port fd (pending request) */ 
char* p_header_end; 
char* p_pos; 
    /* p_ for association with port fd (pending request) */ 
char* p_header_end; 
char* p_pos; 
    char* p_uri_begin;
    char* p_uri_end;
    char  p_uri[ PATH_MAX ]; 
    int p_uri_len;
    //char* p_uri_begin;
    //char* p_uri_end;
 
    char  p_uri[ MAX_REQ_URI_LEN+1 ];
    char  p_pathname[ MAX_PATH_LENGTH ]; 
char p_buf[ MAX_BUF_SIZE ]; 
int p_method; /* enum method */ 
    char  p_pathname[ MAX_PATH_LENGTH ]; 
char p_buf[ MAX_BUF_SIZE ]; 
int p_method; /* enum method */ 
Line 36 Line 40
    int   p_eof;          /* if [pth_]read/recv returned 0, set this to 1 */ 
 
/* r_ for reply message */ 
    int   p_eof;          /* if [pth_]read/recv returned 0, set this to 1 */ 
 
/* r_ for reply message */ 
    char  r_buf[ MAX_BUF_SIZE ]; 
 
    char *r_mimes;
    char *r_mimes;
    // size_t r_filesize; 
 
    unsigned long r_filesize; 
 
int status; 
    unsigned long r_filesize; 
 
int status; 
Line 90 Line 92
 
# endif /* HTTP_MESSAGE_H */ 
 
 
# endif /* HTTP_MESSAGE_H */ 
 


Legend
Lines deleted from 1.5  
Lines Modified
  Lines added in revision 1.2