Repository navigation
[v11.x backport] http: reduce usage of public util #26650
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
4796c7c
stream: make sure 'readable' is emitted before ending the stream
mcollina 0c4e019
src: remove unused variable in node_http2.cc
gengjiawen 93ef1e3
http: check for existance in resetHeadersTimeoutOnReqEnd
mcollina 44ef6b0
src: fix build when NODE_USE_V8_PLATFORM is not defined
nitsakh f74d5c8
doc: fix the example implementation of MemoryRetainer
joyeecheung fc6023a
doc: edit deprecation section of Collaborator Guide
Trott 3570c77
test: relax timer check in test-report-uv-handles.js
richardlau ff1958d
lib: migrate process.binding to internalBinding
BeniCheni 09c83d8
crypto: add KeyObject.asymmetricKeySize
paroga 3e6b95e
src: use the config binding to carry --no-browser-globals
joyeecheung b435913
src: fix wrong enum reference in node.cc
gengjiawen 21ca939
src: remove unused function in cares_wrap.cc
gengjiawen 4ff5cfa
src: remove redundant cast in string_search.h
gengjiawen b3ecaaa
tools: replace var to let/const
a8331fa
tools: add no-var lint rule for tools directory
3dd7084
build,win: simplify new `msbuild_arg` option
refack 1351f6e
build: indicate that configure has done something
richardlau 7d8edec
buffer: do not affect memory after target for utf16 write
addaleax 4b1c1dc
doc: add missing https Agent maxCachedSessions
nicolas-moteau bd7e243
doc: standardize on End-of-Life capitalization
Trott aa80137
tools: update remark-preset-lint-node to 1.5.0
Trott 2d7b629
src: remove redundant call in inspector_io.cc
gengjiawen 539a9c0
src: make parameter name const reference in method TriggerNodeReport
gengjiawen 5d2c522
http: remove unused variable in _http_server.js
gengjiawen 24b9ae1
test: fix tests so they work in worker threads
richardlau 8e94cb2
child_process: fire close event from stdio
koh110 8c087d2
test: remove usage of `process.binding()`
addaleax ab1327f
crypto: simplify GetPublicOrPrivateKeyFromJs
tniessen d1c225f
test: refactor test/report/test-report-signal.js
cjihrig 8c90fe1
Revert "build: silence cpp lint by default"
refack f37e7bf
tools: fix test.py --shell
hashseed 8439e07
src: remove redundant cast in util-inl.h
gengjiawen 20fdf89
repl: add replDefaults to customize the writer
BridgeAR cafb332
tools: update dmn to 2.2.1 in update scripts
Trott dc04dc0
tools: use dmn@2.2.1 to remove unneeded files
Trott 3b06d29
src: remove templating from StreamBase
maclover7 f0a144e
src: cleanup in all return paths in node::Start
gireeshpunathil bab6c63
doc: add caveat and tradeoff example to readline
vsemozhetbyt 5de8ed8
doc: add guidance on console output in tests
sam-github 4a913a2
test: bump test-bootstrap-modules.js limit
joyeecheung cae30d9
doc: edit "Involving the TSC"
Trott f7ecc94
http: improve for-loop readability in _http_outgoing.js
gengjiawen 14e247e
n-api: improve performance creating strings
anthony-tuininga 28b500f
src: merge debug-only `SealHandleScope`s
addaleax 6a4bb9e
src: delete unused variable in env.h
gengjiawen cdf0e09
src: delete unused method SetTemplateMethodNoSideEffect
gengjiawen 926649e
src: delete unused method SetTemplateMethod
gengjiawen 8f0a924
tools: update `node-lint-md-cli-rollup` version 2
refack bda41d8
tools: update generated lint-md.js
refack feb3a84
src: guard against calling `Init()` multiple times
addaleax a2511f8
doc: fix nits in writing-tests.md
vsemozhetbyt ce260c2
test: de-flake test-dns-idna2008.js
refack 7c8bb94
doc: update partner communities link in releases.md
BethGriggs 2b57c65
benchmark,doc,lib,test: capitalize comments
BridgeAR 06c5b84
tools: update capitalized-comments rule
BridgeAR 96d3705
test: rewrite ocsp test to run in parallel
sam-github f33163a
src: apply clang-tidy various improvement
gengjiawen 0c49ffb
doc: remove tsc-review
Trott cc32461
test: mark `test-worker-prof` as Flaky on ARM
refack 7dd213f
tools: update to mdast-util-to-hast v3.0.2
rubys 0ba661e
doc: add decode() & encode() methods into querystring.md
ZYSzys f91dab6
doc: document fake ENOTFOUND as a system error
cjihrig 2eb6a40
report: fix stdout/stderr output formatting
cjihrig b048a38
test: cover stdout/stderr usage in triggerReport()
cjihrig 70343d0
test: cover triggerReport() failure case
cjihrig 9d77d47
report: rename triggerReport() to writeReport()
cjihrig 2c0c42d
tools: update ESLint to 5.15.1
cjihrig 119adf2
doc: edit Landing Pull Requests
Trott 4a72eb3
doc: add inspector API example for heapdump
sam-github ca9bb1f
lib,src: remove usage of _externalStream
addaleax 8d9c3fa
worker: remove `ERR_CLOSED_MESSAGE_PORT`
addaleax 8f6b4a9
doc: document diverging MessagePort.onmessage handling
addaleax 9af6631
process: add --pending-deprecation to `process.binding()`
addaleax d599ada
doc: add version for http.createServer() options addition
benswinburne 1a0602a
crypto: check for invalid chacha20-poly1305 IVs
sam-github 98eb711
doc: edit "Using git-node" section of Guide
Trott 6d90c49
src: rename Init and Start overloads to something more distinctive
joyeecheung 300ad04
test: mark test-worker-prof as flake on all platforms
refack 066fe5a
build: enable v8's siphash for hash seed creation
rvagg 1dd956a
deps,tools: include SipHash in LICENSE
rvagg b592c2f
test: fix compiler warning in test_string.c
danbev 0ed2a01
src: remove unused variables
cjihrig 8cb7d4b
worker: release native Worker object earlier
addaleax f2ebf36
url: require encodeStr from internal/querystring
ZYSzys c43e5b3
lib: import TextEncoder and TextDecoder from `internal/encoding`
joyeecheung 71d0a8a
crypto: fix EdDSA support for KeyObject
mscdex f03498c
test: fix syntax error in test-dns-idna2008.js when failing
refack c6536b4
process: make Symbol.toStringTag writable
BridgeAR 348d9a6
http2: `Http2ServerResponse.end()` should always return self
ronag b581bb0
test: fix test by removing node-inspect/lib/_inspect
BridgeAR cd77811
http: reduce usage of public util
ZYSzys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
http: reduce usage of public util
PR-URL: #26548 Refs: #26546 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
- Loading branch information
There are no files selected for viewing
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
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since #24755 was
semver-major, maybe we should keep usingutil.inheritshere and just backport thedebuglogpart ?BTW, I think it's also dependent on #26468 if I'm not wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This definitely depends on #26468 and it's also the reason why the CI fails.
I have no strong opinion about the
util.inheritspart. I guess someone could rely on some checks that would now fail but it is quite unlikely as well. In this case I would just follow @ZYSzys and pull these changes out.