Skip to content

Commit 9074bef

Browse files
authored
Merge pull request #7 from dbohdan/tip-699
fix: remove `-encoding binary`
2 parents 98aeeee + 29b7ba0 commit 9074bef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/client.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set byte_per_byte 0
88

99
# Open the connection and configure the socket
1010
set s [socket localhost 12345]
11-
chan configure $s -blocking 0 -buffering none -translation binary -encoding binary
11+
chan configure $s -blocking 0 -buffering none -translation binary
1212

1313
# Create a packer
1414
set p [msgpack::packer new]

msgpack.tcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ oo::class create msgpack::unpacker {
340340
set stream $istream
341341
set callback $icallback
342342
coroutine $coro [self] unpack_coro 0 1
343-
chan configure $stream -blocking 0 -buffering none -translation binary -encoding binary
343+
chan configure $stream -blocking 0 -buffering none -translation binary
344344
chan event $stream readable $coro
345345
}
346346

0 commit comments

Comments
 (0)