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

lib: support promise reject for http2.connect promisify integration by ehsankhfr · Pull Request #53475 · nodejs/node · GitHub

/ node Public

lib: support promise reject for http2.connect promisify integration - #53475

Closed
ehsankhfr wants to merge 6 commits into
nodejs:mainfrom
ehsankhfr:lib-http2-con-prom-error
Closed

lib: support promise reject for http2.connect promisify integration#53475
ehsankhfr wants to merge 6 commits into
nodejs:mainfrom
ehsankhfr:lib-http2-con-prom-error

Conversation

Copy link
Copy Markdown
Contributor

This PR enhances the connect function to support Promise-based usage, adding error handling to the Promise wrapper to reject the Promise if an error occurs during the session's connect event.

Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/http2
  • @nodejs/net

nodejs-github-bot added http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run. labels Jun 16, 2024

pimterry left a comment

Copy link
Copy Markdown
Member

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

Good idea! Two small comments but this definitely seems useful to me 👍

mcollina left a comment

Copy link
Copy Markdown
Member

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

lgtm

mcollina added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 17, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 17, 2024

This comment was marked as outdated.

Copy link
Copy Markdown
Contributor Author

@pimterry @marco-ippolito thanks for your comments, the requested changes are done

mcollina added the request-ci Add this label to start a Jenkins CI on a PR. label Jun 18, 2024
github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jun 18, 2024

Copy link
Copy Markdown
Collaborator

ehsankhfr requested a review from pimterry June 18, 2024 12:37

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

pimterry added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Jun 18, 2024

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

pimterry pushed a commit that referenced this pull request Jun 20, 2024
PR-URL: #53475
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>

Copy link
Copy Markdown
Member

Landed in 42bce05

pimterry closed this Jun 20, 2024
targos pushed a commit that referenced this pull request Jun 20, 2024
PR-URL: #53475
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
soophoo pushed a commit to soophoo/node that referenced this pull request Jun 20, 2024
PR-URL: nodejs#53475
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
marco-ippolito pushed a commit that referenced this pull request Jul 19, 2024
PR-URL: #53475
Reviewed-By: Tim Perry <pimterry@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.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

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. http2 Issues or PRs related to the http2 subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL