On Wed, Jun 3, 2020 at 3:46 PM Luca Olivetti via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> El 3/6/20 a les 19:41, silvioprog via lazarus ha escrit:
> Good, then I guess the question is if firexox and/or chromium are stable
> enough to run 24/7 (which I doubt...)
😂
--
Silvio Clécio
--
_
El 4/6/20 a les 17:07, Sven Barth ha escrit:
TThread.Synchronize needs a TThread as the first parameter.
This is my work in progress
The thread parameter can be Nil. TThread will then use the CurrentThread
threadvar and failing that it can also work without any thread object.
In fa
Luca Olivetti via lazarus schrieb am Do.,
4. Juni 2020, 15:51:
> El 4/6/20 a les 15:37, Michael Van Canneyt via lazarus ha escrit:
> >
> >
> > On Thu, 4 Jun 2020, Luca Olivetti via lazarus wrote:
> >
> >>> FServer.Port:=8080;
> >>> FServer.Threaded:=true;
> >>> FServer.Run;
> >>>
El 4/6/20 a les 15:37, Michael Van Canneyt via lazarus ha escrit:
On Thu, 4 Jun 2020, Luca Olivetti via lazarus wrote:
FServer.Port:=8080;
FServer.Threaded:=true;
FServer.Run;
  except
on E:Exception do
begin
  writeln(E.Message);
  sleep(1000);
  FSer
On Thu, 4 Jun 2020, Luca Olivetti via lazarus wrote:
   FServer.Port:=8080;
   FServer.Threaded:=true;
   FServer.Run;
 except
   on E:Exception do
   begin
 writeln(E.Message);
 sleep(1000);
 FServer.Free;
   end;
 end;
Oh, and I had to do some more overrid
El 4/6/20 a les 12:04, Luca Olivetti via lazarus ha escrit:
El 4/6/20 a les 11:48, Michael Van Canneyt ha escrit:
It turns out I can with some careful, or reckless ;-), overriding.
https://paste.ubuntu.com/p/CdHfc7BTHB/
Haha, very nice job :-)
I'll see if I can integrate this in the HTTPSe
El 4/6/20 a les 11:48, Michael Van Canneyt ha escrit:
It turns out I can with some careful, or reckless ;-), overriding.
https://paste.ubuntu.com/p/CdHfc7BTHB/
Haha, very nice job :-)
I'll see if I can integrate this in the HTTPServer request/response.
It won't work in fastCGI/CGI of cours
On Thu, 4 Jun 2020, Luca Olivetti via lazarus wrote:
El 3/6/20 a les 15:54, Michael Van Canneyt via lazarus ha escrit:
On Wed, 3 Jun 2020, Luca Olivetti via lazarus wrote:
Hello,
I need to embed a simple web server in my application that
1) should server a couple of static files
2) send
El 3/6/20 a les 15:54, Michael Van Canneyt via lazarus ha escrit:
On Wed, 3 Jun 2020, Luca Olivetti via lazarus wrote:
Hello,
I need to embed a simple web server in my application that
1) should server a couple of static files
2) send server-sent events
https://developer.mozilla.org/en-US/
El 3/6/20 a les 19:41, silvioprog via lazarus ha escrit:
On Wed, Jun 3, 2020 at 2:04 PM Luca Olivetti via lazarus
mailto:lazarus@lists.lazarus-ide.org>>
wrote:
El 3/6/20 a les 18:53, silvioprog via lazarus ha escrit:
Thank you.
I tested the 2 ports approach (fpweb on one port and a
On Wed, Jun 3, 2020 at 2:04 PM Luca Olivetti via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> El 3/6/20 a les 18:53, silvioprog via lazarus ha escrit:
> Thank you.
> I tested the 2 ports approach (fpweb on one port and a custom socket for
> SSE on a different port) and it works, but this is n
El 3/6/20 a les 18:53, silvioprog via lazarus ha escrit:
2) As Michael explained, unfortunately, it is not supported in FCL-Web
(yet) . However, if you want a SSE structure out-of-the-box, you can
provide it using the Brook streaming, e.g.:
Minimal console example:
https://github.com/risoflo
Hi Luca.
I hope you are fine in the current world situation.
Some answers below to your questions 1 and 2.
On Wed, Jun 3, 2020 at 10:30 AM Luca Olivetti via lazarus <
lazarus@lists.lazarus-ide.org> wrote:
> Hello,
>
> I need to embed a simple web server in my application that
>
> 1) should serv
On Wed, 3 Jun 2020, Luca Olivetti via lazarus wrote:
El 3/6/20 a les 15:54, Michael Van Canneyt via lazarus ha escrit:
On Wed, 3 Jun 2020, Luca Olivetti via lazarus wrote:
Hello,
I need to embed a simple web server in my application that
1) should server a couple of static files
2) send
El 3/6/20 a les 16:32, Luca Olivetti via lazarus ha escrit:
El 3/6/20 a les 15:54, Michael Van Canneyt via lazarus ha escrit:
On Wed, 3 Jun 2020, Luca Olivetti via lazarus wrote:
Hello,
I need to embed a simple web server in my application that
1) should server a couple of static files
2)
El 3/6/20 a les 15:54, Michael Van Canneyt via lazarus ha escrit:
On Wed, 3 Jun 2020, Luca Olivetti via lazarus wrote:
Hello,
I need to embed a simple web server in my application that
1) should server a couple of static files
2) send server-sent events
https://developer.mozilla.org/en-US/
On Wed, 3 Jun 2020, Luca Olivetti via lazarus wrote:
Hello,
I need to embed a simple web server in my application that
1) should server a couple of static files
2) send server-sent events
https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events
I can se
17 matches
Mail list logo