Revision 1.2 |
Revision 1.4 |
Line 7 |
Line 7 |
struct http_message { int fdp; /* port fd * (i.e. pending request) */ int fdd; /* data fd */ 
|
struct http_message { 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) */
|
|
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 20 |
/* 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 90 |
Line 89 |
# endif /* HTTP_MESSAGE_H */
|
# endif /* HTTP_MESSAGE_H */
|