ixfr: Format checking + removed redundant test
- If the IXFR response contains no records or the first record is not SOA, consider it malformed and fail the transfer. - AXFR-style IXFR both master side and slave side are checked in one test, removed the other.
parent
e0964b5e
No related branches found
No related tags found
Showing
- src/knot/nameserver/ixfr.c 17 additions, 2 deletionssrc/knot/nameserver/ixfr.c
- tests-extra/tests/ixfr/axfr_style/data/xfr.zone 0 additions, 0 deletionstests-extra/tests/ixfr/axfr_style/data/xfr.zone
- tests-extra/tests/ixfr/axfr_style/data/xfr.zone.1 0 additions, 0 deletionstests-extra/tests/ixfr/axfr_style/data/xfr.zone.1
- tests-extra/tests/ixfr/axfr_style/test.py 2 additions, 2 deletionstests-extra/tests/ixfr/axfr_style/test.py
- tests-extra/tests/ixfr/axfr_style_master/data/example.com.zone 0 additions, 16 deletions...-extra/tests/ixfr/axfr_style_master/data/example.com.zone
- tests-extra/tests/ixfr/axfr_style_master/data/example.com.zone.1 0 additions, 16 deletions...xtra/tests/ixfr/axfr_style_master/data/example.com.zone.1
- tests-extra/tests/ixfr/axfr_style_master/test.py 0 additions, 27 deletionstests-extra/tests/ixfr/axfr_style_master/test.py
File moved
File moved
Please register or sign in to comment