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 the crypto server handle the message now
|
||||||
let mut tx_buf = MsgBuf::zero();
|
let mut tx_buf = MsgBuf::zero();
|
||||||
let handle_msg_result = if self.get(sim).under_load {
|
let handle_msg_result = if self.get(sim).under_load {
|
||||||
self.srv_mut(sim)
|
self.srv_mut(sim).handle_msg_under_load(
|
||||||
.handle_msg_under_load(rx_msg.borrow(), tx_buf.borrow_mut(), &self)
|
rx_msg.borrow(),
|
||||||
|
tx_buf.borrow_mut(),
|
||||||
|
&self.other(),
|
||||||
|
)
|
||||||
} else {
|
} else {
|
||||||
self.srv_mut(sim)
|
self.srv_mut(sim)
|
||||||
.handle_msg(rx_msg.borrow(), tx_buf.borrow_mut())
|
.handle_msg(rx_msg.borrow(), tx_buf.borrow_mut())
|
||||||
|
|||||||
Reference in New Issue
Block a user