Skip to content

Commit 9ed7a1b

Browse files
authored
Merge pull request redis#2573 from flpcury/patch-1
Fix typos in protocol-spec.md
2 parents 7539ed9 + ee17d7a commit 9ed7a1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/protocol-spec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ This is the simplest model possible; however, there are some exceptions:
6767
The protocol of this mode is not specified but is obvious to parse.
6868
* [Protected mode](/docs/management/security/#protected-mode).
6969
Connections opened from a non-loopback address to a Redis while in protected mode are denied and terminated by the server.
70-
Before terminating the connection, Redis unconditionally sends `-DENIED` reply, irregardless of whether the client writes to the socket.
70+
Before terminating the connection, Redis unconditionally sends a `-DENIED` reply, regardless of whether the client writes to the socket.
7171
* The [RESP3 Push type](#resp3-pushes).
7272
As the name suggests, a push type allows the server to send out-of-band data to the connection.
7373
The server may push data at any time, and the data isn't necessarily related to specific commands executed by the client.
@@ -298,7 +298,7 @@ For example, a nested array of two arrays is encoded as follows:
298298

299299
(The raw RESP encoding is split into multiple lines for readability).
300300

301-
The above encodes a two-elements array.
301+
The above encodes a two-element array.
302302
The first element is an array that, in turn, contains three integers (1, 2, 3).
303303
The second element is another array containing a simple string and an error.
304304

0 commit comments

Comments
 (0)