I noticed one thing: This only happens if files are involved, for virtual documents it does not happen.
For the http server demo it means you need to open Index.html or Form.html. Lars > -----Original Message----- > From: twsocket-boun...@elists.org > [mailto:twsocket-boun...@elists.org] On Behalf Of Lars Gehre > Sent: Thursday, June 30, 2011 11:21 AM > To: 'ICS support mailing' > Subject: [twsocket] HTTP Server creates extremly high CPU load > > Hello all, > > I have a serious problem with the http server component from > ICS7 (downloaded from the repository last week). > > I'm using the wininet api on the client side to open a (GET) > connection to a ICS http Server. > For certain reasons I need to query the HEAD in intervals > (while the other get is still in progress). > As soon as I send the second request the CPU load of the http > server maxes out one CPU core. > > Steps to reproduce: > > - Run the http server demo from ics. > > - Download the demo > www.dvbviewer.tv/icsproblem/icsproblem.zip source (delphi 7) > > - Run the demo, enter the url of the demo server and press the button. > > - As soon as the call to GetFileSize is finished you see the > CPU load of the webserver going up. > > > I checked it on two windows 7 (multicore) machines with the > same result. > > I also checked it against several other http servers and none > of them had a problem with this kind of usage. > > > Thanks > Lars > > -- > To unsubscribe or change your settings for TWSocket mailing > list please goto > http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be