Ok, forget my post, i did not understand you :) On Tue, Mar 13, 2012 at 11:26 PM, Ben Noordhuis <[email protected]> wrote: > On Tue, Mar 13, 2012 at 23:02, Daniel Morilha <[email protected]> wrote: >> Hi, >> >> I was investigating the http.js internals and found out the chunked >> transfer-type for incoming connections does not help. Essentially, I would >> like to have an event which emits only when we have the full chunk, which is >> the "parsable" unit in our application instead of the way on('data', ...) >> currently performs. >> >> Does that make sense? > > Sort of. It's not possible right now though. > > Chunk boundaries are not signaled to the application, Node simply > emits the data as it comes in over the TCP stream. The HTTP parser > however knows the chunk length. Theoretically that could be exposed > and then you can build something on top of that. > > If you open an issue in the bug tracker and present a compelling use > case, we can look into it. > > -- > Job Board: http://jobs.nodejs.org/ > Posting guidelines: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > You received this message because you are subscribed to the Google > Groups "nodejs" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/nodejs?hl=en?hl=en
-- Oliver Leics @ G+ https://plus.google.com/112912441146721682527 -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
