http: add maxHeaderSize property by cjihrig · Pull Request #24860 · nodejs/node (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation11 Commits1 Checks0 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

cjihrig

Requested by @mcollina in #24811 , but I didn't want to stall that out. Ignore the commits to deps and cli, which are just #24811.

This PR exposes the value of --max-http-header-size as a property of the http module.

Checklist

@nodejs-github-bot

@nodejs-github-bot nodejs-github-bot added c++

Issues and PRs that require attention from people who are familiar with C++.

lib / src

Issues and PRs related to general changes in the lib or src directory.

labels

Dec 6, 2018

richardlau

mcollina

Choose a reason for hiding this comment

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

LGTM

mhdawson

Choose a reason for hiding this comment

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

LGTM

@mcollina

@nodejs/lts would you be ok in backporting this to 6/8/10?

sam-github

@@ -62,3 +63,16 @@ module.exports = {
get,
request
};
Object.defineProperty(module.exports, 'maxHeaderSize', {
configurable: true,

Choose a reason for hiding this comment

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

should this be configurable: false, writeable: false?

Choose a reason for hiding this comment

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

writable is not supported on accessor descriptors.

@cjihrig cjihrig added the semver-minor

PRs that contain new features and should be released in the next minor version.

label

Dec 20, 2018

codebytere

jasnell

@cjihrig

This commit exposes the value of --max-http-header-size as a property of the http module.

PR-URL: nodejs#24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

@cjihrig

MylesBorins pushed a commit that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

@MylesBorins

Should this be included in the various releases being prepared for 6.x -> 11.x right now?

@mcollina

MylesBorins pushed a commit to MylesBorins/node that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

PR-URL: nodejs#24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

MylesBorins pushed a commit that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

MylesBorins pushed a commit that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

Backport-PR-URL: #25218 PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

MylesBorins pushed a commit that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

MylesBorins pushed a commit that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

Backport-PR-URL: #25218 PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

MylesBorins pushed a commit that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

Backport-PR-URL: #25218 PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

MylesBorins pushed a commit that referenced this pull request

Dec 25, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

Backport-PR-URL: #25218 PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

This was referenced

Dec 25, 2018

MylesBorins added a commit that referenced this pull request

Dec 25, 2018

@MylesBorins

The 6.15.0 security release introduced some unexpected breakages on the 6.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable changes:

PR-URL: #25178

MylesBorins added a commit that referenced this pull request

Dec 25, 2018

@MylesBorins

The 8.14.0 security release introduced some unexpected breakages on the 8.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable changes:

PR-URL: #25177

MylesBorins added a commit that referenced this pull request

Dec 25, 2018

@MylesBorins

Notable Changes:

PR-URL: #25175

MylesBorins pushed a commit that referenced this pull request

Dec 26, 2018

@cjihrig @MylesBorins

This commit exposes the value of --max-http-header-size as a property of the http module.

PR-URL: #24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

MylesBorins added a commit that referenced this pull request

Dec 26, 2018

@MylesBorins

Notable Changes:

PR-URL: #25175

MylesBorins added a commit that referenced this pull request

Dec 26, 2018

@MylesBorins

Notable Changes:

PR-URL: #25175

MylesBorins added a commit that referenced this pull request

Dec 26, 2018

@MylesBorins

The 6.15.0 security release introduced some unexpected breakages on the 6.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable changes:

PR-URL: #25178

MylesBorins added a commit that referenced this pull request

Dec 26, 2018

@MylesBorins

The 8.14.0 security release introduced some unexpected breakages on the 8.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable changes:

PR-URL: #25177

MylesBorins added a commit that referenced this pull request

Dec 26, 2018

@MylesBorins

The 10.14.0 security release introduced some unexpected breakages on the 10.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable Changes:

PR-URL: #25176

MylesBorins added a commit that referenced this pull request

Dec 26, 2018

@MylesBorins

Notable Changes:

PR-URL: #25175

This was referenced

Dec 26, 2018

refack pushed a commit to refack/node that referenced this pull request

Jan 14, 2019

@cjihrig @refack

This commit exposes the value of --max-http-header-size as a property of the http module.

PR-URL: nodejs#24860 Reviewed-By: Richard Lau riclau@uk.ibm.com Reviewed-By: Matteo Collina matteo.collina@gmail.com Reviewed-By: Michael Dawson michael_dawson@ca.ibm.com Reviewed-By: Shelley Vohr codebytere@gmail.com Reviewed-By: James M Snell jasnell@gmail.com

refack pushed a commit to refack/node that referenced this pull request

Jan 14, 2019

@MylesBorins @refack

The 6.15.0 security release introduced some unexpected breakages on the 6.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable changes:

PR-URL: nodejs#25178

refack pushed a commit to refack/node that referenced this pull request

Jan 14, 2019

@MylesBorins @refack

The 8.14.0 security release introduced some unexpected breakages on the 8.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable changes:

PR-URL: nodejs#25177

refack pushed a commit to refack/node that referenced this pull request

Jan 14, 2019

@MylesBorins @refack

The 10.14.0 security release introduced some unexpected breakages on the 10.x release line. This is a special release to fix a regression in the HTTP binary upgrade response body and add a missing CLI flag to adjust the max header size of the http parser.

Notable Changes:

PR-URL: nodejs#25176

refack pushed a commit to refack/node that referenced this pull request

Jan 14, 2019

@MylesBorins @refack

Labels

c++

Issues and PRs that require attention from people who are familiar with C++.

lib / src

Issues and PRs related to general changes in the lib or src directory.

semver-minor

PRs that contain new features and should be released in the next minor version.