Skip to content

Temporally support Http protocol name "h2-16" for OkHttp client. - #278

Merged
madongfly merged 1 commit into
grpc:masterfrom
madongfly:tls
Apr 9, 2015
Merged

madongfly merged 1 commit into
grpc:masterfrom
madongfly:tls

Conversation

@madongfly

Copy link
Copy Markdown
Contributor

Fixes #22 for real.

Manually tested with jdk8 by:
./run-test-server.sh
./run-test-client.sh --server_host_override=foo.test.google.fr --use_test_ca=true --use_okhttp=true

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Can you support both?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, we should add it to the list instead of replacing h2-15.

@madongfly

Copy link
Copy Markdown
Contributor Author

Sure, but why h2-15 is still needed?

@ejona86

ejona86 commented Apr 9, 2015

Copy link
Copy Markdown
Member

Not all systems have swapped to "h2" yet. Since it easy, and h2-15 is the same as the rest from our perspective, just putting all we support just reduces chances things go wrong. We'll remove it eventually, but it just seems a little soon since the http2 spec isn't actually published yet.

@madongfly

Copy link
Copy Markdown
Contributor Author

Thanks, PTAL

@ejona86

ejona86 commented Apr 9, 2015

Copy link
Copy Markdown
Member

@madongfly, LGTM

Fixes grpc#22 for real.

Manually tested with jdk8 by:
./run-test-server.sh
./run-test-client.sh --server_host_override=foo.test.google.fr --use_test_ca=true --use_okhttp=true
@madongfly
madongfly merged commit 9d21463 into grpc:master Apr 9, 2015
@madongfly
madongfly deleted the tls branch April 9, 2015 05:55
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 23, 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.

TLS support for OkHttp when not running on Android

3 participants