Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/electron/node

Node fork to make it suitable for embedding in Electron
https://github.com/electron/node

tools: update ESLint to 4.19.1

A few bug fixes result in more stringent linting rules.

PR-URL: https://github.com/nodejs/node/...

0863a0e528ba9ee01f960dce7ffebe8fff3a774c authored almost 7 years ago by Rich Trott <[email protected]>
lib,test: lint fixes for linter upgrade

ESLint 4.19.1 fixes some bugs in rules. These changes prepare us for the
upgrade.

PR-URL: https...

5e00a013eb219716d952cb8eb29a134c00f5db54 authored almost 7 years ago by Rich Trott <[email protected]>
doc: fix n-api example string

- using a length of 6 for `"hello"` includes a terminating null yielding
`"hello\u0000"`
- len...

7921e53ac5c4726785e3dcb2b7023dd3c4faacb9 authored almost 7 years ago by Steven R. Loomis <[email protected]>
doc: correct introduced_in metadata for buffer doc

The buffer module was introduced in v0.1.90. Updated `introduced_in`
value in `buffer.md` to ref...

2289267fc28d4cef0f754fba3f065d5083d7839f authored almost 7 years ago by Rich Trott <[email protected]>
doc: minor improvements to buffer.md

PR-URL: https://github.com/nodejs/node/pull/19547
Reviewed-By: Richard Lau <[email protected]>
R...

f4f999f2613eaf78be6f68c3e9ecc1b8732351b9 authored almost 7 years ago by Rich Trott <[email protected]>
doc: Add a missing comma

PR-URL: https://github.com/nodejs/node/pull/19555
Reviewed-By: Colin Ihrig <[email protected]>
R...

d4b3fcba71095cf7b758f57c5e61722db2d082d5 authored almost 7 years ago by jiangq <[email protected]>
crypto: add ECDH.convertKey to convert public keys

ECDH.convertKey is used to convert public keys between different
formats.

PR-URL: https://githu...

f2e02883e7ef6ff58331e980f91bc31d8076a5c8 authored almost 7 years ago by Wei-Wei Wu <[email protected]>
path: fix regression in posix.normalize

Fixes a regression introduced in [1].
The posix version of normalize should not treat backslash ...

a0adf56855f59a301d9a1f69b4267ced4fd4cf03 authored almost 7 years ago by Michaël Zasso <[email protected]>
stream: improve stream creation performance

PR-URL: https://github.com/nodejs/node/pull/19401
Reviewed-By: Anna Henningsen <[email protected]...

b41ed29b80ea1454132e5707a978ad2ebd6b29a2 authored almost 7 years ago by Brian White <[email protected]>
fs,net: emit 'ready' for fs streams and sockets

... in addition to the event names they currently use.

Currently, various internal streams have...

1c8149417a5dec9b2af056f306822b8a22a09706 authored almost 7 years ago by Sameer Srivastava <[email protected]>
http2: destroy() stream, upon errnoException

First steps towards #19060

PR-URL: https://github.com/nodejs/node/pull/19389
Reviewed-By: James...

84afd6e4927113a60ced01b8640903febb259df1 authored almost 7 years ago by Sarat Addepalli <[email protected]>
url: remove redundant function

PR-URL: https://github.com/nodejs/node/pull/19076
Reviewed-By: Ruben Bridgewater <ruben@bridgewa...

38bae5dc23723b4f35a1569113caf2c76fb3195d authored almost 7 years ago by Sergey Golovin <[email protected]>
url: refactor "escapeParam" function to make it common

PR-URL: https://github.com/nodejs/node/pull/19076
Reviewed-By: Ruben Bridgewater <ruben@bridgewa...

f32796fad2e77b789c0ad552dcddb891484e54fc authored almost 7 years ago by Sergey Golovin <[email protected]>
doc: update child_process.md

Add an explanation of the risk of exceeding platform pipe
capacity with uncaptured output in chi...

5fdee52c5ea39d2ed2c34dba9318162a4904cf44 authored almost 7 years ago by Ari Leo Frankel <[email protected]>
repl: fix tab completion of inspector module

Correctly check for the presence of the inspector module before adding
it to the builtin libs li...

a6f3e8f3fe653c48a48c877feec1c24306c3248e authored almost 7 years ago by Michaël Zasso <[email protected]>
src: fix upcoming V8 deprecation warnings

PR-URL: https://github.com/nodejs/node/pull/19490
Fixes: https://github.com/nodejs/node/issues/1...

c6c957d3cc3de335a0ccc25506d570b0a237a0ce authored almost 7 years ago by Sarat Addepalli <[email protected]>
doc: clarify child_process promise rejections

Promisify sections of `child_process.exec()`
and `child_process.execFile()` changed to make clea...

43506f1013c5568243dc800c42536d5aa72a3589 authored almost 7 years ago by TomCoded <[email protected]>
doc: fix linting issue in process.md

Introduced in https://github.com/nodejs/node/pull/19438

PR-URL: https://github.com/nodejs/node/...

d1720bddf4de0df8e6c79a38218da61f8a40a080 authored almost 7 years ago by Vse Mozhet Byt <[email protected]>
process: add more version properties to release

PR-URL: https://github.com/nodejs/node/pull/19438
Reviewed-By: James M Snell <[email protected]>...

982e3bdb1f06bf9d9926c808d30864b32a8223f9 authored almost 7 years ago by Gus Caplan <[email protected]>
http2: do not emit our own close emit in Http2Stream

Streams were recently updated to emit their own close event. The
Http2Stream was an exception be...

cef909797af1d716b802f04264e51cf7f26c1b51 authored almost 7 years ago by James M Snell <[email protected]>
http2: remove some unnecessary next ticks

PR-URL: https://github.com/nodejs/node/pull/19451
Reviewed-By: Matteo Collina <matteo.collina@gm...

ab755484a8a5113cb6d74f8e8ae5a26c44ae4582 authored almost 7 years ago by James M Snell <[email protected]>
http: use more destructuring

PR-URL: https://github.com/nodejs/node/pull/19481
Reviewed-By: James M Snell <[email protected]>...

e714da6f0abdf0b7c1d78be364ca7342246da74f authored almost 7 years ago by Tobias Nießen <[email protected]>
vm: migrate isContext to internal/errors

PR-URL: https://github.com/nodejs/node/pull/19268
Refs: https://github.com/nodejs/node/issues/18...

49b2969ef4731ad4a3b63476d80ce31075526613 authored almost 7 years ago by dustinnewman98 <[email protected]>
inspector: migrate errors from C++ to JS

Assign a code to a user-facing error.
Turn other internal-only errors to checks.

PR-URL: https:...

4e1f0907dae9916215985a9f81bf3dec1eeaeaef authored almost 7 years ago by Michaël Zasso <[email protected]>
doc: move StackOverflow to unofficial section

Fixes: https://github.com/nodejs/node/issues/19412

PR-URL: https://github.com/nodejs/node/pull/...

258bcb9bffb1824d65a76eb30fcd0adda0f753a0 authored almost 7 years ago by josephleon <[email protected]>
doc: move who-to-cc to COLABORATOR_GUIDE.md

Put the "who to cc" information in the COLLABORATOR_GUIDE. The
onboarding-extras doc is a bit of...

22884a7d23461f3256fd6352d20d0c6088375900 authored almost 7 years ago by Rich Trott <[email protected]>
doc: require passing CI for landing code

PR-URL: https://github.com/nodejs/node/pull/19458
Reviewed-By: Colin Ihrig <[email protected]>
R...

01b74d1dda3dd2f9b5150339ae1ecffbd24e3028 authored almost 7 years ago by Rich Trott <[email protected]>
doc: simplify COLLABORATOR_GUIDE.md instructions

Remove bulleted list formatting. Only check email/name for new
contributors. Change `full name` ...

a72bfb94ddb27b1c8cff229702f32df46233506c authored almost 7 years ago by Rich Trott <[email protected]>
doc: reduce CI options in COLLABORATOR_GUIDE.md

PR-URL: https://github.com/nodejs/node/pull/19458
Reviewed-By: Colin Ihrig <[email protected]>
R...

f3e078fdce38cd8526e4f7f3aa657e030f141efc authored almost 7 years ago by Rich Trott <[email protected]>
n-api: re-write test_make_callback

This re-writes the test in C by dropping std::vector<napi_value> in
favour of a C99 variable len...

be470943fb8b6d1a9589b7aa18ddea207cb56304 authored almost 7 years ago by Gabriel Schulhof <[email protected]>
cluster: add support for NODE_OPTIONS="--inspect"

When using cluster and --inspect as cli argument it is correctly
handled and each worker will us...

9b34ea6161a637d6be7a68b816df8f8479d7c4ee authored almost 7 years ago by Sameer Srivastava <[email protected]>
tools,lib: forbid native Error constructors

This adds a rule that forbids the use of native Error constructors in
the `lib` directory. This ...

6a9f0499688b7515f3156a1754583d7624b25989 authored almost 7 years ago by Michaël Zasso <[email protected]>
fs,cluster,net: assign error codes to remaining errors

After this commit, all errors thrown from JS code in lib have an error
code.

PR-URL: https://gi...

ab8bf26994677a5f0823b3810668f6cfa18374d9 authored almost 7 years ago by Michaël Zasso <[email protected]>
test: move ESM fixtures to fixtures dir

Also consistently import the `common` module where possible.

PR-URL: https://github.com/nodejs/...

fddcd6253b237ca68430f44c7614bf52d57c4f97 authored almost 7 years ago by Michaël Zasso <[email protected]>
net: emit 'close' after 'end'

Currently the writable side of the socket is closed as soon as `UV_EOF`
is read regardless of th...

9b7a6914a7f0bd754e78b42b48c75851cfd6b3c4 authored almost 7 years ago by Luigi Pinca <[email protected]>
test: refactor test-cluster-send-deadlock

Wait for the sockets to be connected before closing them and remove
unneeded `setTimeout()`.

PR...

74553465e6c450a3777c27f9cd3bd209a3726eda authored almost 7 years ago by Luigi Pinca <[email protected]>
doc: fix changelog

s/9\.7\.1/9\.8\.0

PR-URL: https://github.com/nodejs/node/pull/19515
Reviewed-By: Ruben Bridgewa...

0ac4ef9a4c5672b573768050259b0fe537778a1e authored almost 7 years ago by Myles Borins <[email protected]>
2018-03-21, Version 9.9.0 (Current)

Notable changes:

* assert:
- From now on all error messages produced by `assert` in strict mo...

0fc3592255f8d06a838869ca6827beb58871e98b authored almost 7 years ago by Myles Borins <[email protected]>
crypto: doc-only deprecate createCipher/Decipher

createCipher and createDecipher are cryptographically weak, can cause
severe security issues whe...

81f88e30dd6de4c2132580a7238cb54b55e012fc authored almost 7 years ago by Tobias Nießen <[email protected]>
tools: fix nits in tools/doc/preprocess.js

PR-URL: https://github.com/nodejs/node/pull/19473
Reviewed-By: Tobias Nießen <[email protected]>
...

1d42b2018fe87bbf4e032d398d24e9279279a480 authored almost 7 years ago by Vse Mozhet Byt <[email protected]>
deps: patch V8 to 6.5.254.41

PR-URL: https://github.com/nodejs/node/pull/19432
Refs: https://github.com/v8/v8/compare/6.5.254...

41193bcf2f660eb9efb8510752b4ca6ebf27600a authored almost 7 years ago by Myles Borins <[email protected]>
doc: fix paragraph order in stream.md

Place `writable.destroy()`, `readable.destroy()`,
and `readable.read()` in the proper ABC order....

3662934b5ac9002586676fdec662bea957144b34 authored almost 7 years ago by Vse Mozhet Byt <[email protected]>
doc: update collaborator guide

This also updates some parts of the onboarding. It is mainly about
how to handle pull requests, ...

1b8746fb9558ca15bd7e514ddc9f4fe052768efe authored almost 7 years ago by Ruben Bridgewater <[email protected]>
doc: add note about browsers and HTTP/2

PR-URL: https://github.com/nodejs/node/pull/19476
Reviewed-By: Trivikram Kamat <trivikr.dev@gmai...

cb69a7d22e33d26ddc0facc1717f0d8b309e0815 authored almost 7 years ago by Steven <[email protected]>
doc: fix/improve inspector profiler example

The first parameter to the callback is `err`. Fix that. Expand example
to demonstrate an actual ...

2725acf1c20986767ddbe009c6bb4c862e9b9fbf authored almost 7 years ago by Ali Ijaz Sheikh <[email protected]>
n-api: add napi_fatal_exception

Add function to trigger and uncaught exception.
Useful if an async callback throws an exception ...

c1695d8bad09fc61922ec91101736debb2d165db authored almost 7 years ago by Mathias Buus <[email protected]>
test: refactor test-fs-readfile-tostring-fail

The test uses both `assert()` and `assert.ok()`. Use just `assert.ok()`.

Remove a comment that ...

1203b1372592a5067888987080f30b6b9047d150 authored almost 7 years ago by Rich Trott <[email protected]>
doc: add trivikr to collaborators

trivikr is nominated as node core collaborator for his work on http2
https://github.com/nodejs/n...

6a958d2bf83d45833b09faca1139b293ad289396 authored almost 7 years ago by Trivikram <[email protected]>
tools: fix logic nit in tools/doc/generate.js

PR-URL: https://github.com/nodejs/node/pull/19475
Reviewed-By: Colin Ihrig <[email protected]>
R...

14460d595fd867e92fdd6328ca0bc5636c1899d9 authored almost 7 years ago by Vse Mozhet Byt <[email protected]>
async_hooks: add copyHooks function

This commit introduces a copyHooks function that can be used by
storeActiveHooks and restoreActi...

5a4a1cba2445d71aadf4ebf4350090dfdb32d871 authored almost 7 years ago by Daniel Bevenius <[email protected]>
src: remove unused stdlib.h include

Commit 870229e66529309dfea932c52d718ddc2d734966 ("src: Add ABORT
macro") replaced the abort call...

489b916c7d14032df46fea332133f38a1cadb40d authored almost 7 years ago by Daniel Bevenius <[email protected]>
perf_hooks,trace_events: fix timescale on bootstrap marks

PR-URL: https://github.com/nodejs/node/pull/19450
Reviewed-By: Anna Henningsen <[email protected]>

1f356a26ae647ff0efab0d99ec76388e640b57c9 authored almost 7 years ago by James M Snell <[email protected]>
net: emit error on invalid address family

This commit adds proper error handling to net.connect() when
a custom lookup() function returns ...

7c73cd4c70513dd4fa1f7ea13e3bb3270696eabe authored almost 7 years ago by cjihrig <[email protected]>
test: fix flaky test-http2-ping-flood

The test is unreliable on some Windows platforms in its current form.
Make it more robust by usi...

0fb017d684448308bb78d43f2c32e0b15d1c8241 authored almost 7 years ago by Rich Trott <[email protected]>
n-api: separate out async_hooks test

Place the test_make_callback async_hooks-related test into its own file.

PR-URL: https://github...

f24d0ec2016cda551d3da828109296e75386bbc3 authored almost 7 years ago by Gabriel Schulhof <[email protected]>
doc: add note to readable stream async iterator

PR-URL: https://github.com/nodejs/node/pull/19331
Reviewed-By: Ruben Bridgewater <ruben@bridgewa...

45c86e33e19e4597108e9c0c0d4b7cef77ad1c73 authored almost 7 years ago by Ivan Filenko <[email protected]>
fs: improve errors in watchFile and unwatchFile

- Check if the watcher is active in JS land before
invoking the binding, act as a noop if the ...

897f7b6c6b5ce990329f30ed1f0784db183e8e5a authored almost 7 years ago by Joyee Cheung <[email protected]>
fs: remove watcher state errors for fs.watch

- Remove ERR_FS_WATCHER_ALREADY_STARTED and
ERR_FS_WATCHER_NOT_STARTED because those two situa...

301f6cc553bd73cfa345ae7de6ee81655efc57d0 authored almost 7 years ago by Joyee Cheung <[email protected]>
fs: fix memory leak in WriteString

In the async case, if the buffer was copied instead of being moved
then the buf will not get del...

897cec43c67d036f631e0538a8172a5a8f759611 authored almost 7 years ago by Joyee Cheung <[email protected]>
deps: patch V8 to 6.5.254.40

PR-URL: https://github.com/nodejs/node/pull/19380
Refs: https://github.com/v8/v8/compare/6.5.254...

9c9324768f07051a34ca84154caa476082727cca authored almost 7 years ago by Myles Borins <[email protected]>
src: fix minor typo in comment stream_base.h

PR-URL: https://github.com/nodejs/node/pull/19429
Reviewed-By: Anna Henningsen <[email protected]...

18abca7b4989bb37f1d4299ca671af852b1f0be5 authored almost 7 years ago by Daniel Bevenius <[email protected]>
test: rename regression tests file names

Rename the tests appropriately alongside mentioning the subsystem.
Also, make a few basic change...

d54e0f8e52ff5f63c696a82509098f09f0625d3f authored almost 7 years ago by Ujjwal Sharma <[email protected]>
http2: some general code improvements

PR-URL: https://github.com/nodejs/node/pull/19400
Reviewed-By: Anna Henningsen <[email protected]...

d74184c2fa356a0f1cda99803d26a768f23a18bf authored almost 7 years ago by James M Snell <[email protected]>
http2: clean up Http2Settings

Use of a MaybeStackBuffer was just silly. Fix a long standing todo
Reduce code duplication a bit...

224941bd8cd70ead9e19d2b0afb4f58833a40541 authored almost 7 years ago by James M Snell <[email protected]>
http2: don't aggressively inline

Most of the inlines were leftovers from a much older design
iteration and are largely pointless ...

49799f3163be5dbae6639cd4dc475a46e1da7722 authored almost 7 years ago by James M Snell <[email protected]>
crypto: deprecate Decipher.finaltol

PR-URL: https://github.com/nodejs/node/pull/19353
Reviewed-By: Anna Henningsen <[email protected]...

19f3927d925c7de5ad8769d9a5bbc9d6706ccb8d authored almost 7 years ago by Tobias Nießen <[email protected]>
src: fix indentation of params in env-inl.h

PR-URL: https://github.com/nodejs/node/pull/19390
Reviewed-By: James M Snell <[email protected]>...

6050add95e4d3bf6f70dc5517fa2fe4f656aba32 authored almost 7 years ago by Daniel Bevenius <[email protected]>
async_hooks: remove async_wrap from async_hooks.js

This commit removes the builtin async_wrap module from
lib/async_hooks.js.

The motivation for t...

8c46fa69036757e2b86d9bea308b66d502420c5e authored almost 7 years ago by Daniel Bevenius <[email protected]>
src: make AsyncWrap constructors delegate

Currently, there is an AsyncWrap constructor that is only used by
PromiseWrap. This constructor ...

75ff301ae093e337d637af8d02971cd680d7d0eb authored almost 7 years ago by Daniel Bevenius <[email protected]>
Revert "util: use blue on non-windows systems for number/bigint"

This reverts commit 1708af369ba4cdfbc9f3eadd657508498b8489a3.

Numbers are much more difficult t...

1329844a0808705091891175a6bee58358380af6 authored almost 7 years ago by Ruben Bridgewater <[email protected]>
fs: fix `createReadStream(…, {end: n})` for non-seekable fds

82bdf8fba2d3f fixed an issue by silently modifying the `start`
option for the case when only `en...

2e376184f27df759ecf84f2361c7921635aed00d authored almost 7 years ago by Anna Henningsen <[email protected]>
util: add boxed BigInt formatting to util.inspect

Before:

> Object(7n)
BigInt {}

After:

> Object(7n)
[BigInt: 7n]

PR-URL: https://github.com/n...

893432ad928e25854950c0b5c581dfb3081ed4bb authored almost 7 years ago by Michaël Zasso <[email protected]>
n-api: add missing exception checking

Add checks for a pending exception in napi_make_callback
after the callback has been invoked. I...

6a5a9ad62decfc7a5a41e362484dc0e56c648e67 authored almost 7 years ago by Michael Dawson <[email protected]>
perf_hooks,trace_events: emit perf milestone trace events

Emit the perf_hooks node timing milestones as trace events.

PR-URL: https://github.com/nodejs/n...

96cb4fb795808aa2774e842974aeb411c5d3dd94 authored almost 7 years ago by James M Snell <[email protected]>
test: fix flaky test-http2-settings-flood

The test is unreliable on some Windows platforms in its current form.
Make it more robust by usi...

879f521c654fffd34360be432a6280936ba94071 authored almost 7 years ago by Rich Trott <[email protected]>
doc: fix typos on n-api

PR-URL: https://github.com/nodejs/node/pull/19385
Reviewed-By: Gireesh Punathil <[email protected]...

d20f1f004ca45b408a774f4a58f35266a03bb001 authored almost 7 years ago by Kyle Robinson Young <[email protected]>
src: remove unused uv.h include from async_wrap.cc

PR-URL: https://github.com/nodejs/node/pull/19342
Reviewed-By: Michaël Zasso <targos@protonmail....

9f3e5a09418b70df8c1bb9f5ec4ed9e08954c946 authored almost 7 years ago by Daniel Bevenius <[email protected]>
src: fix indenting of wrap->EmitTraceEventBefore

PR-URL: https://github.com/nodejs/node/pull/19340
Reviewed-By: James M Snell <[email protected]>

3802e43c0fa9ba38aa9528e6be0753c80b528eba authored almost 7 years ago by Daniel Bevenius <[email protected]>
src: add extractPromiseWrap function

Currently PromiseHook extracts the PromiseWrap from a Local<Promise> in
two places. This commit ...

69f8523d833466472ec262a55eeb9b18de809eb5 authored almost 7 years ago by Daniel Bevenius <[email protected]>
doc: fix punctuation issue in async_hooks.md

Move period incorrectly placed outside of parentheses to inside the
parentheses. The parenthetic...

9a70b2725481ef17dc8a07d6e9d3dc9f72ad0907 authored almost 7 years ago by Rich Trott <[email protected]>
n-api,test: add int64 bounds tests

Added some simple tests to verify that the int64 API is correctly
handling numbers greater than ...

5fb6f7f22f8fa7284cceb9d6ad7f96a603aca6d2 authored almost 7 years ago by Kyle Farnung <[email protected]>
assert: improve assert()/assert.ok() performance

PR-URL: https://github.com/nodejs/node/pull/19292
Reviewed-By: James M Snell <[email protected]>...

3c61b87e5918441c9d14641e328584e3ce184c98 authored almost 7 years ago by Brian White <[email protected]>
child_process: define EACCES as a runtime error

Access permission on the target child is currently thrown
as an exception. Bring this under the ...

11b6c0de4114fa499bcffbda91d8cea9d3bdea03 authored almost 7 years ago by Gireesh Punathil <[email protected]>
src: call CleanupHandles in FreeEnvironment

CleanupHandles() has not been called in our own code base anymore
after the v8 debug agent has b...

855dabd675f3d1b06130bd1b92a131dca89f5eda authored almost 7 years ago by Joyee Cheung <[email protected]>
src: simplify Environment::HandleCleanup

- Make the HandleCleanup a struct, and make the queue a
std::list, iterate over it in CleanupH...

a1a409a8ca2af0b12ee4b1397ef49e823e89327d authored almost 7 years ago by Joyee Cheung <[email protected]>
build: disable V8 untrusted code mitigations

Refs: https://github.com/v8/v8/wiki/Untrusted-code-mitigations

PR-URL: https://github.com/nodej...

c6ae8a28109fc19ea30a5d785b2215345564c0bb authored almost 7 years ago by Michaël Zasso <[email protected]>
deps: allow disabling V8 untrusted code mitigations

Add a GYP flag similar to the one defined in BUILD.gn.

PR-URL: https://github.com/nodejs/node/p...

cac4da05ad91f12c1af97895b3a08e3190f6a97f authored almost 7 years ago by Michaël Zasso <[email protected]>
lib: add back lib/module.js redirection

The previous commit deleted lib/module.js so that git
recognize the file move `lib/module.js` ->...

54de79b16e6eaf0b85fb40133dfc0f15016ef103 authored almost 7 years ago by Joyee Cheung <[email protected]>
lib: restructure cjs and esm loaders

Create `lib/internal/modules` and restructure the module loaders
to make the purpose of those fi...

c2b01881dcb3bf302f9d83157e719cc5240a9042 authored almost 7 years ago by Joyee Cheung <[email protected]>
src: put bootstrappers in lib/internal/bootstrap/

Create `lib/internal/bootstrap/` and put bootstrappers there:

Before:

```
lib/internal
├── ......

8484b40b3d38e18c524b7dd560c16ab30c94e427 authored almost 7 years ago by Joyee Cheung <[email protected]>
test: remove NODE_DEBUG in global module loading test

Otherwise the debug log output might be mixed up with
the expected errors and the assertion matc...

d9d0a97541d7a9b478ecc500e5961ad349f42540 authored almost 7 years ago by Joyee Cheung <[email protected]>
http2: remove regular-file-only restriction

Requiring `respondWithFile()` to only work with regular files
is an artificial restriction on No...

12b9ec09b0807a0b362986c80d3c4b9a644c611e authored almost 7 years ago by Anna Henningsen <[email protected]>
src: use ObjectTemplate for creating stream req objs

This allows V8 to avoid preparing a execution context
for the constructor, to give a (kinda) sma...

d93c48bf61d6b74bc080da8568df6f2eac44f275 authored almost 7 years ago by Anna Henningsen <[email protected]>
benchmark: remove excessive value from http2 benchmark

`requests = 1000000` took about 10 minutes per run for me
and doesn’t seem to add much value on ...

e136903700445f1d5f7555f22f69be189a14f682 authored almost 7 years ago by Anna Henningsen <[email protected]>
http: align parser with StreamBase interface changes

The `StreamBase` interface changed, so that `OnStreamRead()`
and `OnStreamAlloc()` are not guara...

1ac14244763a7f87d51a517f0817eca82cbc86b6 authored almost 7 years ago by Anna Henningsen <[email protected]>
http2: use native pipe instead of synchronous I/O

This resolves the issue of using synchronous I/O for
`respondWithFile()` and `respondWithFD()`, ...

1eb6b01fca598194f59f8f4cac499825e6769363 authored almost 7 years ago by Anna Henningsen <[email protected]>
src: introduce native-layer stream piping

Provide a way to create pipes between native `StreamBase` instances
that acts more directly than...

67f1d76956a8a5da9875b113371c8786ad579086 authored almost 7 years ago by Anna Henningsen <[email protected]>
src: add helper for before/after scope without JS calls

Add `AsyncScope` for cases where the async_hooks `before` and
`after` callbacks should be called...

f7f1437d44f3e4b745e36540a752065cc58d993b authored almost 7 years ago by Anna Henningsen <[email protected]>
src: make `FileHandle` a (readonly) `StreamBase`

This enables accessing files using a more standard pattern.

Once some more refactoring has been...

c412150582de524beacd180646ec5f18c518a922 authored almost 7 years ago by Anna Henningsen <[email protected]>
src: tighten handle scopes for stream operations

Put `HandleScope`s and `Context::Scope`s where they are used,
and don’t create one for native st...

8695273948846b999f528ede97c764638fbb6c40 authored almost 7 years ago by Anna Henningsen <[email protected]>