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

Replace Netty by Blaze #64

Merged
merged 3 commits into from
Sep 7, 2018
Merged

Replace Netty by Blaze #64

merged 3 commits into from
Sep 7, 2018

Conversation

guillaumebort
Copy link
Contributor

Netty being pushed based and lolhttp pull based, a lot of complexity
was hidden in the Netty integration. Migration were painful as this
code was super sensible to race conditions.

This commit replace the underlying network & http codec implementation
by http4s blaze. At the same time we upgrade cats, cats-effect & fs2
dependencies.

  • HTTP/2 support is removed for now. It is somehow supported by blaze
    but it requires ALPN support that is not widely supported in Java for
    now. We will introduce it back later.

  • Protocol upgrade in user-land API has been removed. It was never used
    and I'm not sure anymore that it is useful as new protocol seems to
    favor ALPN anyway.

  • Auto follow-redirect is not supported anymore when re-using a client
    directly connected to an host. It does not make sense as redirect to
    another host is perfectly legit but it can't be handled if the client is
    connected to a singel host. It was a bug in the initial design.

Netty being pushed based and lolhttp pull based, a lot of complexity
was hidden in the Netty integration. Migration were painful as this
code was super sensible to race conditions.

This commit replace the underlying network & http codec implementation
by http4s blaze. At the same time we upgrade cats, cats-effect & fs2
dependencies.

- HTTP/2 support is not promoted anymore for now. It is somehow supported
by blaze but it requires ALPN support that is not widely supported in Java
for now. We will introduce it back later.

- Protocol upgrade in user-land API has been removed. It was never used
and I'm not sure anymore that it is useful as new protocol seems to
favor ALPN anyway.

- Auto follow-redirect is not supported anymore when re-using  a client
directly connected to an host. It does not make sense as redirect to
another host is perfectly legit but it can't be handled if the client is
connected to a singel host. It was a bug in the initial design.
@guillaumebort guillaumebort merged commit aa9b5cb into master Sep 7, 2018
@guillaumebort guillaumebort deleted the wip-mn branch September 7, 2018 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants