ninesleep icon indicating copy to clipboard operation
ninesleep copied to clipboard

Fix newline handling

Open timwu opened this issue 5 months ago • 0 comments

Found out the hard way that not stripping off newlines causes the frank.service to hang by doing:

echo 7200 | http POST 123.123.123.123:8000/temperature/left

There should be no particular reason to send a newline for the temperature and temperature-duration paths so just strip newlines to prevent this hang.

Also, hit some build failures and cargo suggested bumping the deps. So that is here as well.

timwu avatar Sep 18 '24 04:09 timwu