mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Merge branch 'tor-gitlab/mr/547'
This commit is contained in:
commit
17a8b3c735
3
changes/ticket40577
Normal file
3
changes/ticket40577
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor bugfixes (DNSPort, dormant mode):
|
||||
- A request on the DNSPort now wakes up a dormant tor. Fixes bug 40577;
|
||||
bugfix on 0.3.5.1-alpha.
|
@ -65,6 +65,9 @@ evdns_server_callback(struct evdns_server_request *req, void *data_)
|
||||
|
||||
log_info(LD_APP, "Got a new DNS request!");
|
||||
|
||||
/* Receiving a request on the DNSPort counts as user activity. */
|
||||
note_user_activity(approx_time());
|
||||
|
||||
req->flags |= 0x80; /* set RA */
|
||||
|
||||
/* First, check whether the requesting address matches our SOCKSPolicy. */
|
||||
|
Loading…
Reference in New Issue
Block a user