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
Implementation of the latest stable Netty4 version #902
Conversation
@valib cool, maybe we can release a beta version with this update to see how it works for people. Netty 4 always worked perfectly for me but others had issues, so I'm not able to test it reliably. |
Conflicts: src/main/java/net/pms/dlna/LibMediaInfoParser.java
@valib I was just thinking about that with the 5.2.1 version to see if freezing/timeouts will be here again...maybe not pertinent but hope doesn't kill anyone :-D EDIT : i tested already and didn't get any streaming problems or errors in my LOG. |
This is working well for me. Maybe we can release it as a 7.0.0 beta soon, what do you think? |
…iaServer into Netty4
…iaServer/UniversalMediaServer into Netty4
@valib @SubJunk Look promising :-) I meeted a warning in the LOG though, but i will do more testing this week-end.
EDIT : Not sure it's pertinent, but just wondering if this could affect positively #899 and #920 ?
EDIT 2 : Before it was UTF8 encoding.
UMS-debug_Netty4.1.1.txt.zip.txt P.S. My bad :/ i was running directly from depandencies JAR snapshot, so |
…iaServer into Netty4 # Conflicts: # src/main/java/net/pms/network/UPNPHelper.java
Rebased + merged to the latest master. |
Conflicts: pom.xml src/main/java/net/pms/network/HTTPServer.java src/main/java/net/pms/network/RequestHandlerV2.java src/main/java/net/pms/network/RequestV2.java src/main/java/net/pms/network/UPNPControl.java
@SubJunk now it is ready for testing |
Conflicts: src/main/java/net/pms/network/RequestV2.java
@valib I'm interested in getting this merged. I have tested it and it seems good to me. I am thinking of maybe separating it from v10, because it might make it harder to identify bugs in the API code, so what do you think about it going out as 9.6.0? |
@SubJunk agree with you to release it in the 9.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple of comments before merge @valib
Co-authored-by: SubJunk <SubJunk@users.noreply.github.com>
@valib I can see some exceptions in the logs after this merge. I haven't noticed any actual bugs so it may not be important but here they are:
and
|
@SubJunk it seems like known problem in Netty started with Java 9. See netty/netty#7769
|
@SubJunk other solution for java 11 is here https://stackoverflow.com/questions/57885828/netty-cannot-access-class-jdk-internal-misc-unsafe which works also for Java 14 |
@valib ok I'm happy to leave it since it doesn't seem like something to worry about |
@SubJunk agree |
* Revert "Fixes ignoring any cling renderers on the same host address (#2090)" This reverts commit c36a81b. * Revert "fix checking the internal UMS Cling requests (#2086)" This reverts commit c71a2f8. * Revert "response correctly for not implemented request (#2094)" This reverts commit 5013eda. * Revert "Implementation of the latest stable Netty4 version (#902)" This reverts commit 2e1bfa9.
@UniversalMediaServer/developers can we test the latest Netty 4 version if it is worth to be used? For me it works.
This change is