diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-12 08:28:03 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-12 08:28:03 -0800 |
| commit | 4f445061dc9dbc1e437ff04eff6f39f021bd5bec (patch) | |
| tree | ab3f0fcb11b3b36b7081580618d7b7d0bfda0731 /src/supplemental/http/http_msg.h | |
| parent | d87b873ea5bbdae1352b2a61f5110f20b65928cc (diff) | |
| download | nng-4f445061dc9dbc1e437ff04eff6f39f021bd5bec.tar.gz nng-4f445061dc9dbc1e437ff04eff6f39f021bd5bec.tar.bz2 nng-4f445061dc9dbc1e437ff04eff6f39f021bd5bec.zip | |
http: move connection properties to http_conn, use static Location for redirect
Diffstat (limited to 'src/supplemental/http/http_msg.h')
| -rw-r--r-- | src/supplemental/http/http_msg.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/supplemental/http/http_msg.h b/src/supplemental/http/http_msg.h index 5a13c409..4b4e03a6 100644 --- a/src/supplemental/http/http_msg.h +++ b/src/supplemental/http/http_msg.h @@ -31,7 +31,6 @@ typedef struct http_header nni_http_header; typedef struct nni_http_entity { char *data; size_t size; - bool own; // if true, data is "ours", and should be freed char clen[24]; // 64-bit lengths, in decimal char ctype[128]; // 63+63+; per RFC 6838 http_header content_type; @@ -40,17 +39,15 @@ typedef struct nni_http_entity { char *buf; size_t bufsz; bool parsed; + bool own; // if true, data is "ours", and should be freed } nni_http_entity; struct nng_http_req { nni_http_entity data; - http_header host_header; }; struct nng_http_res { nni_http_entity data; - bool iserr; - http_header location; }; extern void nni_http_free_header(http_header *); |
