Subject: [PATCH] extension to ares_txt_reply parsing

[PATCH] extension to ares_txt_reply parsing

From: bradytrix <bdoetsch_at_ameritech.net>
Date: Sat, 23 Jan 2016 15:42:12 -0600

Forgive me if I don’t follow protocol correctly, I’m new to this group.

I’ve made a small patch to allow multi-part TXT responses to be reconstructed as either the full un-chunked message, or its component parts. It does not break the API or the ABI, and it aims to be as minimal as possible; the “ares_txt_reply” struct remains unmodified. I also tested the patched code against David Drysdale’s super cool test suite at https://github.com/daviddrysdale/c-ares/commits/test with full success. I also added a test to ensure that the c-ares patch is working as expected (the patch to the testing framework is attached as well). I Hope you find this worthy and helpful. Please review as per your usual standards.

Thanks all for such a great piece of software, and the effort it must have taken. c-ares is the best.

Brady

Received on 2016-01-23