net: http: Allow a content_len of 4GB
Instead of maximally 99999 bytes allow a content_len of 4GB. Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
This commit is contained in:
parent
118a8d83cc
commit
1165bd667f
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ LOG_MODULE_REGISTER(net_http, CONFIG_NET_HTTP_LOG_LEVEL);
|
|||
|
||||
#include "net_private.h"
|
||||
|
||||
#define HTTP_CONTENT_LEN_SIZE 6
|
||||
#define HTTP_CONTENT_LEN_SIZE 11
|
||||
#define MAX_SEND_BUF_LEN 192
|
||||
|
||||
static int sendall(int sock, const void *buf, size_t len)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue