Skip to content

Send a scheme of http or https as appropriate, rather than grpc.#22

Merged
ctiller merged 2 commits intogrpc:masterfrom
dklempner:http_scheme
Jan 14, 2015
Merged

Send a scheme of http or https as appropriate, rather than grpc.#22
ctiller merged 2 commits intogrpc:masterfrom
dklempner:http_scheme

Conversation

@dklempner
Copy link
Copy Markdown
Contributor

This requires additional logic to determine whether to send http or
https. This change assumes a default of http, and plumbs down https
through a synthesized channel arg when using the ssl transport.

This requires additional logic to determine whether to send http or
https. This change assumes a default of http, and plumbs down https
through a synthesized channel arg when using the ssl transport.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend returning const char *

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ctiller ctiller self-assigned this Jan 14, 2015
1. scheme_from_args should return const char*
2. Rename grpc.scheme arg to grpc.http2_scheme, and define a macro for
it.
ctiller added a commit that referenced this pull request Jan 14, 2015
Send a scheme of http or https as appropriate, rather than grpc.
@ctiller ctiller merged commit 8dfaae6 into grpc:master Jan 14, 2015
@dklempner dklempner deleted the http_scheme branch January 17, 2015 01:44
@yang-g yang-g mentioned this pull request Feb 10, 2015
stanley-cheung referenced this pull request in stanley-cheung/grpc Aug 27, 2015
…orld_code_and_docs

Grpc samples update java helloworld code and docs
apolcyn referenced this pull request in apolcyn/grpc Jul 25, 2016
apolcyn referenced this pull request in apolcyn/grpc Jan 4, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants