When capturing live from an interface, when the response is longer than a packet, the program is not able to assemble them before perform JSON decoding.
To reproduce the issue:
Run rpc sniffer at a terminal as root or sudo to capture lo interface
which shows that HTTP `load` is incomplete and the remaining data is in subsequent packet(s). rpc-sniffer should assemble multiple TCP packets in this case.
A precursor to solving this problem could be to have a project (different repo) that uses scapy to generate a pcap file that has HTTP response that spans multiple TCP packets
When capturing live from an interface, when the response is longer than a packet, the program is not able to assemble them before perform JSON decoding.
To reproduce the issue:
Run rpc sniffer at a terminal as root or sudo to capture
lo
interfaceRun the
Testnet tests
section of this repo: https://github.com/alext234/crypto-zombies-l5#testnet-testsThe following error can be seen