Skip to content

http: Fix CURLOPT_HTTP200ALIASES - #8171

Closed
CyberShadow wants to merge 2 commits into
curl:masterfrom
CyberShadow:fix200aliases
Closed

CyberShadow wants to merge 2 commits into
curl:masterfrom
CyberShadow:fix200aliases

Conversation

@CyberShadow

@CyberShadow CyberShadow commented Dec 20, 2021 •

Copy link
Copy Markdown
Contributor

The httpcode < 100 check was also triggered when none of the fields were parsed, thus making the if(!nc) block unreachable.

Regression introduced in c67a32f.

The httpcode < 100 check was also triggered when none of the fields
were parsed, thus making the if(!nc) block unreachable.
@bagder

bagder commented Dec 21, 2021

Copy link
Copy Markdown
Member

Seems likely that c67a32f broke this.

@bagder

bagder commented Dec 21, 2021

Copy link
Copy Markdown
Member

Extra bonus points for the excellent added test! 💯

@bagder

bagder commented Dec 21, 2021

Copy link
Copy Markdown
Member

Thanks!

@bagder bagder closed this in 1b9f1f6 Dec 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants