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

Server crashes with ConcurrentModificationException #10

Open
QUICTester opened this issue Jul 28, 2023 · 0 comments
Open

Server crashes with ConcurrentModificationException #10

QUICTester opened this issue Jul 28, 2023 · 0 comments

Comments

@QUICTester
Copy link

Hi,

During our tests involving a Quiche4j implementation with the commit version ea5effc, we identified 1 fault:

The example server crashes with ConcurrentModificationException when the client tries to set up multiple connections with the server using a constant IP address and port number. The root cause of this crash is the server tries to remove a client from the HashMap while looping through the HashMap (line 323) in quiche4j/quiche4j-examples/src/main/java/io/quiche4j/examples/Http3Server.java:main().

The server should not execute clients.remove(connId) in the for loop.

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

No branches or pull requests

1 participant