seanmonstar/httparse

Not support http body

Closed this issue · 1 comments

I've get a pcap file from tcpdump.
I tried to use httparse to process those packet. However, I found it well return Status::Complete even if packet is not complete.
I think this is caused by not processing the body.
As a rust novice, I translated the relevant code from golang's http library and it works fine now. How do I submit this code. Or can someone help me submit the code.

This is correct, it parses the message headers, and then determining how long the body is is left to the user.