[Cppcms-users] comet server empty reply
Brought to you by:
artyom-beilis
|
From: william l. <we...@gm...> - 2012-12-31 05:48:00
|
Hi, I'm using CppCMS to create a comet server, pretty much same as the Chat example. I release context and store it in a map for broadcast or targeted reply later. At same time, I'm using libcurl to create a client app to connect to cppcms comet server via http 127.0.0.1:8080 GET method I found a interesting thing, like 10s-15s after http connected, the client side will disconnect and print "Empty reply from server", "Server returned nothing (no headers, no data)". >From comet server side code, there is no timeout release context. This behavior happens on Win7 and ubuntu server. Anyone have idea why such thing happen? Is there any limitation with long polling that caused this? I expect a live HTTP connection can wait for several minutes. thanks! William L. |