Implement greeting_encode()/greeting_decode() functions
* Update iproto.cc to use greeting_encode() * Update replica.cc and net.box to use greeting_decode() * Add a parsed remote version to net.box and struct replica * Remove duplicate code Protocol change: * During binary protocol handshake sent "Tarantool 1.6.7-83-gc6b2129 (Binary)" instead of "Tarantool 1.6.7-83-gc6b2129 @custom_proc_title" This change is backward-compatible up to 1.6.1.
Showing
- src/box/errcode.h 2 additions, 0 deletionssrc/box/errcode.h
- src/box/iproto.cc 4 additions, 15 deletionssrc/box/iproto.cc
- src/box/iproto_constants.h 1 addition, 1 deletionsrc/box/iproto_constants.h
- src/box/lua/net_box.cc 5 additions, 8 deletionssrc/box/lua/net_box.cc
- src/box/lua/net_box.lua 44 additions, 7 deletionssrc/box/lua/net_box.lua
- src/box/replica.cc 17 additions, 4 deletionssrc/box/replica.cc
- src/box/replica.h 1 addition, 0 deletionssrc/box/replica.h
- src/box/xrow.cc 75 additions, 5 deletionssrc/box/xrow.cc
- src/box/xrow.h 53 additions, 3 deletionssrc/box/xrow.h
- src/ffisyms.cc 2 additions, 0 deletionssrc/ffisyms.cc
- src/main.cc 2 additions, 3 deletionssrc/main.cc
- src/trivia/util.h 11 additions, 0 deletionssrc/trivia/util.h
- test/box/misc.result 2 additions, 1 deletiontest/box/misc.result
- test/box/net.box.result 1 addition, 1 deletiontest/box/net.box.result
Loading
Please register or sign in to comment