Skip to content

Small tweaks to FormData boundary generation#5469

Merged
jasnell merged 1 commit intomainfrom
jasnell/simplify-boundary-gen
Nov 6, 2025
Merged

Small tweaks to FormData boundary generation#5469
jasnell merged 1 commit intomainfrom
jasnell/simplify-boundary-gen

Conversation

@jasnell
Copy link
Collaborator

@jasnell jasnell commented Nov 6, 2025

Two small changes:

  1. The function to generate the formdata bounday only had a single call site. It made sense to inline it and remove the extra function.

  2. It previously used the IoContext entropy source for randomness. Updated to use the new cached entropy source since it's more efficient and fresh entropy is not strictly necessary for this.

Two small changes:

1. The function to generate the formdata bounday only
   had a single call site. It made sense to inline it
   and remove the extra function.

2. It previously used the IoContext entropy source
   for randomness. Updated to use the new cached
   entropy source since it's more efficient and
   fresh entropy is not strictly necessary for this.
@jasnell jasnell requested review from a team as code owners November 6, 2025 15:31
@jasnell jasnell merged commit 502dead into main Nov 6, 2025
31 of 33 checks passed
@jasnell jasnell deleted the jasnell/simplify-boundary-gen branch November 6, 2025 16:32
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