GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Release proposal: v3.1.0 by Fishrock123 · Pull Request #2346 · nodejs/node

Conversation

@Fishrock123

@Fishrock123 Fishrock123 commented Aug 11, 2015

Copy link
Copy Markdown
Contributor

The usual weekly-ish. Less chun than usual due to collab summit and major bump. I think the util._inspect thing is semver-minor.

  • [3a48c7220e] - build: update manifest to include Windows 10 (Lucien Greathouse) #2332
  • [0bb099f444] - build: expand ~ in install prefix early (Ben Noordhuis) #2307
  • [2f154b52da] - doc: multiple documentation updates cherry picked from v0.12 (James M Snell) #2302
  • [6f89de9c9a] - net: ensure Socket reported address is current (Ryan Graham) #2095
  • [4750a2af19] - path: remove dead code in favor of unit tests (Nathan Woltman) #2282
  • [bed03ea143] - test: clarify dropMembership() call (Rich Trott) #2062
  • [6ef7aea587] - test: make listen-fd-cluster/server more robust (Sam Roberts) #1944
  • [c8282de860] - test: address timing issues in simple http tests (Gireesh Punathil) #2294
  • [581850b10c] - tls: fix check for reused session (Fedor Indutny) #2312
  • [51b6bdcb49] - tls: introduce internal onticketkeycallback (Fedor Indutny) #2312
  • [ee9dd683e5] - (SEMVER-MINOR) util: display constructor when inspecting objects (Christopher Monsanto) #1935

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
bnoordhuis and others added 11 commits August 5, 2015 19:31
@bnoordhuis
build: expand ~ in install prefix early
0bb099f
The install prefix gets written to config.gypi and config.mk.  Tildes
were expanded in the first file but not in the second one, causing the
`make install` target to install files to a directory named `~` in
the current working directory.

Fixes: nodejs#75
PR-URL: nodejs#2307
Reviewed-By: Johan Bergström <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
@jasnell @Fishrock123
doc: multiple documentation updates cherry picked from v0.12
2f154b5
 * doc: improve http.abort description
 * doc: mention that mode is ignored if file exists
 * docs: Fix default options for fs.createWriteStream()
 * Documentation update about Buffer initialization
 * doc: add a note about readable in flowing mode
 * doc: Document http.request protocol option
 * doc, comments: Grammar and spelling fixes
 * updated documentation for fs.createReadStream
 * Update child_process.markdown, spelling
 * doc: Clarified read method with specified size argument.
 * docs:events clarify emitter.listener() behavior
 * doc: two minor stream doc improvements
 * doc: clarify Readable._read and Readable.push
 * doc: stream.unshift does not reset reading state
 * doc: readable event clarification
 * doc: additional refinement to readable event

Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noorduis <[email protected]>
PR-URL: nodejs#2302
@gireeshpunathil @Fishrock123
test: address timing issues in simple http tests
c8282de
simple tests test-http-request-end.js, test-http-default-encoding.js
hangs in AIX. The root cause for both the failures is related to the
timing with which packets are sent between the client and server.
On the client side, one factor that affects the timing is Nagle's
algorithm. With Nagle enabled there may be a delay between two packets
as the stack may wait until either:
  a. An acknowledgement for the first packet is received, or
  b. 200 ms elapses.
before sending the second packet.

Similarly at the server side 2 sequential packages can be delivered to
the application either together or separatly.

On AIX we see that they are delivered separately to the server, while on
Linux delivered together. If we change the timing, for example disabling
Nagle on AIX we see the 2 packets delivered together and the tests pass.

In the test case simple/test-http-request-end.js, the client request
handler of the server receives and stores the data in a data callback,
closes the server in a request end callback, and writes to the client
and ends the response, in-line with the request receipt. An HTTP parser
module parses the incoming message, and invokes callback routines which
are registered for HTTP events (such as header, body, end etc.)

Because the termination sequence arrive in a separate packet, there is a
delay in parsing that message and identify that the client request ended
(and thereby invoke the request end call backhandler). Due to this delay,
the response close happens first, which in-turn destroys the server
socket leading to the fd and watcher removal from the uv loop abandoning
further events on this connection, and end call back never being called,
causing the reported hang.  simple/test-http-default-encoding.js suffers
from the same problem.

Also, remove the timer logic from the test case. Test harness anyways
contain a timer which controls the individual tests so remove such
controls from the test case, as suggested by @tjfontaine

Reviewed-By: Michael Dawson <[email protected]>
PR-URL: nodejs/node-v0.x-archive#9432

PORT-FROM: joyent/node @ 13e1131
PR-URL: nodejs#2294
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@rmg @Fishrock123
net: ensure Socket reported address is current
6f89de9
Any time the connection state or the underlying handle itself changes,
the socket's name (aka, local address) can change.

To deal with this we need to reset the cached sockname any time we
set or unset the internal handle or an existing handle establishes a
connection.

PR-URL: nodejs#2095
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
@sam-github @Fishrock123
test: make listen-fd-cluster/server more robust
6ef7aea
- eliminate unnecessary intermediate process ("parent")
- children exit if runner dies unexpectedly (killed on a test timeout,
  for example)
- use explicit messaging from children to parents to indicate when
  worker is ready to accept http requests, rather than racing to see
  whether runner will make request before worker is listening

PR-URL: nodejs#1944
Reviewed-By: Johan Bergstrom <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@indutny @Fishrock123
tls: introduce internal onticketkeycallback
51b6bdc
`enableTicketKeyCallback` and `onticketkeycallback` could be potentially
used to renew the TLS Session Tickets before they expire. However this
commit will introduce it only for private use yet, because we are not
sure about the API, and already need this feature for testing.

See: nodejs#2304
PR-URL: nodejs#2312
Reviewed-By: Shigeki Ohtsu <[email protected]>
@indutny @Fishrock123
tls: fix check for reused session
581850b
When TLS Session Ticket is renewed by server - no Certificate record is
to the client. We are prepared for empty certificate in this case, but
this relies on the session reuse check, which was implemented
incorrectly and was returning false when the TLS Session Ticket was
renewed.

Use session reuse check provided by OpenSSL instead.

Fix: nodejs#2304
PR-URL: nodejs#2312
Reviewed-By: Shigeki Ohtsu <[email protected]>
@monsanto @Fishrock123
util: display constructor when inspecting objects
ee9dd68
This commit modifies util.inspect(obj) to additionally show the name of
the function that constructed the object. This often reveals useful
information about the object's prototype. In other words, instead of

> new Cls
{}

we have

> new Cls
Cls {}

This also works with exotic objects:

> class ArrayCls extends Array {}
> new ArrayCls(1, 2, 3)
ArrayCls [ 1, 2, 3 ]

The names of "trivial" constructors like Object and Array are not shown,
unless there is a mismatch between the object representation and the
prototype:

> Object.create([])
Array {}

This feature is inspired by browser devtools.

PR-URL: nodejs#1935
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
@LPGhatguy @Fishrock123
build: update manifest to include Windows 10
3a48c72
Windows 10 wasn't listed in the executable manifest.
This caused problems with trying to detect Windows 10
via `os.release()`.

PR-URL: nodejs#2332
Reviewed-By: Roman Reiss <[email protected]>
@nwoltman @Fishrock123
path: remove dead code in favor of unit tests
4750a2a
Remove dead code paths that are created by assertions that will never
trigger. They may only trigger if either the `splitDeviceRe` or
`splitPathRe` regular expressions are modified. If at some point they
are modified, current unit tests will catch most of the resulting
errors and this commit adds extra tests to catch the remaining errors.

PR-URL: nodejs#2282
Reviewed-By: Roman Reiss <[email protected]>
@Trott @Fishrock123
test: clarify dropMembership() call
bed03ea
According to docs, dropMembership() is automatically called
by the kernel when the socket is closed, and most apps will
never need to call it. It's called here as a sanity check
only so let's note that with a comment.

Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
PR-URL: nodejs#2062
@Fishrock123 Fishrock123 added the meta Issues and PRs related to the general management of the project. label Aug 11, 2015
@Fishrock123

Fishrock123 commented Aug 11, 2015

Copy link
Copy Markdown
Contributor Author

Crap, this is targeting the wrong branch. Brb.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123 Fishrock123 closed this Aug 11, 2015
@Fishrock123 Fishrock123 removed the meta Issues and PRs related to the general management of the project. label Aug 11, 2015
This was referenced Jan 16, 2022
[Snyk] Security upgrade marked from 0.3.19 to 4.0.10 solebox/node#27
Open
[Snyk] Security upgrade marked from 0.3.19 to 4.0.10 s4sc/node#26
Open
[Snyk] Security upgrade marked from 0.3.6 to 4.0.10 GregorFendt/node#20
Open
[Snyk] Security upgrade marked from 0.3.6 to 4.0.10 saurabharch/node#25
Open
[Snyk] Security upgrade marked from 0.3.6 to 4.0.10 KamilPolivka/node#24
Open
[Snyk] Security upgrade marked from 0.3.19 to 4.0.10 erdun/node#44
Open
[Snyk] Security upgrade marked from 0.3.6 to 4.0.10 saeedahassan/node#38
Open
[Snyk] Security upgrade marked from 0.3.6 to 4.0.10 olegnn/node#38
Open
@snyk-bot snyk-bot mentioned this pull request Jan 31, 2022
[Snyk] Security upgrade marked from 0.3.19 to 4.0.10 enterstudio/node#25
Open
@snyk-bot snyk-bot mentioned this pull request Jun 24, 2022
[Snyk] Fix for 7 vulnerabilities adamlaska/node#70
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

11 participants

@Fishrock123 @bnoordhuis @jasnell @gireeshpunathil @rmg @sam-github @indutny @monsanto @LPGhatguy @nwoltman @Trott
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.