Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-22 Thread Wilfried Mestdagh
Hello Bruno, I just downloaded the demo from Francois, and tryed the server on 3 different machines (NT, W2K, XP), and every time connected with the 3 machines with IE (different versions) to the server/bruno.html. Works every time here. Also I have a several project with the HttpSrv without

Re: [twsocket] Connection not closed in WebServer with IE

2005-05-22 Thread Francois PIETTE
Yes, I know, but the behavior is very consistent to be just coincidence. Does it depends on the size of the page ? You send 5000 lines in your test but what is the minimal size to experience the problem ? -- [EMAIL PROTECTED] http://www.overbyte.be -- To unsubscribe or change your settings

Re[4]: [twsocket] Connection not closed in WebServer with IE

2005-05-22 Thread Wilfried Mestdagh
Hello Bruno, I'm just bsy in a rather large project using THttpSrv, and this is exact copy of what I send in all my virtual pages: Header := Cli.Version + ' 200 OK'#13#10 + 'Content-Type: text/html'#13#10 + 'Content-Length: ' + IntToStr(DocLen) + #13#10 +

Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

2005-05-22 Thread Bruno Sonnino
Taking a look at SendDocument, I saw this: { *DAVID* Revised this if/then/else } if FVersion = 'HTTP/1.0' then begin if CompareText(FRequestConnection, 'keep-alive') 0 then Header := Header + 'Connection: Close' + #13#10 else Header := Header +