Replies: 3 comments
-
Or the second assumption, the bufferOffset is not taken, i.e. you sometimes copy buffer from position zero |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can see https://github.com/uNetworking/uWebSockets.js/blob/master/examples/VideoStreamer.js for an example on tryEnd |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, they use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that tryEnd called on onWritable events does not copy the received buffer, i.e. If, after calling tryEnd, you write data to that part of the buffer that has already been sent, there is a chance that the client will receive changed data, because tryEnd did not copy the contents of the buffer.
Beta Was this translation helpful? Give feedback.
All reactions