This repository was archived by the owner on Oct 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1313
1414### Fixed
1515- ` network::client::tcp::TcpStream ` does not close underlying fd anymore. Now fd will be closed only when the last copy of tcp stream is dropped.
16+ - ` network::protocol::codec::Header::encode ` will not truncate to ` u8 ` an
17+ ` network::protocol::codec::IProtoType ` integer from an outside stream at decoding.
1618
1719### Deprecated
1820- ` network::client::tcp::UnsafeSendSyncTcpStream ` is now deprected. ` network::client::tcp::TcpStream ` should be used instead.
Original file line number Diff line number Diff line change 11[package ]
22name = " tarantool"
33description = " Tarantool rust bindings"
4- version = " 6.1.0 "
4+ version = " 6.1.1 "
55authors = [
66 " Dmitriy Koltsov <dkoltsov@picodata.io>" ,
77 " Georgy Moshkin <gmoshkin@picodata.io>" ,
Original file line number Diff line number Diff line change @@ -405,7 +405,7 @@ impl Header {
405405 pub fn encode ( & self , stream : & mut impl Write ) -> Result < ( ) , Error > {
406406 rmp:: encode:: write_map_len ( stream, 2 ) ?;
407407 rmp:: encode:: write_pfix ( stream, REQUEST_TYPE ) ?;
408- rmp:: encode:: write_pfix ( stream, self . iproto_type as u8 ) ?;
408+ rmp:: encode:: write_uint ( stream, self . iproto_type as _ ) ?;
409409 rmp:: encode:: write_pfix ( stream, SYNC ) ?;
410410 rmp:: encode:: write_uint ( stream, self . sync . 0 ) ?;
411411 Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments