Skip to content

Fix Parameter name mix-up in HttpResponse#19

Merged
bonesoul merged 1 commit intobonesoul:masterfrom
hisleiterj:master
Apr 23, 2019
Merged

Fix Parameter name mix-up in HttpResponse#19
bonesoul merged 1 commit intobonesoul:masterfrom
hisleiterj:master

Conversation

@hisleiterj
Copy link
Copy Markdown
Contributor

The parameter closeConnection in different ctor overloads of HttpResponse should be named keepAliveConnection instead: It gets negated when stored in private field _closeConnection (c.f. line 188).

Strictly speaking, this PR introduces a breaking change (for callers who use named arguments). However, it should not effect many consumers. The alternative to keep the name of the parameter but change its behavior accordingly would be less compatible for existing code bases.

@bonesoul bonesoul merged commit 2c970b0 into bonesoul:master Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants