[Lazarus] GUI development for web UI
Michael Van Canneyt
michael at freepascal.org
Wed Dec 1 19:30:16 CET 2010
On Wed, 1 Dec 2010, Joost van der Sluis wrote:
> 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:
>>> 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.
"The FastCGI process should return how many connection"
The last word is what I reacted on :-)
>> 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.
Works fine for me. There were some other bugs on windows, which I fixed some time ago.
Well the app is in production, I tested the adding of select() initially on Windows
and it's doing just fine :-)
More information about the Lazarus