You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's assume that our client sent some data, the server was able to receive that data, and it's about to send that to the application. In the meantime, the application sent a close message.
I mean this is a classic race condition - it depends. I'd say that it's probably more expected to not send it to the application and just drop it - while you could argue what the spec says or doesn't here, there's never a guarantee you'll receive data anyway and dropping it is much less surprising than trying to serve the application data after it's asked to close.
Hi there 👋
I need help. 👀
Let's assume that our client sent some data, the server was able to receive that data, and it's about to send that to the application. In the meantime, the application sent a close message.
What do I do with the data that just arrived?
Motivation comes from encode/uvicorn#1619.
The text was updated successfully, but these errors were encountered: