mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-12 19:26:52 +08:00
http_client: check current state when receiving FIN
This commit is contained in:
@@ -86,7 +86,9 @@ typedef enum ehttpc_result {
|
||||
/** Local memory error */
|
||||
HTTPC_RESULT_ERR_MEM = 7,
|
||||
/** Local abort */
|
||||
HTTPC_RESULT_LOCAL_ABORT = 8
|
||||
HTTPC_RESULT_LOCAL_ABORT = 8,
|
||||
/** Content length mismatch */
|
||||
HTTPC_RESULT_ERR_CONTENT_LEN = 9
|
||||
} httpc_result_t;
|
||||
|
||||
typedef struct _httpc_state httpc_state_t;
|
||||
|
||||
Reference in New Issue
Block a user