mirror of
https://github.com/polhenarejos/pico-keys-sdk
synced 2026-05-28 17:11:23 +02:00
Add stop-n-wait mechanism to avoid sending too huge payloads.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -71,6 +71,13 @@ typedef struct {
|
||||
bool request_complete;
|
||||
bool request_dispatched;
|
||||
bool request_headers_parsed;
|
||||
#ifndef ENABLE_EMULATION
|
||||
const char *tx_body;
|
||||
size_t tx_body_len;
|
||||
size_t tx_body_sent;
|
||||
bool tx_pending;
|
||||
bool tx_body_owned;
|
||||
#endif
|
||||
char request[REST_MAX_REQUEST_SIZE + 1];
|
||||
#ifdef ENABLE_EMULATION
|
||||
char _padding2[2];
|
||||
|
||||
Reference in New Issue
Block a user