Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Nov 5, 2018

This PR ensures that each record data is valid according to its type, e.g. an A record MUST always have a 4 byte IPv4 address. This should not affect normal operation of compliant DNS servers, but we now ensure that invalid response messages no longer cause any parsing errors on our side. I've added test cases to cover each possible parsing error so that this has 100% test coverage.

Builds on top of #115

@WyriHaximus WyriHaximus merged commit c27c42c into reactphp:master Nov 11, 2018
@clue clue deleted the incomplete branch November 11, 2018 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants