feat(lander): implement redirect posting using lnm
This commit is contained in:
parent
ad243ea9f5
commit
f3da5c78ef
10 changed files with 123 additions and 81 deletions
|
|
@ -128,4 +128,6 @@ typedef struct lnm_http_loop_ctx {
|
|||
void *c;
|
||||
} lnm_http_loop_ctx;
|
||||
|
||||
lnm_http_step_err lnm_http_loop_step_body_to_buf(lnm_http_conn *conn);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -35,8 +35,10 @@ typedef struct lnm_http_req {
|
|||
} headers;
|
||||
struct {
|
||||
uint64_t expected_len;
|
||||
uint64_t len;
|
||||
char *buf;
|
||||
bool owned;
|
||||
} body;
|
||||
uint64_t content_length;
|
||||
} lnm_http_req;
|
||||
|
||||
typedef enum lnm_http_parse_err {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue