why is it called longpolling
I've read and done (for my self) How do 开发者_如何学运维I implement basic "Long Polling"?
But why is this called "long-polling", It just polls when it's done on both success and error.
A normal poll asks once in a very quick back and forth between client and server.
A long poll is kept open and idle for a long time, possibly sending data several times while the connection is open. Hence long polling.
精彩评论