Revert field sizes.

master
Nicolas Favre-Felix 14 years ago
parent ce72d451bf
commit 8c60c86ce8

@ -31,10 +31,10 @@ struct http_client {
last_cb_t last_cb;
/* various flags. */
int keep_alive:1;
int broken:1;
int is_websocket:1;
int http_version:1;
int keep_alive;
int broken;
int is_websocket;
int http_version;
/* HTTP data */
char *path;

10
cmd.h

@ -30,13 +30,13 @@ struct cmd {
char *mime; /* forced output content-type */
char *if_none_match; /* used with ETags */
char *jsonp; /* jsonp wrapper */
int keep_alive:1;
int mime_free:1; /* need to free mime buffer */
int keep_alive;
int mime_free; /* need to free mime buffer */
/* various flags */
int started_responding:1;
int is_websocket:1;
int http_version:1;
int started_responding;
int is_websocket;
int http_version;
};
struct subscription {

@ -24,8 +24,8 @@ struct http_response {
const char *body;
size_t body_len;
int chunked:1;
int http_version:1;
int chunked;
int http_version;
};
/* HTTP response */

Loading…
Cancel
Save