sockproc icon indicating copy to clipboard operation
sockproc copied to clipboard

chunking

Open bjne opened this issue 8 years ago • 1 comments

Have you considered reinventing the sockproc protocol to serve data in chunks? Say for example for generating an archive dynamically, seems to me you need to allocate the size of the output, then write everything to the socket?

bjne avatar Jul 03 '16 13:07 bjne

That is a good idea. You could redirect archive generation into a file, and then read from there directly, not via sockproc. However, i agree that it would be nice to have support for chunking in the protocol. Perhaps, it would be v1.1, for example, similar to how chunking works in http.

juce avatar Jul 06 '16 07:07 juce