1
0
Fork 0
mirror of https://github.com/SamTherapy/dnscrypt.git synced 2024-10-02 16:32:51 +00:00
Commit graph

8 commits

Author SHA1 Message Date
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
Andrey Meshkov 24c055c2b8 refactor: 💡 upgrade to go v1.14 2020-04-03 18:29:07 +03:00
Andrey Meshkov d0f3e26a39 Use newer miekg/dns 2019-04-24 20:39:57 +03:00
Andrey Meshkov 144ee17f5e Fix adjustPayloadSize method 2019-01-22 13:13:41 +03:00
Andrey Meshkov a3a21511cb upd dnsstamps 2018-12-29 16:20:13 +03:00
Andrey Meshkov a1a856d5d6 use github.com/ameshkov/dnsstamps 2018-12-29 14:25:36 +03:00
Andrey Meshkov 63ea7215f7 Init 2018-12-17 01:55:58 +03:00