From vgrama at gmail.com Tue Jun 13 17:53:43 2006 From: vgrama at gmail.com (Vlad Grama) Date: Tue, 13 Jun 2006 20:53:43 +0300 Subject: [ldns-users] One small bug, one missing definition Message-ID: <7f6f17250606131053r4854acafq3f126a414fca4c07@mail.gmail.com> Hi, I have been playing with LDNS and like it very much. Thanks for a nice and easy to use library. One bug I found: in function ldns_udp_send in net.c sockfd is not closed (neither when returning ok, nor in case an error occurs). I noticed this while generating many queries and receiving a "too many open files " error on Linux. I added the close() calls in udp_send and everything is fine One missing definition: LDNS_RR_CLASS_NONE with value 254 is not among the values in enum ldns_enum_rr_class in file rr.h. This is used when deleting RRs from a RR set. Cheers, Vlad. From miek at miek.nl Wed Jun 14 07:07:06 2006 From: miek at miek.nl (Miek Gieben) Date: Wed, 14 Jun 2006 09:07:06 +0200 Subject: [ldns-users] One small bug, one missing definition In-Reply-To: <7f6f17250606131053r4854acafq3f126a414fca4c07@mail.gmail.com> References: <7f6f17250606131053r4854acafq3f126a414fca4c07@mail.gmail.com> Message-ID: <20060614070706.GG24151@miek.nl> [On 13 Jun, @19:53, Vlad Grama wrote in "[ldns-users] One small bug, on ..."] > Hi, > > I have been playing with LDNS and like it very much. Thanks for a nice > and easy to use library. thank you! :-) > One bug I found: > on Linux. I added the close() calls in udp_send and everything is fine yep, fix. > One missing definition: > LDNS_RR_CLASS_NONE with value 254 is not among the values in enum Added that too, thanks, -- grtz, - Miek http://www.miek.nl http://www.nlnetlabs.nl PGP: 6A3C F450 6D4E 7C6B C23C F982 258B 85CF 3880 D0F6 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: Digital signature URL: