Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Http2 instead of Http 1.1 #552

Closed
Claire1817 opened this issue Apr 13, 2022 · 0 comments
Closed

Use Http2 instead of Http 1.1 #552

Claire1817 opened this issue Apr 13, 2022 · 0 comments
Labels

Comments

@Claire1817
Copy link
Contributor

Claire1817 commented Apr 13, 2022

Element Android used Http2 and rollback to Htpp 1.1 in january 2022 because of some network troubles.
Issue: element-hq/element-android#4669
PR: element-hq/element-android#4952

Tchap 2.0.4 doesn't contain this fix and uses Http2.

Maybe an other implementation of http2 will fixe the problem.
An option is available on OkHttp :

  /**
   * Cleartext HTTP/2 with no "upgrade" round trip. This option requires the client to have prior
   * knowledge that the server supports cleartext HTTP/2.
   *
   * See also [Starting HTTP/2 with Prior Knowledge][rfc_7540_34].
   *
   * [rfc_7540_34]: https://tools.ietf.org/html/rfc7540.section-3.4
   */
  H2_PRIOR_KNOWLEDGE("h2_prior_knowledge"),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants