On Wed, 17 Jul 2013, Jansen, Dirk wrote:

Hello,

I tested a simple http application and found that the THTTPApplication
does not close the connection.

A normal web server always close the connection after sending the HTML
page but this webserver does not close the connection. As a result of
this every second request from a web browser (Firefox, IE) does not
work. The browser starts the request than it waits for a very long time.
If you interrupt the browser and start a new request you get an answer.

That is not correct.

In HTTP 1.1 The browser sends a HTTP header which determines if the connection 
should be closed or not.

Secondly, THTTPApplication is an apache module. There it is apache which determines what happens to the connection, not the FPC code.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to