working client spawn

This commit is contained in:
NikVolf
2016-04-12 11:34:56 +03:00
parent cb1096d1e1
commit 806f5b9064
4 changed files with 51 additions and 4 deletions

View File

@@ -526,7 +526,7 @@ fn push_client_implementation(
let payload = BinHandshake {
protocol_version: $item_ident::protocol_version().to_string(),
api_version: $item_ident::api_version().to_string(),
_reserved: vec![0u8, 64],
_reserved: vec![0u8; 64],
};
let mut socket_ref = self.socket.borrow_mut();