ts-bookkeeping: parse TeamSpeak 6 times in milliseconds
TeamSpeak 6 (6.0.0-beta13.1) sends the `datetime` of notifyfilelist in milliseconds. The parser read it as seconds, failed on the out-of-range date and dropped the whole message, so every file list came back empty. Times from 10^11 on (year 5138 in seconds) are now taken as milliseconds. The TS6 dev server gets its own file transfer port (30034): clients connect to the port the server announces, and 30033 on the host is the TS3 server's, so transfers with TS6 went to the wrong server. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
64775cd868
commit
e10c5ba7f4
3 files changed
+16
-4
No files matched your search
@@ -74,3 +74,7 @@ against or offered back to upstream.
|
||||
`FiletransferHandle`; it now fails the transfer (`FiletransferFailed`). A
|
||||
transfer address of `0.0.0.0`/`::` means the server's own address. The return
|
||||
code and transfer id counters wrap instead of overflowing.
|
||||
9. **TeamSpeak 6 times in milliseconds** (`ts-bookkeeping/build/message_parser.rs`,
|
||||
"Voelin patch"). TeamSpeak 6 sends some times, e.g. `datetime` of `notifyfilelist`,
|
||||
in milliseconds, which failed to parse and dropped the whole message (empty file
|
||||
lists). Values from 10^11 on (year 5138 in seconds) are taken as milliseconds.
|
||||
Reference in new issue
Block a user