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

add another implementation "javanet" #152

Merged
merged 12 commits into from
Apr 15, 2023
Merged

add another implementation "javanet" #152

merged 12 commits into from
Apr 15, 2023

Conversation

asolntsev
Copy link
Contributor

.. as an alternative to Netty3 and Netty4.

It uses Java built-in http server instead of Netty.

@xabolcs
Copy link
Collaborator

xabolcs commented Apr 14, 2023

Awesome addition! Thanks! 👌

Would you mind splitting the changes into multiple commits? There are a few fixes/changes to Netty 3 and Netty 4 in this PR.
I'm asking for that, because I'm not a developer, just a copy-paster and it would help me to understand what needs to be done for a new http backend! 😅

we are going to reuse it in "javanet" module
@asolntsev asolntsev force-pushed the javanet branch 2 times, most recently from a64cd2f to 783c950 Compare April 14, 2023 21:22
@asolntsev
Copy link
Contributor Author

@xabolcs Yes, sure. I have split the PR to few independent commits.

But it's still possible to run with other backends in tests with gradle tasks "uitest-netty3", "uitest-netty4" etc.
.. to a single place (ServerHelper, Utils etc.)
.. as an alternative to Netty3 and Netty4.

It uses Java built-in http server instead of Netty.
@xabolcs
Copy link
Collaborator

xabolcs commented Apr 15, 2023

Why do the tests fail? The GitHub workers are too resource constrained and slow? They pass for me locally. 🤔

@asolntsev
Copy link
Contributor Author

@xabolcs I don't know yet. Yes, the tests are green on my machine too. Working on it.

@asolntsev
Copy link
Contributor Author

@xabolcs Finally, I managed to fix the PR. For some reason, commit 5d4e1db0cd4e641d74e44 fixed the failing test.

@asolntsev
Copy link
Contributor Author

@xabolcs I've published version 2.0.0-SNAPSHOT to maven repo. I think we can release 2.0.0 soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants