You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the multipart stream handler uses a very naive algorithm for matching boundary from multiple slices of buffers.
We want to avoid concatenating the buffers into single buffer because then it would be too large for finding the end boundary. This is unless io.js concatenates buffers without allocating and copying content into a contiguous concatenated buffer, which I haven't verify.
Currently the multipart stream handler uses a very naive algorithm for matching boundary from multiple slices of buffers.
We want to avoid concatenating the buffers into single buffer because then it would be too large for finding the end boundary. This is unless io.js concatenates buffers without allocating and copying content into a contiguous concatenated buffer, which I haven't verify.
Until then, we need to consider using more efficient boundary matching algorithms such as the Boyer–Moore string search algorithm.
The text was updated successfully, but these errors were encountered: