Subra A Narayanan wrote:
I was wondering if there is a way to read and transmit chunks of data to the client. The module will read, lets say 10k of data at a time, transmit it, read the next chunk, transmit it.....until the end is reached.
Check out the various filter/bucket brigade examples. This may do just what you want. I've used it to 'gate' the final sending for things ike throttling and keeping buggy telco bearer boxes happy.
Dw