add more logging
This commit is contained in:
parent
f6d6ffa6fb
commit
83b814bea7
1 changed files with 3 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ impl SocketImpl {
|
||||||
|
|
||||||
match packet.header.types_and_flags.get_types() {
|
match packet.header.types_and_flags.get_types() {
|
||||||
SYN => {
|
SYN => {
|
||||||
|
info!("got syn");
|
||||||
// reset heartbeat?
|
// reset heartbeat?
|
||||||
let mut response_packet = packet.base_response_packet();
|
let mut response_packet = packet.base_response_packet();
|
||||||
|
|
||||||
|
|
@ -193,6 +194,8 @@ impl SocketImpl {
|
||||||
self.socket.send_to(&vec, connection.regular_socket_addr).await.expect("failed to send data back");
|
self.socket.send_to(&vec, connection.regular_socket_addr).await.expect("failed to send data back");
|
||||||
}
|
}
|
||||||
CONNECT => {
|
CONNECT => {
|
||||||
|
info!("got connect");
|
||||||
|
|
||||||
let mut response_packet = packet.base_response_packet();
|
let mut response_packet = packet.base_response_packet();
|
||||||
|
|
||||||
response_packet.header.types_and_flags.set_types(CONNECT);
|
response_packet.header.types_and_flags.set_types(CONNECT);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue