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

2005-05-23 Thread Bruno Sonnino
able. > > Now available. It contains the fix I mentionned earlier. > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Monday, May 23, 2005 1:55 PM > Subj

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

2005-05-23 Thread Bruno Sonnino
> [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Monday, May 23, 2005 1:55 PM > Subject: Re: Re[2]: [twsocket] Connection not closed in WebServer with IE

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

2005-05-23 Thread Francois PIETTE
:55 PM Subject: Re: Re[2]: [twsocket] Connection not closed in WebServer with IE > Ok, I will wait and download it again when it's available. > > Thanks > > Bruno > > On 23/5/2005 06:19:51, Francois Piette ([EMAIL PROTECTED]) wrote: > > > Can you point me to

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

2005-05-23 Thread Bruno Sonnino
Ok, I will wait and download it again when it's available. Thanks Bruno On 23/5/2005 06:19:51, Francois Piette ([EMAIL PROTECTED]) wrote: > > Can you point me to the right direction? I went to your site today, went > to > > ICS, and redownloaded latest version. HTTPServ is dated 3/13/2005, and >

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

2005-05-23 Thread Bruno Sonnino
I didn't see how I can close the connection. I always get keep-alive in the request, so the response is also keep alive. Bruno On 23/5/2005 03:55:01, Wilfried Mestdagh ([EMAIL PROTECTED]) wrote: > Hello Bruno, > > > Try this - go to Internet Options, Advanced, and uncheck Use HTTP 1.1. > With > >

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

2005-05-23 Thread Francois Piette
> Can you point me to the right direction? I went to your site today, went to > ICS, and redownloaded latest version. HTTPServ is dated 3/13/2005, and it > doesn't have FKeepAlive. The problem is probably the hosting server which crashed yesterday. They probably restored an old backup :-( I have

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

2005-05-23 Thread Francois Piette
> Friday, I went to your site and selected "Latest ICS version". > Isn't that the latest? Yes, it is. But you have not FKeepAlive variable, so you don't use the latest version (or there is a problem on my website, or there is a caching proxy somewhere). FKeepAlive exists since Apr 16 as the hist

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

2005-05-23 Thread Bruno Sonnino
pile, FKeepAlive isn't defined. > > You defenitely lack the latest release. > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Sunday, May 22, 2

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

2005-05-23 Thread Bruno Sonnino
Author of MidWare (Multi-tier framework, freeware) > http://www.overbyte.be > > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Sunday, May 22, 2005 10:39 PM > Subject: Re: Re[2]: [twsocket] Connection not c

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

2005-05-23 Thread Bruno Sonnino
Yes, you're right, It's not respecting the connection Bruno On 23/5/2005 04:01:26, Wilfried Mestdagh ([EMAIL PROTECTED]) wrote: > Hello Bruno, > > > But there is also one other thing, and this I could not track, maybe > it's > > some setting in the server: the connection remains open after you do

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

2005-05-23 Thread Fastream Technologies
y 23, 2005 9:55 AM Subject: Re: Re[2]: [twsocket] Connection not closed in WebServer with IE This doesn't compile, FKeepAlive isn't defined. You defenitely lack the latest release. -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Bruno Sonnino&quo

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

2005-05-23 Thread Francois Piette
hor of ICS (Internet Component Suite, freeware) Author of MidWare (Multi-tier framework, freeware) http://www.overbyte.be - Original Message - From: "Bruno Sonnino" <[EMAIL PROTECTED]> To: Sent: Sunday, May 22, 2005 10:39 PM Subject: Re: Re[2]: [twsocket] Connection not

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

2005-05-23 Thread Wilfried Mestdagh
Hello Bruno, > But there is also one other thing, and this I could not track, maybe it's > some setting in the server: the connection remains open after you do the if ((FVersion = 'HTTP/1.0') and (CompareText(FRequestConnection, 'keep-alive') <> 0)) or { Jack } (Comp

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

2005-05-23 Thread Francois Piette
2]: [twsocket] Connection not closed in WebServer with IE > > In THttpConnection.AnswerStream, add the following block just after the > > lines with Content-Length: > > > > if FKeepAlive then > > PutStringInSendBuffer('Connection: Keep-Alive' + #1

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

2005-05-23 Thread Wilfried Mestdagh
Hello Bruno, > Try this - go to Internet Options, Advanced, and uncheck Use HTTP 1.1. With > your header, the server you are developing should show the same behavior Yes you right. Then I see same problem. > But there is also one other thing, and this I could not track, maybe it's > some setting

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 + 'C

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

2005-05-22 Thread Bruno Sonnino
> In THttpConnection.AnswerStream, add the following block just after the > lines with Content-Length: > > if FKeepAlive then > PutStringInSendBuffer('Connection: Keep-Alive' + #13#10) > else > PutStringInSendBuffer('Connection: Close' + #13#10); > > Tell me if it works without adding the header

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

2005-05-22 Thread Bruno Sonnino
Wilfried: I think the problem is not with the size of the documents - I've had some problem with the Time demo, which is very small. Try this - go to Internet Options, Advanced, and uncheck Use HTTP 1.1. With your header, the server you are developing should show the same behavior I've seen. But

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

2005-05-22 Thread Bruno Sonnino
se Microsoft > AntiSpy to detect those beast that are not detected by anti-virus. > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Sunday, May 22, 20

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

2005-05-22 Thread Francois PIETTE
> Finally, I could find what was causing the problem here - I still don't know > why, but at least I could fix it. > > I analyzed the header files sent by a virtual page and an identical real > page. The difference was the virtual page was not sending three lines: > > Accept-Ranges: bytes > Last-Mo

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: [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 fo

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

2005-05-22 Thread Bruno Sonnino
Finally, I could find what was causing the problem here - I still don't know why, but at least I could fix it. I analyzed the header files sent by a virtual page and an identical real page. The difference was the virtual page was not sending three lines: Accept-Ranges: bytes Last-Modified: Sun,

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

2005-05-22 Thread Francois PIETTE
TECTED] http://www.overbyte.be - Original Message - From: "Bruno Sonnino" <[EMAIL PROTECTED]> To: Sent: Sunday, May 22, 2005 7:38 PM Subject: Re: Re[2]: [twsocket] Connection not closed in WebServer with IE > I begin to think that this is the problem - I was thinking tw

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

2005-05-22 Thread Wilfried Mestdagh
Hello Bruno, >> Can I remotely access your computer to try webserv ? > I'm afraid this will be impossible, I'm behind my ISP's firewall and I > cannot change it. Some ISP block port, but not all port, probably all above 1024 is open, so you can listen on an alternative port (not 80) to do the te

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

2005-05-22 Thread Bruno Sonnino
François: > Virtual pages and document pages are the same. Virtual pages use a > TMemoryStream with your data with document page use a TFileStream. Yes, I know, but the behavior is very consistent to be just coincidence. I've tried to follow ICS' source code to see any differences, but there was

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

2005-05-22 Thread Bruno Sonnino
I begin to think that this is the problem - I was thinking two options: something with the Brazilian Portuguese version of IE, or something with a program that intercepts communications, like an antivirus. The only questions that remain are: why does this happen only with virtual pages and not wit

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

2005-05-22 Thread Wilfried Mestdagh
>> everything that is available ? >> I see in your screen dump that you have a lot of programs running. Stop >> all >> programs and services that are not strictly necessary to make Windows >> work. >> >> -- >> [EMAIL PROTECTED] >> http://www.o

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

2005-05-22 Thread Francois PIETTE
> The program runs fine, just the connection isn't closed, you can have many > connections open at the same time, when they are not needed. The strangest > thing is that it happens only in some machines (that's why you're not seeing > it), in IE only and with virtual pages, not document pages. Vir

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

2005-05-22 Thread Bruno Sonnino
that you have a lot of programs running. Stop > all > programs and services that are not strictly necessary to make Windows > work. > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL P

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

2005-05-22 Thread Francois PIETTE
11:19 AM Subject: Re: [twsocket] Connection not closed in WebServer with IE > François: > > I've downloaded it, and got the same thing. I disabled Windows Firewall, but > nothing changed. > I've uploaded an image in http://www.revolution.com.br/icsscreen.zip > It has

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

2005-05-22 Thread Bruno Sonnino
> -- > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Saturday, May 21, 2

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

2005-05-22 Thread Francois PIETTE
.be/eng/ssl.html -- [EMAIL PROTECTED] http://www.overbyte.be - Original Message - From: "Bruno Sonnino" <[EMAIL PROTECTED]> To: Sent: Saturday, May 21, 2005 9:50 PM Subject: Re: [twsocket] Connection not closed in WebServer with IE > François: > > Maybe it&#

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

2005-05-21 Thread Bruno Sonnino
François: Maybe it's the firewall, I'm using Windows firewall. I'd like to try your version, if you could send it to me, I'd be glad, thanks About the latest version, I'm using it - I've downloaded it yesterday from your website, do the display from the server I've sent in last message show som

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

2005-05-21 Thread Francois PIETTE
> Sorry, it was my fault - the event was OnHttpRequestDone, not OnRequestDone. > If I don't add the line, the code runs fine (it shows the entire page, there > is no problem in this), but the connection remains open - the progress bar > in IE 6 remains there and you see a connection open in the ser

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

2005-05-21 Thread Francois PIETTE
> No, I don't have any exceptions - the program runs in the debugger with no > errors. The strangest thing is that in Firefox, the connection closes fine > all times, but in IE, it doesn't - that happens only for virtual docs. When > you request a page, the connection closes ok on both browsers. A

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

2005-05-21 Thread Bruno Sonnino
No, I don't have any exceptions - the program runs in the debugger with no errors. The strangest thing is that in Firefox, the connection closes fine all times, but in IE, it doesn't - that happens only for virtual docs. When you request a page, the connection closes ok on both browsers. Bruno On

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

2005-05-21 Thread Wilfried Mestdagh
Hello Bruno, > If I don't add the line, the code runs fine (it shows the entire page, there > is no problem in this), but the connection remains open - the progress bar > in IE 6 remains there and you see a connection open in the server. If you Possible you have siltent exception error somewhere.

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

2005-05-21 Thread Bruno Sonnino
-- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: "'ICS support mailing'" > Sent: Saturday, May 21, 2005 11:18 AM > Subject: RE: [twsocket] Connection not closed

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

2005-05-21 Thread Francois PIETTE
OTECTED] http://www.overbyte.be - Original Message - From: "Bruno Sonnino" <[EMAIL PROTECTED]> To: "'ICS support mailing'" Sent: Saturday, May 21, 2005 11:18 AM Subject: RE: [twsocket] Connection not closed in WebServer with IE > François: > > I t

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

2005-05-21 Thread Bruno Sonnino
nder : TObject); begin TMyHttpConnection(Sender).Close; end; Bruno -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bruno Sonnino Sent: Thursday, May 19, 2005 3:55 PM To: twsocket@elists.org Subject: Re: [twsocket] Connection not closed in WebServer with IE

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

2005-05-19 Thread Bruno Sonnino
_Time as an example of AnswerString > use. > Put your code into that sample program. > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Thursday, May 19, 2

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

2005-05-19 Thread Francois PIETTE
PROTECTED] http://www.overbyte.be - Original Message - From: "Bruno Sonnino" <[EMAIL PROTECTED]> To: Sent: Thursday, May 19, 2005 7:02 PM Subject: Re: [twsocket] Connection not closed in WebServer with IE > Francois: > > Yes, I am. The full code (it has been cut fro

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

2005-05-19 Thread Bruno Sonnino
a look at AnswerString in HTTPSrv, > you > > have: > > But you are not using AnswerString. Are you ? > > -- > [EMAIL PROTECTED] > http://www.overbyte.be > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: &

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

2005-05-19 Thread Francois PIETTE
, 2005 6:00 PM Subject: Re: [twsocket] Connection not closed in WebServer with IE > There is no need to - if you take a look at AnswerString in HTTPSrv, you > have: > > procedure THttpConnection.AnswerString( > var Flags: THttpGetFlag; > const Status :

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

2005-05-19 Thread Bruno Sonnino
ngth". > > Regards, > > SZ > > - Original Message - > From: "Bruno Sonnino" <[EMAIL PROTECTED]> > To: > Sent: Thursday, May 19, 2005 5:30 PM > Subject: [twsocket] Connection not closed in WebServer with IE > > > > I am u

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

2005-05-19 Thread Fastream Technologies
You forgot to set the "Content-Length". Regards, SZ - Original Message - From: "Bruno Sonnino" <[EMAIL PROTECTED]> To: Sent: Thursday, May 19, 2005 5:30 PM Subject: [twsocket] Connection not closed in WebServer with IE I am using a program based on the WebSer

[twsocket] Connection not closed in WebServer with IE

2005-05-19 Thread Bruno Sonnino
I am using a program based on the WebServer demo, where I generate my pages. When using IE as the client (this doesn't happen with FireFox), the connection is not closed after the page is sent, and the progressbar doesn't close in IE. Did anybody see something similar? Is there any way to avoid th