Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
3b4af54c
Commit
3b4af54c
authored
9 years ago
by
Craig Tiller
Browse files
Options
Downloads
Patches
Plain Diff
Add more unusualness
parent
ce4c3413
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/core/bad_client/tests/simple_request.c
+4
-2
4 additions, 2 deletions
test/core/bad_client/tests/simple_request.c
test/core/bad_client/tests/simple_request_unusual.headers
+2
-0
2 additions, 0 deletions
test/core/bad_client/tests/simple_request_unusual.headers
with
6 additions
and
2 deletions
test/core/bad_client/tests/simple_request.c
+
4
−
2
View file @
3b4af54c
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
#define PFX_STR_UNUSUAL \
#define PFX_STR_UNUSUAL \
"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n" \
"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n" \
"\x00\x00\x00\x04\x00\x00\x00\x00\x00"
/* settings frame */
\
"\x00\x00\x00\x04\x00\x00\x00\x00\x00"
/* settings frame */
\
"\x00\x00\x
d1
\x01\x04\x00\x00\x00\x01"
/* headers: generated from \
"\x00\x00\x
f4
\x01\x04\x00\x00\x00\x01"
/* headers: generated from \
simple_request_unusual.headers \
simple_request_unusual.headers \
in this directory */
\
in this directory */
\
"\x10\x05:path\x08/foo/bar" \
"\x10\x05:path\x08/foo/bar" \
...
@@ -68,7 +68,9 @@
...
@@ -68,7 +68,9 @@
"\x10\x0c""content-type\x1e""application/grpc+this-is-valid" \
"\x10\x0c""content-type\x1e""application/grpc+this-is-valid" \
"\x10\x14grpc-accept-encoding\x15identity,deflate,gzip" \
"\x10\x14grpc-accept-encoding\x15identity,deflate,gzip" \
"\x10\x02te\x08trailers" \
"\x10\x02te\x08trailers" \
"\x10\x0auser-agent\"bad-client grpc-c/0.12.0.0 (linux)"
"\x10\x0auser-agent\"bad-client grpc-c/0.12.0.0 (linux)" \
"\x10\x0cgrpc-timeout\x03""10S" \
"\x10\x0cgrpc-timeout\x02""5S"
static
void
*
tag
(
gpr_intptr
t
)
{
return
(
void
*
)
t
;
}
static
void
*
tag
(
gpr_intptr
t
)
{
return
(
void
*
)
t
;
}
...
...
This diff is collapsed.
Click to expand it.
test/core/bad_client/tests/simple_request_unusual.headers
+
2
−
0
View file @
3b4af54c
...
@@ -9,3 +9,5 @@ content-type: application/grpc+this-is-valid
...
@@ -9,3 +9,5 @@ content-type: application/grpc+this-is-valid
grpc-accept-encoding: deflate,identity,gzip
grpc-accept-encoding: deflate,identity,gzip
te: trailers
te: trailers
user-agent: bad-client grpc-c/0.12.0.0 (linux)
user-agent: bad-client grpc-c/0.12.0.0 (linux)
grpc-timeout: 10S
grpc-timeout: 5S
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment