FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

http: check callback type of imcoming timeout by aks- · Pull Request #3618 · nodejs/node · GitHub

/ node Public

http: check callback type of imcoming timeout - #3618

Closed
aks- wants to merge 1 commit into
nodejs:masterfrom
aks-:check-callback-type-incoming-timeout
Closed

http: check callback type of imcoming timeout#3618
aks- wants to merge 1 commit into
nodejs:masterfrom
aks-:check-callback-type-incoming-timeout

Conversation

aks- commented Oct 31, 2015

Copy link
Copy Markdown
Member

No description provided.

aks- commented Oct 31, 2015

Copy link
Copy Markdown
Member Author

cc @nodejs/http

Copy link
Copy Markdown
Member

👎 , protection already exists in EventEmitter.prototype.addListener.

aks- commented Oct 31, 2015

Copy link
Copy Markdown
Member Author

@dougwilson Oho I see. Well then should we have this check here https://github.com/nodejs/node/blob/master/lib/_http_outgoing.js#L93-L97

Copy link
Copy Markdown
Member

Unsure. Was added in PR #3090 , which can help us decide.

mscdex added the http Issues or PRs related to the http subsystem. label Nov 1, 2015

Copy link
Copy Markdown
Contributor

Dupe of #3539

Copy link
Copy Markdown
Contributor

Kind of a dupe, anyway. That other PR covers other cases.

Comment thread lib/_http_incoming.js

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

should be strict check IMO

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Preferred, yes. Although, typeof only ever returns strings.

Fishrock123 pushed a commit that referenced this pull request Nov 5, 2015
- This check is already covered in EventEmitter#addListener()

Refs: #3618
PR-URL: #3631
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>

Copy link
Copy Markdown
Contributor

Replacement landed in 8625a38

Fishrock123 closed this Nov 5, 2015
rvagg pushed a commit that referenced this pull request Nov 7, 2015
- This check is already covered in EventEmitter#addListener()

Refs: #3618
PR-URL: #3631
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL