node-pcap / node_pcap

libpcap bindings for node
MIT License
930 stars 254 forks source link

make bytes consumed by http parser available #8

Open mnot opened 13 years ago

mnot commented 13 years ago

It'd be nice to know how many bytes the various http parsing functions consume, so that what's happening at that layer can be accurately mapped to what's actually in the packets.

mranney commented 13 years ago

Yeah, we need to somehow expose the difference between packets and chunks in http_trace. Right now, they are sort of magically often the same, but not always.