Skip to content

What am I supposed to do when PENDING on client side? #1201

Answered by nibanks
gganjang asked this question in Q&A
Discussion options

You must be logged in to vote

Generally, the MsQuic API returns PENDING to indicate that the action isn't completely done yet. ConnectionStart just queues the work to the QUIC worker thread and then returns PENDING. From there, the worker will resolve DNS as necessary and then start the QUIC handshake. Eventually you would get a connected or shutdown event to know if the connection succeeded or not.

As far as debugging why things aren't working for you, I'd recommend two things:

  1. Make sure to update to the latest. We're constantly fixing bugs (though this is unlikely your problem).
  2. Find the reason for the connection shutdown. That should give you a clue as to what's happening.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gganjang
Comment options

@gganjang
Comment options

Answer selected by gganjang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants