babelouest / ulfius

Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services
https://babelouest.github.io/ulfius
GNU Lesser General Public License v2.1
1.08k stars 182 forks source link

About ulfius licence LGPL v2.1 #148

Closed alexe100 closed 4 years ago

alexe100 commented 4 years ago

Hi We are thinking to adopt ulfius for our commercial embedded system which runs on linux based operating system. Just to be sure, ulfius just depends on

-Libmicrohttpd - LGPL -Jansson - MIT -Libcurl - ??? right?

We mean, can we develop webserver/websoket server/rest api using ulfius and keep source code closed?

Thanks Alex

babelouest commented 4 years ago

Hello,

I can't speak for the other projects Ulfius depends on, you better should ask them directly if you want a straight answer. Although, libcurl uses a free MIT/X license: https://curl.haxx.se/docs/copyright.html

Another precision: Ulfius embeds libyuarel for the url parsing in the websocket client code, libyuarel uses the MIT license.

Concerning Ulfius itself, I use the LGPL license to allow closed source software to use it without restriction: you're free to use the library in your closed source program.

The only limitation is if you make changes to Ulfius source code itself, not the code linked to it, you will have to redistribute your modified version of Ulfius to your users.

Have fun!

alexe100 commented 4 years ago

Great! Thank you