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
> [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
: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
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
>
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
> >
> 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
> 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
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
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
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
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
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
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
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
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
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
> 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
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
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
> 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
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 +
> 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
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,
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
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
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
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
>> 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
> 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
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
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
> --
> 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
.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
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
> 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
> 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
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
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.
--
> [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
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
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
_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
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
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:
&
, 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 :
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
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
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
48 matches
Mail list logo