diff options
Diffstat (limited to '')
-rw-r--r-- | include/http.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/http.h b/include/http.h index e644a1b11..a1d70406f 100644 --- a/include/http.h +++ b/include/http.h @@ -49,6 +49,10 @@ typedef enum { HTTP_REQ_POST = 3 } HTTP_REQ_TYPE; +enum { /* put flag values into an enum, so that gdb can display them */ + HTTP_FLAG_TRY_PROXY = 1 +}; + struct http_context { int initialized; unsigned int status_code; @@ -60,7 +64,8 @@ struct http_context { PARSED_URI uri; HTTP_REQ_TYPE req_type; byte *buffer; /* line buffer */ - unsigned buffer_size; + unsigned int buffer_size; + unsigned int flags; }; typedef struct http_context *HTTP_HD; |