3 ms·
> If the server has nothing to send for a while, libcurl times out. The client then makes the request again. This results in a race condition if the server want
by Myrmornis 2y ago
> If the server has nothing to send for a while, libcurl times out. The client then makes the request again. This results in a race condition if the server wants to send something between timeout and next request. Messages get lost.
I think it's a premise of reliable long-polling that the server can hold on to messages across the changeover from one client request to the next.