Closed Zhou-Pixel closed 12 months ago
Did you read the documentation for ConnectionError::ApplicationClosed
?
Did you read the documentation for
ConnectionError::ApplicationClosed
?
Yes, I do. The strange thing is why there is no problem reading and writing the first time, but it fails the second time, at the same time, the error_code is 0 and The reason is empty. It seems that the connection was closed manually, but I didn't close it.
You didn't; your peer did.
You didn't; your peer did.
My mistake, I forgot that quic is a stream and I need to deal with the problem of sticky packets, so when the server cannot serialize the Json text, it shuts down.
You didn't; your peer did.
Thanks
Code
Result