]> The Tcpdump Group git mirrors - tcpdump/commit
Text protocols: Fix printing truncation if it is not the case
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 20 Sep 2023 14:33:33 +0000 (16:33 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 25 Oct 2023 14:19:07 +0000 (16:19 +0200)
commitbf70c3ab06f04e010300141d261c1b8926f5c09b
tree3148175ae8fd6f552050e4af12300f06cf837b4c
parent0a3939093bd67b906e08d678f77d112e812aa0c2
Text protocols: Fix printing truncation if it is not the case

In some cases, within HTTP for example, there may be no line ending, as
with some Content-Type text/xml, even if not truncated.

Truncation is handled by the GET_() calls.

Add a test file.

(cherry picked from commit 851d47b291b7922a8388fae0063163c30fad3b28)
tests/TESTLIST
tests/ipv4_tcp_http_xml.out [new file with mode: 0644]
tests/ipv4_tcp_http_xml.pcap [new file with mode: 0644]
util-print.c