[PATCH dns cache v4 0/2] Implement DNS caching

2011-07-22 Thread Jukka Rissanen
Hi,

this 4th version fixes following issues:

- unnecessary castings removed
- added lots of comments to various functions
- refactored various functions

Issue with possible unaligned memory access is still there
as I have no hardware to check whether there are any real
problems with the code.


Regards,
Jukka


Jukka Rissanen (2):
  dnsproxy: Implement A and  DNS record caching.
  TODO: DNS caching

 TODO   |9 -
 src/dnsproxy.c |  787 +++-
 2 files changed, 778 insertions(+), 18 deletions(-)

___
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman


Re: [PATCH dns cache v4 0/2] Implement DNS caching

2011-07-22 Thread Grant Erickson
On 7/22/11 2:32 AM, Jukka Rissanen wrote:
> Issue with possible unaligned memory access is still there
> as I have no hardware to check whether there are any real
> problems with the code.

Jukka:

Catching issues here without the appropriate hardware might be as simple as
adding an assert or warning print wherever it is possible to access and a
buffer is accessed starting on a non-word-aligned boundary.

At minimum, such a warning might be of benefit to those who may / do have
such hardware and they can start debugging from that assertion or warning
rather than a simple crash.

Best,

Grant


___
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman