mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-23 03:44:08 +02:00
Record the proxy in the send timeline
This commit is contained in:
@@ -202,6 +202,12 @@ impl PreparedSend {
|
||||
let _ = cancel_tx.send(true);
|
||||
});
|
||||
|
||||
// The first line of what the proxy adds to the timeline says what did the sending,
|
||||
// so a response's timeline is honest about the hop between the tab and the server.
|
||||
let _ = event_tx.try_send(HttpResponseEvent::Info(format!(
|
||||
"Executed by yaak-send-proxy {}",
|
||||
env!("CARGO_PKG_VERSION")
|
||||
)));
|
||||
if self.timeout_capped {
|
||||
let _ = event_tx.try_send(HttpResponseEvent::Info(format!(
|
||||
"Timeout set to {:?} (this proxy's ceiling)",
|
||||
|
||||
Reference in New Issue
Block a user