-
In my use case, MsQuic client is calling ConnectionOpen/ConnectionStart in a loop till the server is listening and connection is accepted. Unfortunately because of an error in server application, it starts (1), then exits (2) and then restart (3) again immediately (will continue to run properly after this point). When the server application start for the first time (1), the connection is getting established with MsQuic client but when it exits (2) client is not getting notified about this disconnection and client keeps on sending data to server. Upon restart (3) , the data is not getting passed to the server application. From the etl logs on server side, I could see the following (3): How can client get notified of this error state on server so that it can stop sending and retry the connection? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
ConnectionShutdown call was missing from my cleanup code, after adding it, client is getting notified when server exits for the first time (2) |
Beta Was this translation helpful? Give feedback.
ConnectionShutdown call was missing from my cleanup code, after adding it, client is getting notified when server exits for the first time (2)