chiark / gitweb /
Improved first couple of client operations.
authorSimon Tatham <anakin@pobox.com>
Thu, 28 Dec 2023 16:49:06 +0000 (16:49 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 28 Dec 2023 16:49:06 +0000 (16:49 +0000)
commit912f7e6dcd12cec32749bdfc46e0a7ba2b35e0c3
tree541a3710d8f2799b0d1f71dd668849219f01cec9
parentd37dab60885e96aa959747adf4abc7eaf63e8971
Improved first couple of client operations.

Now we check errors sensibly rather than via cavalier .unwrap(); we
cache accounts as well as statuses per id; and we verify the returned
id against the one we asked for (to make it not an obvious attack
avenue to file things under the returned id).
src/client.rs