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: deprecate Agent.prototype.addRequest() legacy sig #11353

Closed
wants to merge 1 commit into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Feb 13, 2017

The legacy signature of Agent.prototype.addRequest() was replaced
four years ago. This emits a runtime deprecation if the legacy
signature is used.

A potentially deoptimizing use of arguments is also fixed.

Ref: 12cd133

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

http

The legacy signature of Agent.prototype.addRequest() was replaced
four years ago. This emits a runtime deprecation if the legacy
signature is used.

A potentially deoptimizing use of arguments is also fixed.

Ref: nodejs@12cd133
@jasnell jasnell added the semver-major PRs that contain breaking changes and should be released in the next major version. label Feb 13, 2017
@nodejs-github-bot nodejs-github-bot added the http Issues or PRs related to the http subsystem. label Feb 13, 2017
@ChALkeR ChALkeR self-requested a review February 19, 2017 09:28
@jasnell
Copy link
Member Author

jasnell commented Feb 23, 2017

@addaleax and @evanlucas ... I take it by the frowny faces you'd rather this not happen? :-)

Given that no one else has chimed in I'm inclined to close without further action

@addaleax
Copy link
Member

@jasnell This seems like something that comes with minimal maintenance cost, so I am very okay with not deprecating it.

@jasnell
Copy link
Member Author

jasnell commented Feb 23, 2017

Yep, understood. Didn't really feel strongly about it just doing routine maintenance.

@jasnell jasnell closed this Feb 23, 2017
@ChALkeR ChALkeR removed their request for review February 24, 2017 18:09
@Trott Trott removed the ctc-review label Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem. semver-major PRs that contain breaking changes and should be released in the next major version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants