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 @@ -49,7 +49,7 @@ enum HTTPAuthMethod { BASIC_AUTH, DIGEST_AUTH };
49
49
#define HTTP_MAX_DATA_WAIT 5000 // ms to wait for the client to send the request
50
50
#define HTTP_MAX_POST_WAIT 5000 // ms to wait for POST data to arrive
51
51
#define HTTP_MAX_SEND_WAIT 5000 // ms to wait for data chunk to be ACKed
52
- #define HTTP_MAX_CLOSE_WAIT 2000 // ms to wait for the client to close the connection
52
+ #define HTTP_MAX_CLOSE_WAIT 5000 // ms to wait for the client to close the connection
53
53
54
54
#define CONTENT_LENGTH_UNKNOWN ((size_t ) -1 )
55
55
#define CONTENT_LENGTH_NOT_SET ((size_t ) -2 )
@@ -71,7 +71,7 @@ typedef struct
71
71
HTTPRawStatus status;
72
72
size_t totalSize; // content size
73
73
size_t currentSize; // size of data currently in buf
74
- uint8_t buf[HTTP_UPLOAD_BUFLEN ];
74
+ uint8_t buf[HTTP_RAW_BUFLEN ];
75
75
void *data; // additional data
76
76
} HTTPRaw;
77
77
You can’t perform that action at this time.
0 commit comments