Skip to content

Commit

Permalink
Merge pull request #40 from Raiden1411/master
Browse files Browse the repository at this point in the history
build: update to latest master
  • Loading branch information
karlseguin authored Aug 2, 2024
2 parents a9cd6d5 + 7b3bb2a commit 59d69ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handshake.zig
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub const Handshake = struct {
required_headers |= 2;
} else if (mem.eql(u8, "connection", name)) {
// find if connection header has upgrade in it, example header:
// Connection: keep-alive, Upgrade
// Connection: keep-alive, Upgrade
if (ascii.indexOfIgnoreCase(value, "upgrade") == null) {
return error.InvalidConnection;
}
Expand Down

0 comments on commit 59d69ee

Please sign in to comment.