1
0
Fork 0
mirror of https://github.com/SamTherapy/dnscrypt.git synced 2024-11-19 20:43:45 +00:00
Commit graph

6 commits

Author SHA1 Message Date
Ainar Garipov
180dea3b91
imp docs, rm unused field, go mod tidy (#13) 2021-08-31 20:33:03 +03:00
Andrey Meshkov
ef90099c2d increase the default UDP buffer 2021-08-31 19:34:31 +03:00
Andrey Meshkov
3416ca53bc Added UDPSize properties to client and server 2021-07-13 14:07:12 +03:00
Andrey Meshkov
b7fd5d3700 Fix compatibility with the old dnscrypt-proxy version 2021-04-14 18:20:03 +03:00
Andrey Meshkov
5ddb58f703
Graceful shutdown of the DNSCrypt server (#6)
Graceful shutdown of the DNSCrypt server

This PR implements Server.Shutdown(ctx context.Context) method that allows
to shut down the DNSCrypt server gracefully.

Some additional changes that were inadvertently made while doing that:
1. Added benchmark tests
2. Started using dns.ReadFromSessionUDP / dns.WriteToSessionUDP instead of implementing it by ourselves
3. Generally improved tests
4. Added depguard 
5. Improved comments overall in the code
2021-03-19 15:42:48 +03:00
Andrey Meshkov
d2621f55d2 Added DNSCrypt server implementation 2020-10-19 17:20:49 +03:00