1
0
Fork 0
mirror of https://github.com/SamTherapy/dnscrypt.git synced 2024-07-05 06:46:07 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Sam Therapy 3fbc0b2fab
Merge branch 'ameshkov:master' into master 2023-03-28 22:13:02 +02:00
Andrey Meshkov 6ca80e7ffc code cleanup, go to 1.19 2023-03-15 18:57:22 +03:00
Sam Therapy 3459b621a6
change import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-03-06 23:26:40 +01:00
Andrey Meshkov 3416ca53bc Added UDPSize properties to client and server 2021-07-13 14:07:12 +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 ec8cdd3529 Upgrade to v2 2020-10-19 18:36:54 +03:00
Andrey Meshkov d2621f55d2 Added DNSCrypt server implementation 2020-10-19 17:20:49 +03:00