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
3e29de19
Commit
3e29de19
authored
9 years ago
by
Julien Boeuf
Browse files
Options
Downloads
Patches
Plain Diff
Adressing comments.
parent
d1531323
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
src/core/json/json.h
+1
-1
1 addition, 1 deletion
src/core/json/json.h
src/core/tsi/ssl_transport_security.c
+5
-1
5 additions, 1 deletion
src/core/tsi/ssl_transport_security.c
with
6 additions
and
2 deletions
src/core/json/json.h
+
1
−
1
View file @
3e29de19
...
@@ -60,7 +60,7 @@ typedef struct grpc_json {
...
@@ -60,7 +60,7 @@ typedef struct grpc_json {
* strings in the tree. The input stream's UTF-8 isn't validated,
* strings in the tree. The input stream's UTF-8 isn't validated,
* as in, what you input is what you get as an output.
* as in, what you input is what you get as an output.
*
*
* All the keys and values in the grpc_json
_t
objects will be strings
* All the keys and values in the grpc_json objects will be strings
* pointing at your input buffer.
* pointing at your input buffer.
*
*
* Delete the allocated tree afterward using grpc_json_destroy().
* Delete the allocated tree afterward using grpc_json_destroy().
...
...
This diff is collapsed.
Click to expand it.
src/core/tsi/ssl_transport_security.c
+
5
−
1
View file @
3e29de19
...
@@ -54,12 +54,16 @@
...
@@ -54,12 +54,16 @@
#define TSI_SSL_MAX_PROTECTED_FRAME_SIZE_UPPER_BOUND 16384
#define TSI_SSL_MAX_PROTECTED_FRAME_SIZE_UPPER_BOUND 16384
#define TSI_SSL_MAX_PROTECTED_FRAME_SIZE_LOWER_BOUND 1024
#define TSI_SSL_MAX_PROTECTED_FRAME_SIZE_LOWER_BOUND 1024
/* Putting a macro like this and littering the source file with #if is really
bad practice.
TODO(jboeuf): refactor all the #if / #endif in a separate module. */
#ifndef TSI_OPENSSL_ALPN_SUPPORT
#ifndef TSI_OPENSSL_ALPN_SUPPORT
#define TSI_OPENSSL_ALPN_SUPPORT 1
#define TSI_OPENSSL_ALPN_SUPPORT 1
#endif
#endif
/* TODO(jboeuf): I have not found a way to get this number dynamically from the
/* TODO(jboeuf): I have not found a way to get this number dynamically from the
*
SSL structure. This is what we would ultimately want though... */
SSL structure. This is what we would ultimately want though... */
#define TSI_SSL_MAX_PROTECTION_OVERHEAD 100
#define TSI_SSL_MAX_PROTECTION_OVERHEAD 100
/* --- Structure definitions. ---*/
/* --- Structure definitions. ---*/
...
...
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