File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ enum HTTPAuthMethod {
66
66
#define HTTP_MAX_DATA_WAIT 5000 // ms to wait for the client to send the request
67
67
#define HTTP_MAX_POST_WAIT 5000 // ms to wait for POST data to arrive
68
68
#define HTTP_MAX_SEND_WAIT 5000 // ms to wait for data chunk to be ACKed
69
- #define HTTP_MAX_CLOSE_WAIT 2000 // ms to wait for the client to close the connection
69
+ #define HTTP_MAX_CLOSE_WAIT 5000 // ms to wait for the client to close the connection
70
70
#define HTTP_MAX_BASIC_AUTH_LEN 256 // maximum length of a basic Auth base64 encoded username:password string
71
71
72
72
#define CONTENT_LENGTH_UNKNOWN ((size_t ) - 1 )
@@ -88,7 +88,7 @@ typedef struct {
88
88
HTTPRawStatus status;
89
89
size_t totalSize; // content size
90
90
size_t currentSize; // size of data currently in buf
91
- uint8_t buf[HTTP_UPLOAD_BUFLEN ];
91
+ uint8_t buf[HTTP_RAW_BUFLEN ];
92
92
void *data; // additional data
93
93
} HTTPRaw;
94
94
You can’t perform that action at this time.
0 commit comments