Hi, as reported in the ml, ConnMan can get stuck if a client is not sending full DNS request when using TCP. I added also some unit tests for DNS proxy. These tests require that ConnMan is running so they cannot be run automatically during distcheck.
These patches require the "PATCH v2 0/8] DNS proxy should listen only needed addresses" patchset as a base. There could be bugs lurking in the code so everyone, please do some testing. Cheers, Jukka Jukka Rissanen (2): dnsproxy: Handle partial TCP messages from client unit: Add unit test for dnsproxy Makefile.am | 6 +- src/dnsproxy.c | 475 ++++++++++++++++++++++++++++++++++++++++++++------- unit/test-dnsproxy.c | 463 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 878 insertions(+), 66 deletions(-) create mode 100644 unit/test-dnsproxy.c -- 1.7.11.7 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
