<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eduvpn-common/internal/discovery/discovery.go, branch 4.0.0</title>
<subtitle>Fork of codeberg.org/eduVPN/eduvpn-common for &lt;b&gt;reasons&lt;/b&gt;</subtitle>
<id>https://herkulessi.de/git/eduvpn-common/atom?h=4.0.0</id>
<link rel='self' href='https://herkulessi.de/git/eduvpn-common/atom?h=4.0.0'/>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/'/>
<updated>2025-08-29T12:40:25Z</updated>
<entry>
<title>Discovery: Remove manager and DiscoveryStartup</title>
<updated>2025-08-29T12:40:25Z</updated>
<author>
<name>Jeroen Wijenbergh</name>
<email>jeroen.wijenbergh@geant.org</email>
</author>
<published>2025-08-29T12:36:00Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=132782f44603dfdc3b1d875d632f786109ee09a2'/>
<id>urn:sha1:132782f44603dfdc3b1d875d632f786109ee09a2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Discovery: Add cache argument and embed unmarshal on startup</title>
<updated>2025-08-29T12:40:24Z</updated>
<author>
<name>Jeroen Wijenbergh</name>
<email>jeroen.wijenbergh@geant.org</email>
</author>
<published>2025-08-29T12:05:20Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=4a23134e1e5d70a9c8c5857790dbf27585ca3b1f'/>
<id>urn:sha1:4a23134e1e5d70a9c8c5857790dbf27585ca3b1f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>All: Move to log/slog</title>
<updated>2025-05-06T13:40:55Z</updated>
<author>
<name>Jeroen Wijenbergh</name>
<email>jeroen.wijenbergh@geant.org</email>
</author>
<published>2025-05-06T12:33:54Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=3f0c2643b4caadd3a47201caa2c6acba2585241d'/>
<id>urn:sha1:3f0c2643b4caadd3a47201caa2c6acba2585241d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>All: Run modernize --test --fix</title>
<updated>2025-05-06T10:40:47Z</updated>
<author>
<name>Jeroen Wijenbergh</name>
<email>jeroen.wijenbergh@geant.org</email>
</author>
<published>2025-05-06T10:40:47Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=347b20fc91505584bc9efbeca89590a411b95e79'/>
<id>urn:sha1:347b20fc91505584bc9efbeca89590a411b95e79</id>
<content type='text'>
</content>
</entry>
<entry>
<title>All: Fix staticcheck errors</title>
<updated>2025-05-06T10:35:21Z</updated>
<author>
<name>Jeroen Wijenbergh</name>
<email>jeroen.wijenbergh@geant.org</email>
</author>
<published>2025-05-06T10:35:21Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=9c4985368aee638d982f30ea7bc5c7ee71ae3ab3'/>
<id>urn:sha1:9c4985368aee638d982f30ea7bc5c7ee71ae3ab3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace all links from GitHub to Codeberg</title>
<updated>2024-11-21T15:06:22Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2024-11-21T14:57:12Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=a587163c822e80527f6acc78c1edac3410327854'/>
<id>urn:sha1:a587163c822e80527f6acc78c1edac3410327854</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Format: Run Gofumpt</title>
<updated>2024-07-30T07:36:45Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2024-07-24T15:01:28Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=718369ba29ca7c8ed623e2f22f3c37badd5dee89'/>
<id>urn:sha1:718369ba29ca7c8ed623e2f22f3c37badd5dee89</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Discovery: Remove organizations per 4 hour expiry</title>
<updated>2024-07-17T14:00:03Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2024-07-10T13:16:00Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=ad5b0b6a6410e60a6beef9de1f600b0600db959a'/>
<id>urn:sha1:ad5b0b6a6410e60a6beef9de1f600b0600db959a</id>
<content type='text'>
As setting organizations expired is now done in register
</content>
</entry>
<entry>
<title>Client + Discovery: Fetch dscovery at startup using DiscoveryStartup</title>
<updated>2024-07-17T14:00:03Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2024-07-10T12:39:34Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=a1879195a727d7b90347ed11f86d85fac6541df7'/>
<id>urn:sha1:a1879195a727d7b90347ed11f86d85fac6541df7</id>
<content type='text'>
With a manager that locks and copies such that no race conditions happen
</content>
</entry>
<entry>
<title>Discovery: Implement conditional requests</title>
<updated>2024-07-17T14:00:03Z</updated>
<author>
<name>jwijenbergh</name>
<email>jeroenwijenbergh@protonmail.com</email>
</author>
<published>2024-07-04T13:27:10Z</published>
<link rel='alternate' type='text/html' href='https://herkulessi.de/git/eduvpn-common/commit/?id=cb8e2a5ae27aa34f2a9ad21469538403274e3b3e'/>
<id>urn:sha1:cb8e2a5ae27aa34f2a9ad21469538403274e3b3e</id>
<content type='text'>
From docs.eduvpn.org (https://docs.eduvpn.org/server/v3/server-discovery.html):

When fetching the new JSON files, the client SHOULD use conditional requests, so the file is only fetched in case there were changes. This, in order to reduce the amount of traffic required by VPN clients, especially relevant for metered, or slow connections.

The If-Modified-Since request header SHOULD be used for this. If the response code is 304, the file hasn’t changed since. The value to use for the If-Modified-Since request header is the exact value of the Last-Modified response header for the last successful download, i.e. 200 response. You SHOULD store the value of Last-Modified and use it as-is for the If-Modified-Since header.
</content>
</entry>
</feed>
