mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-09 08:37:04 +02:00
CLEANUP: remove obsolete comments
This patch removes some old comments introduced by
13a9232ebc
.
Those comments are related to issues already fixed.
This commit is contained in:
parent
c3500c3ccd
commit
17ab79f07d
@ -1030,7 +1030,6 @@ static int dns_validate_dns_response(unsigned char *resp, unsigned char *bufend,
|
|||||||
|
|
||||||
/* now parsing additional records */
|
/* now parsing additional records */
|
||||||
nb_saved_records = 0;
|
nb_saved_records = 0;
|
||||||
//TODO: check with Dinko for DNS poisoning
|
|
||||||
for (i = 0; i < dns_p->header.arcount; i++) {
|
for (i = 0; i < dns_p->header.arcount; i++) {
|
||||||
if (reader >= bufend)
|
if (reader >= bufend)
|
||||||
return DNS_RESP_INVALID;
|
return DNS_RESP_INVALID;
|
||||||
@ -1202,7 +1201,6 @@ static int dns_validate_dns_response(unsigned char *resp, unsigned char *bufend,
|
|||||||
continue;
|
continue;
|
||||||
tmp_record->ar_item = dns_answer_record;
|
tmp_record->ar_item = dns_answer_record;
|
||||||
}
|
}
|
||||||
//TODO: there is a leak for now, since we don't clean up AR records
|
|
||||||
|
|
||||||
LIST_ADDQ(&dns_p->ar_list, &dns_answer_record->list);
|
LIST_ADDQ(&dns_p->ar_list, &dns_answer_record->list);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user