Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http: don't bother making a copy of the options #593

Closed
wants to merge 1 commit into from
Closed

http: don't bother making a copy of the options #593

wants to merge 1 commit into from

Conversation

jonathanong
Copy link
Contributor

Alternative to #592. The options object is never overwritten, so making a copy is not necessary.

This solves issues such as https://github.com/petkaantonov/urlparser/issues where the options object is created from a constructor.

Alternative to #592. The `options` object is never overwritten, so making a copy is not necessary.

This solves issues such as https://github.com/petkaantonov/urlparser/issues where the options object is created from a constructor.
@Qard
Copy link
Member

Qard commented Jan 24, 2015

LGTM

Qard pushed a commit that referenced this pull request Jan 24, 2015
Alternative to #592. The `options` object is never overwritten, so making a copy is not necessary.

This solves issues such as https://github.com/petkaantonov/urlparser/issues where the options object is created from a constructor.

PR-URL: #593
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
@Qard
Copy link
Member

Qard commented Jan 24, 2015

merged in 06cfff9

@Qard Qard closed this Jan 24, 2015
@jonathanong
Copy link
Contributor Author

👍

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