|
|
|
@ -30,6 +30,7 @@ fn log_template(tx: &QuicTransaction, js: &mut JsonBuilder) -> Result<(), JsonEr
|
|
|
|
js.set_string("ua", &String::from_utf8_lossy(&ua))?;
|
|
|
|
js.set_string("ua", &String::from_utf8_lossy(&ua))?;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if tx.cyu.len() > 0 {
|
|
|
|
js.open_array("cyu")?;
|
|
|
|
js.open_array("cyu")?;
|
|
|
|
for cyu in &tx.cyu {
|
|
|
|
for cyu in &tx.cyu {
|
|
|
|
js.start_object()?;
|
|
|
|
js.start_object()?;
|
|
|
|
@ -38,6 +39,7 @@ fn log_template(tx: &QuicTransaction, js: &mut JsonBuilder) -> Result<(), JsonEr
|
|
|
|
js.close()?;
|
|
|
|
js.close()?;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
js.close()?;
|
|
|
|
js.close()?;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
js.close()?;
|
|
|
|
js.close()?;
|
|
|
|
Ok(())
|
|
|
|
Ok(())
|
|
|
|
|