Skip to content

Conversation

@agazso
Copy link
Contributor

@agazso agazso commented Oct 27, 2025

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

This PR adds support for the WebSocket based chunk put endpoint to accept pre-signed (stamped) chunks.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

The WebSocket based chunk put endpoint exists as a performance optimization so that chunks can be uploaded with smaller overhead than on the HTTP chunk endpoint. However currently the WebSocket based endpoint does not support pre-signed chunks. The proposed change adds 113 extra bytes to the chunk, which is the size of the serialized postage stamp structure (see postage.stampSize).

At the moment the PR is not ready for merging, because although technically it is working it is quite slow, most likely because it creates a new PutterSession with a pre-signed stamper for each chunk to be uploaded.

@agazso agazso force-pushed the fix/chunk-stream-stamped-putter branch from 430a35a to 0f0c7c8 Compare October 28, 2025 10:09
@bcsorvasi bcsorvasi modified the milestone: v2.7.0 Nov 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants