[Lazarus] GUI development for web UI

Joost van der Sluis joost at cnoc.nl
Wed Dec 1 18:07:10 CET 2010


On Wed, 2010-12-01 at 17:05 +0100, michael.vancanneyt at wisa.be wrote:
> 
> On Wed, 1 Dec 2010, Joost van der Sluis wrote:
> 
> > On Wed, 2010-12-01 at 15:51 +0100, michael.vancanneyt at wisa.be wrote:
> >>
> >> On Wed, 1 Dec 2010, Joost van der Sluis wrote:

> > Also check this:
> > http://www.fastcgi.com/drupal/node/6?q=node/22#S4.1
> >
> > The FastCGI process should return how many connection and requests it
> > can handle. I'm not sure anymore if FastCGI of fpc can handle muliple
> > requests at a time. (It could, but some parts ahve been changed)
> 
> It never could. 
> There is 1 connection, and all requests go through this connection.

Yes, but this was about requests. One connection can be used for
multiple requests. Each package contain an identifier for which request
it is, so multiple request can be handled.

> A week (or maybe 2) ago, I sent you a private mail about using select() 
> on the connection handle.  This or the use of threads could be used to 
> handle multiple connections.  Maybe look it up and reply :-)

I still have to look at it. Iirc, it once used select(), but that didn't
work on Windows, somehow.

Joost.





More information about the Lazarus mailing list