1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

HTTP Client move buffer (1460 Byte) from stack to heap.

This commit is contained in:
Markus Sattler
2015-12-16 00:32:17 +01:00
parent 3940b35491
commit b8769bf5eb
3 changed files with 63 additions and 47 deletions

View File

@ -41,6 +41,10 @@
#define HTTPC_ERROR_CONNECTION_LOST (-5)
#define HTTPC_ERROR_NO_STREAM (-6)
#define HTTPC_ERROR_NO_HTTP_SERVER (-7)
#define HTTPC_ERROR_TOO_LESS_RAM (-8)
/// size for the stream handling
#define HTTP_TCP_BUFFER_SIZE (1460)
/// HTTP codes see RFC7231
typedef enum {