Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in protocol-spec.md #2573

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

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

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

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

Expand Down
Loading