micromdm / nanodep

NanoDEP is a set of tools and a Go library powering them for communicating with Apple's Device Enrollment Program (DEP) API servers.
MIT License
33 stars 12 forks source link

Fetch/sync API repeats cursor with more-to-follow #73

Open jessepeterson opened 2 months ago

jessepeterson commented 2 months ago

Reported in micromdm/micromdm#1016 that Apple repeatedly sends a more-to-follow response even for the same sync token that is returned. We'd need to address that in NanoDEP as well as we also quickly cycle out of our loop for the more-to-follow attribute:

https://github.com/micromdm/nanodep/blob/0ff451e71c99a023f562b71590f25939c3015a19/sync/syncer.go#L216-L217