[Qt-interest] cancel http requests
Sergey
sh0375 at gmail.com
Thu Aug 25 14:55:26 CEST 2011
Hello,
I have QT program, which sends requests to web service using
qtsoap-2.7_1 each time, when mouse cursor changes position to receive
information about place under mouse position.
qtsoap-2.7_1 uses QHttp for serving http communications.
If mouse is moved over area, several requests are sent to server (for
different positions).
And several http answers are received.
I need information only for position under current cursor position.
So a lot of http requests, which were sent for old mouse positions, are
unneeded and ignored, when received. Web Server spends its resources to
serve all these unneeded requests.
Is it possible to cancel some of previous http requests on the client
side, so that server would not serve them?
--
Thanks!
More information about the Qt-interest-old
mailing list