Check for unterminated strings properly

Also, public to enable fuzzing. This was the first catch!
This commit is contained in:
John Doty 2024-08-12 09:41:22 -07:00
parent 9b0a39fa90
commit 77cbf1700f
4 changed files with 11 additions and 5 deletions

View file

@ -5,7 +5,7 @@ use log::{error, warn};
use tokio::io::{AsyncRead, AsyncWrite, AsyncWriteExt, BufReader, BufWriter};
use tokio::sync::mpsc;
mod refresh;
pub mod refresh;
// We drive writes through an mpsc queue, because we not only handle requests
// and responses from the client (refresh ports and the like) but also need