* RESTCONF,
* Refactored http1 code * fixed some http1/http2 only compile issues
This commit is contained in:
parent
78bdc4eaca
commit
12dddfd794
6 changed files with 408 additions and 276 deletions
|
|
@ -73,7 +73,8 @@ typedef struct {
|
|||
cbuf *sd_body; /* http output body as cbuf terminated with \r\n */
|
||||
size_t sd_body_len; /* Content-Length, note for HEAD body body can be NULL and this non-zero */
|
||||
size_t sd_body_offset; /* Offset into body */
|
||||
cbuf *sd_indata; /* Receive/input data */
|
||||
cbuf *sd_inbuf; /* Receive/input buf (whole message) */
|
||||
cbuf *sd_indata; /* Receive/input data body */
|
||||
char *sd_path; /* Uri path, uri-encoded, without args (eg ?) */
|
||||
uint16_t sd_code; /* If != 0 send a reply XXX: need reply flag? */
|
||||
struct restconf_conn *sd_conn; /* Backpointer to connection this stream is part of */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue