Revision 1.3 |
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 25 |
Line 23 |
int p_uri_len; //char* p_uri_begin; //char* p_uri_end;
|
int p_uri_len; //char* p_uri_begin; //char* p_uri_end;
|
char p_uri[ PATH_MAX ];
|
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 91 |
Line 89 |
# endif /* HTTP_MESSAGE_H */
|
# endif /* HTTP_MESSAGE_H */
|