Skip to content

Commit fd2bd1e

Browse files
committed
include local and peer addresses in clone impl
1 parent 02c7214 commit fd2bd1e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/request.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,8 @@ impl Clone for Request {
480480
receiver: self.receiver.clone(),
481481
body: Body::empty(),
482482
local: TypeMap::new(),
483+
peer_addr: self.peer_addr.clone(),
484+
local_addr: self.local_addr.clone(),
483485
}
484486
}
485487
}

0 commit comments

Comments
 (0)