Closed t8m closed 1 month ago
I have reproduced the issue... it takes several minutes on my box. Either the client forgets to send a packet and the server misses something in the poll logic and does a timeout after 5 seconds.
I have reproduced the issue... it takes several minutes on my box. Either the client forgets to send a packet and the server misses something in the poll logic and does a timeout after 5 seconds.
This really sounds like something in the server code in the library. Even if the client was doing something wrong, it should never cause the server to break on the subsequent connections.
Yes the error in ossl-nghttp3-demo-server.c https://github.com/openssl/openssl/blob/feature/quic-server/demos/http3/ossl-nghttp3-demo-server.c#L179 It seems that reading from the new stream and processing the data (if any) fixes the issue.
=> Received connection on 2 There is a setting from the client but the server doesn't process it and a timeout occurs
I should have a patch soon, the code needs some refactoring :-(
@t8m, the above proposed fix to the demo server code appears to be effective for this issue.
we have a linked pr, need to review
Copying comment from @vdukhovni https://github.com/openssl/openssl/pull/24749#issuecomment-2222343372
@vdukhovni wrote:
Did you mean "was"? I see you added some code for that, but I still the client reach an error state after a few tries:
The last few messages from the server were: