diff --git a/client-libraries/tcl/redis.tcl b/client-libraries/tcl/redis.tcl index 6cc713d2fbc4aea898ea6171af7d55cd51b06371..6890bfb64c5136dfcf1228f977ff0182fe1ca294 100644 --- a/client-libraries/tcl/redis.tcl +++ b/client-libraries/tcl/redis.tcl @@ -106,6 +106,6 @@ proc ::redis::redis_read_reply fd { - {return -code error [redis_read_line $fd]} $ {redis_bulk_read $fd} * {redis_multi_bulk_read $fd} - default {return -code error "Bad protocl, $type as reply type byte"} + default {return -code error "Bad protocol, $type as reply type byte"} } } diff --git a/doc/ProtocolSpecification.html b/doc/ProtocolSpecification.html index 9551c6a58de261f92d6d5dcc78caead6d2dbef67..955f286dc17b41407162b2b8240282c3fd0c4357 100644 --- a/doc/ProtocolSpecification.html +++ b/doc/ProtocolSpecification.html @@ -29,7 +29,7 @@

Protocol Specification

The Redis protocol is a compromise between being easy to parse by a computer and being easy to parse by an human. Before reading this section you are strongly encouraged to read the "REDIS TUTORIAL" section of this README in order -to get a first feeling of the protocol playing with it by TELNET.

Networking layer

A client connects to a Redis server creating a TCP connection to the port 6973. +to get a first feeling of the protocol playing with it by TELNET.

Networking layer

A client connects to a Redis server creating a TCP connection to the port 6379. Every redis command or data transmitted by the client and the server is terminated by "\r\n" (CRLF).

Simple INLINE commands

The simplest commands are the inline commands. This is an example of a server/client chat (the server chat starts with S:, the client chat with C:)