smol_http

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 36159392edc21dbf6c6cad18a5c51b6ab3c5bfab
parent bca5d6165ddaa8eb44ebca07121b9b30a993224f
Author: Anton Kling <anton@kling.gg>
Date:   Tue,  1 Feb 2022 23:24:43 +0100

LICENSE: Changed from AGPL over to Zero Clause BSD License.

Diffstat:
MREADME | 19++++++-------------
Msmol_http.c | 26++++++++++++--------------
2 files changed, 18 insertions(+), 27 deletions(-)

diff --git a/README b/README @@ -32,16 +32,9 @@ privleges to. smol_http uses unveil and pledge to limit its privleges. Pledge and unveil are enabled should it be compiled on a OpenBSD or SerenityOS machine. -License -------- - -This program is licensed under Affero GNU Public License Version 3. This may -require you to in ceratin circumstances provide the source code of the -application. Make sure you are following the license. This program comes -without any warranty. See COPYING for more information. - -One conceivable way of complying with the AGPL should no changes be made would -be to simply link to this git repo and the commit the code is on. If changes -are made then providing a diff file along with the git repo link should be good -enough. Please note that this paragraph does not trump anything stated in -COPYING nor add any additional legal restrictions. +Attribution +----------- +Attribution is under no circumstance required. Read LICENSE for more +informaiton. But if you use this project I would not mind attribution and/or +you sending me a mail at anton@kling.gg just so that I can see people are using +my project(s). diff --git a/smol_http.c b/smol_http.c @@ -1,18 +1,16 @@ /* -Copyright © 2021-2022 Anton Kling <anton@kling.gg> - -This program is free software: you can redistribute it and/or modify -it under the terms of the GNU Affero General Public License as -published by the Free Software Foundation, either version 3 of the -License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Affero General Public License for more details. - -You should have received a copy of the GNU Affero General Public License -along with this program. If not, see <http://www.gnu.org/licenses/>. +Copyright (C) 2022 by Anton Kling <anton@kling.gg> + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #include <arpa/inet.h> #include <assert.h>