You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Return HTTPSuccess when HTTP_RESPONSE_DO_NOT_PARSE_BODY_FLAG is set (#194)
* Return HTTPSuccess when HTTP_RESPONSE_DO_NOT_PARSE_BODY_FLAG is set
When the HTTP_RESPONSE_DO_NOT_PARSE_BODY_FLAG is set, the
HTTP_PARSING_INCOMPLETE state is expected and valid, as the body data
may not yet be received from the transport layer.
Previously, this scenario incorrectly returned HTTPInsufficientMemory.
This commit corrects the behavior to return HTTPSuccess instead,
properly handling the case where body parsing is intentionally deferred.
Fixes: #193
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix unit tests and coverage
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix formatting check
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix SSOT check
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Fix coverage check
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
---------
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
0 commit comments