Skip to content

tls: connect supports highWaterMark option - #32786

Closed
rickyes wants to merge 1 commit into
nodejs:masterfrom
rickyes:https-highWaterMark
Closed

tls: connect supports highWaterMark option#32786
rickyes wants to merge 1 commit into
nodejs:masterfrom
rickyes:https-highWaterMark

Conversation

@rickyes

@rickyesrickyes commented Apr 11, 2020

Copy link
Copy Markdown
Contributor

fixes: #32781

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

@nodejs-github-botnodejs-github-bot added the tls Issues and PRs related to the tls subsystem. label Apr 11, 2020
@addaleax

Copy link
Copy Markdown
Member

@rickyes A few things:

  • This is missing a documentation update, I think? I think both a change to the documentation and a changes: entry make sense here?
  • Does this really affect only HTTPS like the commit message implies? It looks like it affects all TLS connections? In that case, an additional test that doesn’t use HTTPS and only TLS seems like a good idea.
  • The commit message should probably start with tls:. Generally, lib: makes sense only for very generic changes or changes that do not affect the way that the public API behaves.

Comment threadtest/parallel/test-https-hwm.js Outdated
@rickyes

Copy link
Copy Markdown
ContributorAuthor

@rickyes A few things:

  • This is missing a documentation update, I think? I think both a change to the documentation and a changes: entry make sense here?
  • Does this really affect only HTTPS like the commit message implies? It looks like it affects all TLS connections? In that case, an additional test that doesn’t use HTTPS and only TLS seems like a good idea.
  • The commit message should probably start with tls:. Generally, lib: makes sense only for very generic changes or changes that do not affect the way that the public API behaves.

Thanks for the reminder, I'll change it.

@rickyesrickyes changed the title lib: support https highWaterMarktls: support highWaterMarkApr 12, 2020
@rickyesrickyes changed the title tls: support highWaterMarktls: connect supports highWaterMark optionApr 12, 2020
@rickyes
rickyesforce-pushed the https-highWaterMark branch from 254512b to 39e9cd4CompareApril 12, 2020 03:07
@rickyes

Copy link
Copy Markdown
ContributorAuthor

@rickyes A few things:

  • This is missing a documentation update, I think? I think both a change to the documentation and a changes: entry make sense here?
  • Does this really affect only HTTPS like the commit message implies? It looks like it affects all TLS connections? In that case, an additional test that doesn’t use HTTPS and only TLS seems like a good idea.
  • The commit message should probably start with tls:. Generally, lib: makes sense only for very generic changes or changes that do not affect the way that the public API behaves.

done

@rickyes
rickyesforce-pushed the https-highWaterMark branch from 39e9cd4 to e6834c1CompareApril 12, 2020 03:21
@rickyes
rickyes requested a review from addaleaxApril 13, 2020 01:42
@rickyes

rickyes commented Apr 13, 2020

Copy link
Copy Markdown
ContributorAuthor

/cc @nodejs/crypto @jasnell

@himself65himself65 added the review wanted PRs that need reviews. label Apr 13, 2020
Comment threaddoc/api/tls.md Outdated
Comment threaddoc/api/https.md Outdated
Comment threadtest/parallel/test-https-hwm.js Outdated
@rickyes
rickyesforce-pushed the https-highWaterMark branch from e6834c1 to eb308daCompareApril 13, 2020 07:43
@rickyes
rickyes requested a review from himself65April 13, 2020 07:56
Comment threaddoc/api/https.md Outdated
Comment threaddoc/api/tls.md Outdated
Comment threadtest/parallel/test-tls-connect-hwm-option.js Outdated
@rickyes
rickyesforce-pushed the https-highWaterMark branch from eb308da to e889a5bCompareApril 13, 2020 13:07
@rickyes

Copy link
Copy Markdown
ContributorAuthor

Should be ready, can you help start a CI run ? @addaleax@himself65

@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

CI: https://ci.nodejs.org/job/node-test-pull-request/30976/

@rickyes

Copy link
Copy Markdown
ContributorAuthor

@ronagronag added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed review wanted PRs that need reviews. labels Apr 26, 2020
puzpuzpuz pushed a commit that referenced this pull request Apr 27, 2020
PR-URL: #32786Fixes: #32781
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
@puzpuzpuz

Copy link
Copy Markdown
Member

Landed in 58682d8

@rickyes
rickyes deleted the https-highWaterMark branch April 27, 2020 14:24
BethGriggs pushed a commit that referenced this pull request Apr 27, 2020
PR-URL: #32786Fixes: #32781
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Apr 27, 2020
BridgeAR pushed a commit that referenced this pull request Apr 28, 2020
PR-URL: #32786Fixes: #32781
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
BridgeAR pushed a commit that referenced this pull request Apr 28, 2020
PR-URL: #32786Fixes: #32781
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
@BridgeARBridgeAR mentioned this pull request Apr 28, 2020
BethGriggs pushed a commit that referenced this pull request Apr 28, 2020
PR-URL: #32786Fixes: #32781
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Andrey Pechkurov <apechkurov@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.tlsIssues and PRs related to the tls subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

highWaterMark option is ignored in HTTPs request stream

8 participants

@rickyes@addaleax@nodejs-github-bot@puzpuzpuz@jasnell@himself65@targos@ronag