mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-23 06:35:28 +01:00
Merge remote-tracking branch 'public/bug3369' into maint-0.2.2
This commit is contained in:
commit
a25c0a5bf8
2 changed files with 6 additions and 2 deletions
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) {
|
||||
log_info(LD_APP, "None of the questions we got were ones we're willing "
|
||||
"to support. Sending NODATA.");
|
||||
evdns_server_request_respond(req, DNS_ERR_NONE);
|
||||
"to support. Sending NOTIMPL.");
|
||||
evdns_server_request_respond(req, DNS_ERR_NOTIMPL);
|
||||
return;
|
||||
}
|
||||
if (q->type != EVDNS_TYPE_A) {
|
||||
|
|
Loading…
Add table
Reference in a new issue