Revert late socket-error suppression in HTTP client (
34c28d5)
This reverts the change that stopped emitting socket errors after a complete response. The rollback restores the previous behavior for ClientRequest error handling and removes the now-obsolete regression test, which matters for compatibility around late socket teardown.
Simplify webstreams promise chaining (
bf5c221)
lib/internal/webstreams/adapters.js is refactored to flatten nested PromisePrototypeThen calls in the writable and duplex adapters. The change is internal, but it makes the async flow easier to follow and reduces nesting in code paths that bridge Node streams and Web Streams.
Clarify PEM requirements in crypto API docs (
5d68eb4)
The crypto documentation now explicitly says that string and buffer-like key inputs must contain PEM-encoded key material when passed to signing and verification APIs. That removes ambiguity for users calling createPrivateKey()/createPublicKey()-style paths.
