mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 14:33:37 -08:00
fix: Wrong host identification in poll_example
This commit is contained in:
@@ -510,8 +510,11 @@ impl ServerPtr {
|
||||
// Let the crypto server handle the message now
|
||||
let mut tx_buf = MsgBuf::zero();
|
||||
let handle_msg_result = if self.get(sim).under_load {
|
||||
self.srv_mut(sim)
|
||||
.handle_msg_under_load(rx_msg.borrow(), tx_buf.borrow_mut(), &self)
|
||||
self.srv_mut(sim).handle_msg_under_load(
|
||||
rx_msg.borrow(),
|
||||
tx_buf.borrow_mut(),
|
||||
&self.other(),
|
||||
)
|
||||
} else {
|
||||
self.srv_mut(sim)
|
||||
.handle_msg(rx_msg.borrow(), tx_buf.borrow_mut())
|
||||
|
||||
Reference in New Issue
Block a user