Skip to content

Commit

Permalink
Merge pull request #173 from sylwiaszunejko/new_framer_with_exts
Browse files Browse the repository at this point in the history
Use `newFramerWithExts` instead of `newFramer` to utilize protocol extensions
  • Loading branch information
avelanarius authored May 15, 2024
2 parents ab5ed47 + 5b70c0c commit 7f9ad1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ func (c *Conn) recv(ctx context.Context) error {
panic(fmt.Sprintf("call has incorrect streamID: got %d expected %d", call.streamID, head.stream))
}

framer := newFramer(c.compressor, c.version)
framer := newFramerWithExts(c.compressor, c.version, c.cqlProtoExts)

err = framer.readFrame(c, &head)
if err != nil {
Expand Down

0 comments on commit 7f9ad1c

Please sign in to comment.