Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-02

Embedded web server

34 messages · 9 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Héctor S. Ponce

Hello, could you please send me information about the web server? link is broken...

Thanks

Leonardo M. Ramé Wrote

*Hi, I need to create a web app and don't whant to use CGI or Apache

*>*modules, in fact I whant to
*>*create my own web server that serves only an embedded app. *>*
*>*Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was *>*looking for something similar.
*>*
*>*Leonardo M. Ramé
*

I learned a lot while hunting for a web server. I have not needed nor investigated embedded web server's but perhaps you will find success with these items like I did:

FPC Multi-Threading Support
FPC Socket Lib
TProcess (Or the Process Unit) for launching external processes. (Not sure this applies to your application)

I was quite impressed with nYume Web Server by the "Replicator" in Russia, which is less then 1000 lines of code I THINK.

I learned a lot and now have a web server totally written in FPC that is 1.7 times faster than apache on static web pages (bench marked using ab, same html pages, same machine etc)

I was able to use FPC process unit to create direct CGI support ( executable cgi apps), Perl (via cgi) , and PHP (via CGI), and my executable can run as a webserver or a multi-threaed CGI client system
- with a simple change to the config file. So now I have two major ways to deploy my web applications written in FPC: CGI or Standalone - Which is WebServer + Built in Application Mode.

I managed virtual host support, and apache compatible logging in apache's "combined" mode.

Here is the link to the nYume Web Server's downloads.

http://zero.kanet.ru/files/?page=/nYume_Server

I learned a lot from this guy's code, help on this forum, and just banging away all on my keyboard all hours night and day ... so if you have any questions - feel free to ask - I MAY be able to save you a minute.

Best Regards,
Jason P Sage

Héctor S. Ponce

Reply by email

Jorge Aldo G. de F. Junior
to Héctor S. Ponce

in powutils theres a lightwebserver that does almost everything.

and you can register your own request handling procedures

2011/2/23 Héctor S. Ponce :

Show quoted text 71 lines
Hello, could you please send me information about the web server? link is broken... Thanks Leonardo M. Ramé Wrote >Hi, I need to create a web app and don't whant to use CGI or Apache >modules, in fact I whant to >create my own web server that serves only an embedded app. > >Anyone knows anithing like this?, if I'm not wrong Jason P. Sage was >looking for something similar. > >Leonardo M. Ramé I learned a lot while hunting for a web server. I have not needed nor investigated embedded web server's but perhaps you will find success with these items like I did: FPC Multi-Threading Support FPC Socket Lib TProcess (Or the Process Unit) for launching external processes. (Not sure this applies to your application) I was quite impressed with nYume Web Server by the "Replicator" in Russia, which is less then 1000 lines of code I THINK. I learned a lot and now have a web server totally written in FPC that is 1.7 times faster than apache on static web pages (bench marked using ab, same html pages, same machine etc) I was able to use FPC process unit to create direct CGI support ( executable cgi apps), Perl (via cgi) , and PHP (via CGI), and my executable can run as a webserver or a multi-threaed CGI client system - with a simple change to the config file. So now I have two major ways to deploy my web applications written in FPC: CGI or Standalone - Which is WebServer + Built in Application Mode. I managed virtual host support, and apache compatible logging in apache's "combined" mode. Here is the link to the nYume Web Server's downloads. http://zero.kanet.ru/files/?page=/nYume_Server I learned a lot from this guy's code, help on this forum, and just banging away all on my keyboard all hours night and day ... so if you have any questions - feel free to ask - I MAY be able to save you a minute. Best Regards, Jason P Sage Héctor S. Ponce _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Jorge Aldo G. de F. Junior
to Marcos Douglas

http://powtils.googlecode.com/svn/dev/tools/lightwebserver/

lightwebserver is more stable and has all features (Even https)

its easily expansible.

theres two versions : the faster threaded and the slower but safer forked version (lightwebserver2).

the forked version can even plug the powutils directly...

2011/2/24 Marcos Douglas :

Show quoted text 16 lines
2011/2/23 Héctor S. Ponce : > Hello, could you please send me information about the web server? link is > broken... > See the project Aservia, in Powtils' tools http://powtils.googlecode.com/svn/dev/tools/aservia/ It is based on nYume, see : http://free-pascal-general.1045716.n5.nabble.com/Aservia-Web-Server-td2818484.html Marcos Douglas _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Marcos Douglas
to Jorge Aldo G. de F. Junior
Jorge Aldo G. de F. Junior wrote 10 lines
http://powtils.googlecode.com/svn/dev/tools/lightwebserver/ lightwebserver is more stable and has all features (Even https) its easily expansible. theres two versions : the faster threaded and the slower but safer forked version (lightwebserver2). the forked version can even plug the powutils directly...

Do you use it?
What about Synapse (I think the example is HTTPSrv) vs Powtils, what is more stable/features?

Marcos Douglas

Reply by email

Jorge Aldo G. de F. Junior
to Marcos Douglas

lightwebserver uses synapse as its socket handling library

2011/2/24 Marcos Douglas :

Show quoted text 23 lines
On Thu, Feb 24, 2011 at 12:34 PM, Jorge Aldo G. de F. Junior wrote: > http://powtils.googlecode.com/svn/dev/tools/lightwebserver/ > > lightwebserver is more stable and has all features (Even https) > > its easily expansible. > > theres two versions : the faster threaded and the slower but safer > forked version (lightwebserver2). > > the forked version can even plug the powutils directly... Do you use it? What about Synapse (I think the example is HTTPSrv) vs Powtils, what is more stable/features? Marcos Douglas _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Jorge Aldo G. de F. Junior
to Marcos Douglas: On Thu, Feb 24, 2011 at 12:59 PM, Jorge Aldo G. de F. Junior lighwebserver uses Synapse…

whats wrong with that ?

Powutils is a CGI library
Synapse is a sockets library.

No contradiction here.

Well, i am the author of the refered software, so i can say.

Anyway i already answered your question.

2011/2/24 Marcos Douglas :

Show quoted text 13 lines
On Thu, Feb 24, 2011 at 12:59 PM, Jorge Aldo G. de F. Junior wrote: > lightwebserver uses synapse as its socket handling library > lighwebserver uses Synapse and is in Powtils' SVN? Okay... I think. Marcos Douglas _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Marcos Douglas
to Jorge Aldo G. de F. Junior
Jorge Aldo G. de F. Junior wrote 6 lines
whats wrong with that ? Powutils is a CGI library Synapse is a sockets library. No contradiction here.

I'm sorry, I did not know Powtils. I thought that Synapse was similar to Powtils.

Well, i am the author of the refered software, so i can say.

You made lighwebserver?

Anyway i already answered your question.

Yes, you did, thanks.

Marcos Douglas

Reply by email

Ben
to Marcos Douglas: 2011/2/23 Héctor S. Ponce : See the project Aservia, in Powtils' tools…

Op 2011-02-24 17:10, Marcos Douglas het geskryf:

See the project Aservia, in Powtils' tools http://powtils.googlecode.com/svn/dev/tools/aservia/

I checked out the whole 'dev' tree sitting at revision r444. That code [Aservia] doesn't compile at all... I read the readme file and tried with the following command, using FPC 2.4.3. I changed some deprecated calls like Bind() to fpbind() etc, but still no luck compiling.

fpc -B -FUunits -Fu../../main/ aservia.dpr

Ben.

Reply by email

Ben
to Ben

Op 2011-02-25 10:27, Ben het geskryf:

I checked out the whole 'dev' tree sitting at revision r444. That code [Aservia] doesn't compile at all... I read the readme file and

OK, after looking at the FPC code to see how the old socket functions map to the newer fp* functions I managed to fix and compile aservia under FPC 2.4.3 Linux 64-bit.

Now how am I supposed to run it as a webserver? Simply running './aservia' outputs some HTML to the console and terminates the application. Output shown below:

---------------------------------
[aservia]$ ./aservia -h
Content-type: text/html

<html>
<body>
<pre>
Serving from seven to eleven every night,
It really makes life a drag, I don't think that's right. I've really, really been the best of fools, I did what I could. 'Cause I love you, baby,
...snip...
Love,

Aservia
</pre>
</body>
</html>
---------------------------------

Ben.

Reply by email

Jorge Aldo G. de F. Junior
to Ben

iirc aservia was an experiment.

why would you choose aservia over lightwebserver ?

2011/2/25 Ben :

Show quoted text 42 lines
Op 2011-02-25 10:27, Ben het geskryf: > > I checked out the whole 'dev' tree sitting at revision r444. > That code [Aservia] doesn't compile at all... I read the readme file and OK, after looking at the FPC code to see how the old socket functions map to the newer fp* functions I managed to fix and compile aservia under FPC 2.4.3 Linux 64-bit. Now how am I supposed to run it as a webserver? Simply running './aservia' outputs some HTML to the console and terminates the application. Output shown below: --------------------------------- [aservia]$ ./aservia -h Content-type: text/html <html> <body> <pre> Serving from seven to eleven every night, It really makes life a drag, I don't think that's right. I've really, really been the best of fools, I did what I could. 'Cause I love you, baby, ...snip... Love,  Aservia </pre> </body> </html> --------------------------------- --            Ben. _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Ben
to Jorge Aldo G. de F. Junior

Op 2011-02-25 11:47, Jorge Aldo G. de F. Junior het geskryf:

iirc aservia was an experiment.

Oh. So what everything is the different between Aservia vs nYume?

why would you choose aservia over lightwebserver ?

I was just looking at what aservia can do. I haven't played with lightwebserver either. What I like about nYume, is the no dependency on external code/libraries/components. nYume only uses what is included with FPC already.

It took me 5 minutes to get nYume to compile under the latest FPC 2.4.3 (64-bit linux).

We have a product that will require an embedded web server, so nYume looks like a good choice. We just need to test its CGI support thoroughly.

Now, does anybody know if one can run a [embedded] webserver like nYume as a standard desktop user under Linux? Without doing something like:

  $ sudo ./nYume
Ben.

Reply by email

Unknown author
to Ben
Ben wrote 23 lines
Op 2011-02-25 11:47, Jorge Aldo G. de F. Junior het geskryf: > iirc aservia was an experiment. Oh. So what everything is the different between Aservia vs nYume? > why would you choose aservia over lightwebserver ? I was just looking at what aservia can do. I haven't played with lightwebserver either. What I like about nYume, is the no dependency on external code/libraries/components. nYume only uses what is included with FPC already. It took me 5 minutes to get nYume to compile under the latest FPC 2.4.3 (64-bit linux). We have a product that will require an embedded web server, so nYume looks like a good choice. We just need to test its CGI support thoroughly. Now, does anybody know if one can run a [embedded] webserver like nYume as a standard desktop user under Linux? Without doing something like: $ sudo ./nYume

As far as I know:

Not unless you let it listen on a port >1024. Ports < 1024 are restricted to root. Apache and so on first listen to the port, and then change user to a user with lower rights.

At least, it used to be so 10 years ago. Maybe things got less strict these days.

Michael.

Reply by email

Unknown author
to Ben: Op 2011-02-25 11:47, Jorge Aldo G. de F. Junior het geskryf: Oh. So what everything is…
Ben wrote 12 lines
Op 2011-02-25 11:47, Jorge Aldo G. de F. Junior het geskryf: > iirc aservia was an experiment. Oh. So what everything is the different between Aservia vs nYume? > why would you choose aservia over lightwebserver ? I was just looking at what aservia can do. I haven't played with lightwebserver either. What I like about nYume, is the no dependency on external code/libraries/components. nYume only uses what is included with FPC already.

I just downloaded it. It is extremely leightweight and has no external dependencies; Since it looks like it is abandoned, I will see if we can incorporate it in FPC. It will make testing a lot easier for fpWeb.

Michael.

Reply by email

Florian Klaempfl
to Unknown author

Am 25.02.2011 11:18, schrieb

Show quoted text 21 lines
On Fri, 25 Feb 2011, Ben wrote: > Op 2011-02-25 11:47, Jorge Aldo G. de F. Junior het geskryf: >> iirc aservia was an experiment. > > Oh. So what everything is the different between Aservia vs nYume? > > >> why would you choose aservia over lightwebserver ? > > I was just looking at what aservia can do. I haven't played with > lightwebserver either. What I like about nYume, is the no dependency on > external code/libraries/components. nYume only uses what is included > with FPC already. I just downloaded it. It is extremely leightweight and has no external dependencies; Since it looks like it is abandoned, I will see if we can incorporate it in FPC. It will make testing a lot easier for fpWeb.

fphttpd is no abandoned :)

Reply by email

Jonas Maebe
to Unknown author: I just downloaded it. It is extremely leightweight and has no external dependencies;…
I just downloaded it. It is extremely leightweight and has no external dependencies; Since it looks like it is abandoned, I will see if we can incorporate it in FPC. It will make testing a lot easier for fpWeb.

It seems that it's licensed under Artistic License 1.0 (<http://powtils.googlecode.com/svn/dev/LICENSE%20(powtils).txt

), which is GPL-incompatible (and possibly also incompatible with a

number of other open source/free software licenses). While that does not mean that it can't be used together with FPC, I'm not sure whether it's a good idea to include components written from scratch in Pascal that limit license choices for people that use them.

Jonas

Reply by email

Ben
to Unknown author: I just downloaded it. It is extremely leightweight and has no external dependencies;…

Op 2011-02-25 12:18, het
geskryf:

I just downloaded it. It is extremely leightweight and has no external dependencies;

Exactly why I like it! A simple +-1000 lines of code, and it has CGI support. Our first tests show the CGI apps working without problems using nYume. :)

Since it looks like it is abandoned, I will see if we can incorporate it in FPC. It will make testing a lot easier for fpWeb.

That would be cool. Like Delphi and Kylix did web debugging.

I can email you an already "fixed" version that works with FPC 2.4.3 if you want - though you wrote the Sockets unit (if I remember correctly from the header comment), so will probably find it very is to fix too. :)

Ben.

Reply by email

Unknown author
to Florian Klaempfl: Am 25.02.2011 11:18, schrieb fphttpd is no abandoned :)
Florian Klaempfl wrote 24 lines
Am 25.02.2011 11:18, schrieb > > > On Fri, 25 Feb 2011, Ben wrote: > >> Op 2011-02-25 11:47, Jorge Aldo G. de F. Junior het geskryf: >>> iirc aservia was an experiment. >> >> Oh. So what everything is the different between Aservia vs nYume? >> >> >>> why would you choose aservia over lightwebserver ? >> >> I was just looking at what aservia can do. I haven't played with >> lightwebserver either. What I like about nYume, is the no dependency on >> external code/libraries/components. nYume only uses what is included >> with FPC already. > > I just downloaded it. It is extremely leightweight and has no external > dependencies; Since it looks like it is abandoned, I will see if we can > incorporate it in FPC. It will make testing a lot easier for fpWeb. > fphttpd is no abandoned :)

And where is fphttpd located in FPC ?

If it's part of lnet, then it is external, and not usable, unless we include lnet in FPC. And last I heard, this was a no-no... ?

Michael.

Reply by email

Ben
to Jonas Maebe: It seems that it's licensed under Artistic License 1.0…

Op 2011-02-25 12:31, Jonas Maebe het geskryf:

It seems that it's licensed under Artistic License 1.0 (<http://powtils.googlecode.com/svn/dev/LICENSE%20(powtils).txt>),

nYume is not part of powtils. The nYume code I have shows the following license. It doesn't mention the exactly licences name like GPL, MPL etc...

-----------------------------------------
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.

2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:

You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)

3. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.

4. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.

5. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.

6. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission.

7. Because the program is licensed free of charge, there is no warranty for the program, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the program "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the program is with you. Should the program prove defective, you assume the cost of all necessary servicing, repair or correction.
-----------------------------------------

Ben.

Reply by email

Marco van de Voort
to Unknown author: And where is fphttpd located in FPC ? If it's part of lnet, then it is external, and not…

In our previous episode, said:

Show quoted text 5 lines
And where is fphttpd located in FPC ? If it's part of lnet, then it is external, and not usable, unless we include lnet in FPC. And last I heard, this was a no-no... ?

Afaik it was not a no-no per se, but to be fair we would have to import all the competing socket suites. (Indy,Synapse)

Reply by email

Jonas Maebe
to Ben: Op 2011-02-25 12:31, Jonas Maebe het geskryf: nYume is not part of powtils. The nYume…
Ben wrote 9 lines
Op 2011-02-25 12:31, Jonas Maebe het geskryf: > > It seems that it's licensed under Artistic License 1.0 > (<http://powtils.googlecode.com/svn/dev/LICENSE%20(powtils).txt>), nYume is not part of powtils. The nYume code I have shows the following license. It doesn't mention the exactly licences name like GPL, MPL etc...

It seems like a copy/paste of a part of the GPLv2. Putting GPL code into FPC's packages is not that good either, since it prevents usage in closed source programs.

Jonas

Reply by email

Ben
to Jonas Maebe

Op 2011-02-25 13:43, Jonas Maebe het geskryf:

It seems like a copy/paste of a part of the GPLv2. Putting GPL code into FPC's packages is not that good either, since it prevents usage in closed source programs.

I'll try and contact the original author to see if he can accommodate the FPC project with that code. Or should someone with a more official capacity (part of FPC team) rather contact the author?

On the other hand... A webserver is a defined algorithm: sockets, TCP, HTTP, CGI etc... so any web server implementation would essentially end up being very similar to the same really. So can a software licence really be applied to something like that [webserver functionality - implemented protocols]? Just a thought.

Ben.

Reply by email

Jonas Maebe
to Ben
Ben wrote
I'll try and contact the original author to see if he can accommodate the FPC project with that code.

Acceptable licenses include a modified LGPL license (modified as described in http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/COPYING.FPC?revision=1 ) and a BSD license without the advertising clause (such as the "Modified BSD License" or "New BSD License").

Or should someone with a more official capacity (part of FPC team) rather contact the author?

It doesn't matter.

Show quoted text 6 lines
On the other hand... A webserver is a defined algorithm: sockets, TCP, HTTP, CGI etc... so any web server implementation would essentially end up being very similar to the same really. So can a software licence really be applied to something like that [webserver functionality - implemented protocols]?

Copyright (which forms the basis for such software licenses) cannot not apply to "webserver functionality" nor to "implemented protocols". It does apply to a concrete implementation thereof though. Even if two people independently writing a web server would end up with exactly the same code, both programs would be copyrighted by their respective authors and they alone would be able to determine under what terms the copy they wrote themselves could be distributed/used.

There are limitations as to what can constitute a "creative work" that qualifies for copyright protection (e.g., it's unlikely that a regular "hello world" program would), but a complete webserver implementation almost certainly does in pretty much every jurisdiction.

Jonas

Reply by email

Unknown author
to Florian Klaempfl
Florian Klaempfl wrote 7 lines
Am 25.02.2011 11:38, schrieb > unless we > include > lnet in FPC. Well, fppkg uses it for years already, see utils/fppkg/lnet

I am aware of that, but that is an old unmaintained copy, and that is exactly the problem:
There are 2 parallel implementations.

I have no problem with including it in FPC, but it's not my call...

Michael.

Reply by email

Jorge Aldo G. de F. Junior
to Unknown author

whos going to mantain nYume ?

cause lightwebserver is mantained... (while i dont mantain the rest of powtils site, i can mantain lightwebserver, webtemplate and pasjs...), yet nYume is unmantained...

(i understand that using lightwebserver places the burden of having to use synapse, but, you really cant do anything more advanced like a full fledged webserver without resorting to synapse, lnet or indy).

2011/2/25 :

Show quoted text 22 lines
On Fri, 25 Feb 2011, Florian Klaempfl wrote: > Am 25.02.2011 11:38, schrieb > >> unless we >> include >> lnet in FPC. > > Well, fppkg uses it for years already, see utils/fppkg/lnet I am aware of that, but that is an old unmaintained copy, and that is exactly the problem: There are 2 parallel implementations. I have no problem with including it in FPC, but it's not my call... Michael. _______________________________________________ fpc-pascal maillist  -   http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Ben
to Jorge Aldo G. de F. Junior

Op 2011-02-25 15:06, Jorge Aldo G. de F. Junior het geskryf:

whos going to mantain nYume ?

There are such a little code, and zero external dependencies, so it will be a no brainer to keep it working with FPC. From what I can see, there are also quite a few developers using FPC with web apps, so issues will be quickly noted and probably fixed.

full fledged webserver without resorting to synapse, lnet or indy).

I don't believe the idea was for a "full fledged webserver", but rather a simple lightweight / embedded webserver to help with debugging CGI and other web apps.

Ben.

Reply by email

Lukasz Sokol
to Jonas Maebe: It seems like a copy/paste of a part of the GPLv2. Putting GPL code into FPC's packages…
Jonas Maebe wrote 12 lines
On 25 Feb 2011, at 11:45, Ben wrote: > Op 2011-02-25 12:31, Jonas Maebe het geskryf: >> >> It seems that it's licensed under Artistic License 1.0 >> (<http://powtils.googlecode.com/svn/dev/LICENSE%20(powtils).txt>), > > nYume is not part of powtils. The nYume code I have shows the following > license. It doesn't mention the exactly licences name like GPL, MPL etc... It seems like a copy/paste of a part of the GPLv2.

With an infusion of BSD+adv... which renders it GPL incompatible... Looks like the license author tried to achieve best of both baskets; But effectively probably fenced himself from both...

Putting GPL code into FPC's packages is not that good either, since it prevents usage in closed source programs. Jonas

L.

Reply by email

Marco van de Voort
to Unknown author: I am aware of that, but that is an old unmaintained copy, and that is exactly the problem:

In our previous episode, said:

Show quoted text 11 lines
>> unless we >> include >> lnet in FPC. > > Well, fppkg uses it for years already, see utils/fppkg/lnet I am aware of that, but that is an old unmaintained copy, and that is exactly the problem: There are 2 parallel implementations. I have no problem with including it in FPC, but it's not my call...

I will no longer object, the earlier remark was an attempt at humor(because I know how much you guys fear importing Indy into the tree). I haven't been able to further the indy cause much lately, so it would be a bit infantile to keep blocking this. So I won't any longer.

But I will use this moment to reiterate my reasoning, why I don't like lnet to be incorporated into the tree. (compared to Indy or Synapse, don't care which)

That is that it is incomplete (only a few protocols), and from what I've seen from it requires quite some knowledge to operate. It is not something I'd like to advocate to users, at least not when there are better alternatives. In short, it seems its only virtue seems to be its small size.

Florian:

Well, fppkg uses it for years already, see utils/fppkg/lnet

Under the condition that it was only for embedded use in fppkg.

Reply by email