We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproducer:
func TestNewStream_Many(t *testing.T) { test_helpers.SkipIfStreamsUnsupported(t) conn := test_helpers.ConnectWithValidation(t, server, opts) defer conn.Close() for i := 0; i < 256; i++ { stream, _ := conn.NewStream() req := NewPingRequest() _, err := stream.Do(req).Get() if err != nil { t.Fatalf("Failed to Ping: %s", err.Error()) } } }
Result:
Failed to Ping: Invalid MsgPack - packet header (0x14)
Most likely the reason is an incorrect conversion to bytes of a stream id value:
go-tarantool/connection.go
Line 549 in 8b58928
You can compare it with the code above:
Lines 544 to 546 in 8b58928
The text was updated successfully, but these errors were encountered:
bugfix: Invalid MsgPack if STREAM_ID > 127
28010ad
The patch fixes an error if a stream id value > 127: Invalid MsgPack - packet header (0x14) Closes #223
1d75c99
c8e0ebe
02cf9c0
f800ddb
ef1dd3b
oleg-jukovec
Successfully merging a pull request may close this issue.
Reproducer:
Result:
Most likely the reason is an incorrect conversion to bytes of a stream id value:
go-tarantool/connection.go
Line 549 in 8b58928
You can compare it with the code above:
go-tarantool/connection.go
Lines 544 to 546 in 8b58928
The text was updated successfully, but these errors were encountered: