]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
streamtcp fixup.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 26 Jun 2008 14:24:22 +0000 (14:24 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 26 Jun 2008 14:24:22 +0000 (14:24 +0000)
git-svn-id: file:///svn/unbound/trunk@1141 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
testcode/streamtcp.c

index 096ad37bf9fb4a09aadd53422917821c259d34fd..4033d870236cb939b2d457cee974ac063cabef60 100644 (file)
@@ -1,3 +1,6 @@
+26 June 2008: Wouter
+       - fixup streamtcp bounds setting for udp mode, in the test framework.
+
 25 June 2008: Wouter
        - fixup fwd_ancil test typos.
        - Fix for newegg lameness : ok for qtype=A, but lame for others.
index d6fe40fae199d7b53fb81e17ad56627529c45344..ebfec90074e71e707d7697ac551b4b62a8331e15 100644 (file)
@@ -192,6 +192,7 @@ recv_one(int fd, int udp, ldns_buffer* buf)
                        exit(1);
                }
                ldns_buffer_set_limit(buf, (size_t)l);
+               len = (size_t)l;
        }
        printf("\nnext received packet\n");
        log_buf(0, "data", buf);