mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Merge remote-tracking branch 'public/bug3369' into maint-0.2.2
This commit is contained in:
commit
a25c0a5bf8
4
changes/bug3369
Normal file
4
changes/bug3369
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- When asked about a DNS record type we don't support via a
|
||||||
|
client DNSPort, reply with NOTIMPL rather than an empty
|
||||||
|
reply. Patch by intrigeri. Fixes bug 3369; bugfix on 2.0.1-alpha.
|
@ -95,8 +95,8 @@ evdns_server_callback(struct evdns_server_request *req, void *_data)
|
|||||||
}
|
}
|
||||||
if (!q) {
|
if (!q) {
|
||||||
log_info(LD_APP, "None of the questions we got were ones we're willing "
|
log_info(LD_APP, "None of the questions we got were ones we're willing "
|
||||||
"to support. Sending NODATA.");
|
"to support. Sending NOTIMPL.");
|
||||||
evdns_server_request_respond(req, DNS_ERR_NONE);
|
evdns_server_request_respond(req, DNS_ERR_NOTIMPL);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (q->type != EVDNS_TYPE_A) {
|
if (q->type != EVDNS_TYPE_A) {
|
||||||
|
Loading…
Reference in New Issue
Block a user