Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: websockets/ws
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6.2.3
Choose a base ref
...
head repository: websockets/ws
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6.2.6
Choose a head ref
  • 7 commits
  • 8 files changed
  • 3 contributors

Commits on May 22, 2026

  1. [security] Limit retained message parts

    Previously, the receiver could retain one `Buffer` entry per buffered
    chunk or message fragment until enough data was parsed or the message
    completed. A peer could use many tiny fragments/chunks and make retained
    memory scale with retained part count rather than message payload size.
    
    Add configurable `maxBufferedChunks` and `maxFragments` options to bound
    the number of retained parts. When either limit is exceeded, emit
    a `WS_ERR_TOO_MANY_BUFFERED_PARTS` error and close the connection with
    close code 1008.
    
    Signed-off-by: Nadav0077 <18245584+Nadav0077@users.noreply.github.com>
    Nadav0077 authored and lpinca committed May 22, 2026
    Configuration menu
    Copy the full SHA
    a76e211 View commit details
    Browse the repository at this point in the history
  2. [dist] 6.2.4

    lpinca committed May 22, 2026
    Configuration menu
    Copy the full SHA
    86d3e8a View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2026

  1. [fix] Count empty fragments toward the limit (#2329)

    Ensure that empty fragments are counted against the `maxFragments`
    limit.
    LeSingh1 authored and lpinca committed Jul 13, 2026
    Configuration menu
    Copy the full SHA
    58ddc8c View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2026

  1. [fix] Lower default values of maxBufferedChunks and maxFragments

    Use smaller and safer default values for the `maxBufferedChunks` and
    `maxFragments` options.
    
    Closes #2331
    Closes #2332
    lpinca committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    4f19c0c View commit details
    Browse the repository at this point in the history
  2. [dist] 6.2.5

    lpinca committed Jul 14, 2026
    Configuration menu
    Copy the full SHA
    1a0afaf View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2026

  1. Configuration menu
    Copy the full SHA
    899bf9e View commit details
    Browse the repository at this point in the history
  2. [dist] 6.2.6

    lpinca committed Jul 17, 2026
    Configuration menu
    Copy the full SHA
    dd3ae14 View commit details
    Browse the repository at this point in the history
Loading