Nmap Development mailing list archives

Re: Get value in IncompleteRead exception


From: nnposter <nnposter () users sourceforge net>
Date: Fri, 17 Mar 2017 08:53:10 -0600


On 3/13/17 8:40 PM, Vinamra Bhatia wrote:
Hey, it did work! Thanks a lot.
I was just perplexed about what issues will the patch cause if put in
the main trunk.

This one is more complete so feel free to give it a spin. (You will need
to reverse the previous patch.)

Note that the incomplete body is now returned in member "fragment".

if not req.status and req.fragment then
  stdnse.debug1("Incomplete body is %d bytes long", #req.fragment)
end


Cheers,
nnposter

Attachment: http-partial-3.patch
Description:

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: