Skip to content

ares_parse_a_reply / ares_parse_aaaa_reply seem to have new behavior #371

@mmomtchev

Description

@mmomtchev

According to the manual when calling ares_parse_a_reply(), the caller is to expect that no more than naddrttls will be written to addrttls and naddrttls will be set to the number of records written. However this is not what is happening - unless I have missed something very obvious - naddrttls is set to the total number of records present. I have the feeling that this behavior is very recent?
Can you confirm this? Is it a documentation problem and was the change of behavior intended?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions