-
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add httparse tests and make errors identical
- Loading branch information
Showing
530 changed files
with
5,540 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /bar;par?b HTTP/1.1\r\n | ||
Host: foo\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 97\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /bar;par\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: foo\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /x HTTP/1.1\r\n | ||
Host: test\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 92\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /x\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: test\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /foo/foo.com HTTP/1.1\r\n | ||
Host: example.org\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 109\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /foo/foo.com\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: example.org\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /foo/:foo.com HTTP/1.1\r\n | ||
Host: example.org\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 110\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /foo/:foo.com\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: example.org\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /foo/foo.com HTTP/1.1\r\n | ||
Host: example.org\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 109\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /foo/foo.com\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: example.org\r\n | ||
\n | ||
===body===\n |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET foo.com HTTP/1.1\r\n | ||
Host: \r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /%20b%20?%20d%20 HTTP/1.1\r\n | ||
Host: f\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 95\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /%20b%20\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: f\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Invalid or missing version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET x x HTTP/1.1\r\n | ||
Host: \r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /c HTTP/1.1\r\n | ||
Host: f\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 89\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /c\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: f\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /c HTTP/1.1\r\n | ||
Host: f\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 89\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /c\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: f\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /c HTTP/1.1\r\n | ||
Host: f\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 89\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /c\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: f\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /c HTTP/1.1\r\n | ||
Host: f\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 89\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /c\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: f\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /c HTTP/1.1\r\n | ||
Host: f\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 89\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /c\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: f\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /foo/bar HTTP/1.1\r\n | ||
Host: example.org\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 105\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /foo/bar\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: example.org\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /foo/bar HTTP/1.1\r\n | ||
Host: example.org\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 105\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /foo/bar\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: example.org\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /foo/:foo.com/ HTTP/1.1\r\n | ||
Host: example.org\r\n | ||
\r\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
HTTP/1.1 200 OK\r\n | ||
Date: Tue, 21 Nov 2023 21:27:21 GMT\r\n | ||
Content-Length: 111\r\n | ||
Server: corpus-test\r\n | ||
\r\n | ||
===request===\n | ||
method: GET\n | ||
path: /foo/:foo.com/\n | ||
version: HTTP/1.1\n | ||
\n | ||
===headers===\n | ||
Host: example.org\r\n | ||
\n | ||
===body===\n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
GET /foo/:foo.com/ HTTP/1.1\r\n | ||
Host: example.org\r\n | ||
\r\n |
Oops, something went wrong.