Skip to content

Commit 7f9ad1c

Browse files
authored
Merge pull request #173 from sylwiaszunejko/new_framer_with_exts
Use `newFramerWithExts` instead of `newFramer` to utilize protocol extensions
2 parents ab5ed47 + 5b70c0c commit 7f9ad1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ func (c *Conn) recv(ctx context.Context) error {
769769
panic(fmt.Sprintf("call has incorrect streamID: got %d expected %d", call.streamID, head.stream))
770770
}
771771

772-
framer := newFramer(c.compressor, c.version)
772+
framer := newFramerWithExts(c.compressor, c.version, c.cqlProtoExts)
773773

774774
err = framer.readFrame(c, &head)
775775
if err != nil {

0 commit comments

Comments
 (0)