From 413b88d96459e3844a3a34d574b00cf029895855 Mon Sep 17 00:00:00 2001 From: Andrea Date: Sat, 28 Jan 2023 11:15:29 +0000 Subject: [PATCH] Bump license --- LICENSE | 2 +- include/llb_internal.h | 2 +- llb.conf | 6 +++--- src/config.c | 2 +- src/config.h | 2 +- src/ev.c | 2 +- src/ev.h | 2 +- src/llb.c | 2 +- src/log.c | 2 +- src/log.h | 2 +- src/memorypool.c | 2 +- src/memorypool.h | 2 +- src/network.c | 10 +++++----- src/network.h | 2 +- src/server.c | 2 +- src/server.h | 2 +- 16 files changed, 22 insertions(+), 22 deletions(-) diff --git a/LICENSE b/LICENSE index 504104a..ae39990 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 2-Clause License -Copyright (c) 2020, Andrea Giacomo Baldan +Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/include/llb_internal.h b/include/llb_internal.h index d549c56..98e4e2f 100644 --- a/include/llb_internal.h +++ b/include/llb_internal.h @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/llb.conf b/llb.conf index e9a8d65..61afc4d 100644 --- a/llb.conf +++ b/llb.conf @@ -5,14 +5,14 @@ mode http frontends 127.0.0.1:8789,127.0.0.1:8790,127.0.0.1:8791 -backends 127.0.0.1:6090:8,127.0.0.1:6090:6,127.0.0.1:6090:4 +backends 127.0.0.1:9898:8,127.0.0.1:9899:6 -load_balancing weighted-round-robin +load_balancing round-robin # Logging configuration # Could be either DEBUG, INFO/INFORMATION, WARNING, ERROR -log_level DEBUG +log_level ERROR log_path /tmp/llb.log diff --git a/src/config.c b/src/config.c index 10e89be..eb2351c 100644 --- a/src/config.c +++ b/src/config.c @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/config.h b/src/config.h index 092cfac..90642a1 100644 --- a/src/config.h +++ b/src/config.h @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/ev.c b/src/ev.c index 09ca8a1..988a05f 100644 --- a/src/ev.c +++ b/src/ev.c @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/ev.h b/src/ev.h index 042af62..d2b4f7b 100644 --- a/src/ev.h +++ b/src/ev.h @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/llb.c b/src/llb.c index ffcf49e..eee06bd 100644 --- a/src/llb.c +++ b/src/llb.c @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/log.c b/src/log.c index c681b3d..8285cf9 100644 --- a/src/log.c +++ b/src/log.c @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/log.h b/src/log.h index 3a23af1..67382b0 100644 --- a/src/log.h +++ b/src/log.h @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/memorypool.c b/src/memorypool.c index 89022bd..b8ae51d 100644 --- a/src/memorypool.c +++ b/src/memorypool.c @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan + * Copyright (c) 2023, Andrea Giacomo Baldan * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/memorypool.h b/src/memorypool.h index 87272b4..5c6d481 100644 --- a/src/memorypool.h +++ b/src/memorypool.h @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan + * Copyright (c) 2023, Andrea Giacomo Baldan * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/src/network.c b/src/network.c index 6ebecc1..bfffe57 100644 --- a/src/network.c +++ b/src/network.c @@ -1,7 +1,7 @@ /* * BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -384,8 +384,8 @@ static int client_certificate_verify(int preverify_ok, X509_STORE_CTX *ctx) { (void) ctx; // Unused - /* Preverify should check expiry, revocation. */ - return preverify_ok; + /* Preverify should check expiry, revocation. */ + return preverify_ok; } void load_certificates(SSL_CTX *ctx, const char *ca, @@ -397,10 +397,10 @@ void load_certificates(SSL_CTX *ctx, const char *ca, } SSL_CTX_set_mode(ctx, SSL_MODE_ENABLE_PARTIAL_WRITE|SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); - SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, client_certificate_verify); + SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, client_certificate_verify); SSL_CTX_set_ecdh_auto(ctx, 1); - if (SSL_CTX_use_certificate_chain_file(ctx, cert) <= 0) { + if (SSL_CTX_use_certificate_chain_file(ctx, cert) <= 0) { ERR_print_errors_fp(stderr); exit(EXIT_FAILURE); } diff --git a/src/network.h b/src/network.h index 564e3ba..6fdd162 100644 --- a/src/network.h +++ b/src/network.h @@ -1,7 +1,7 @@ /* * BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/server.c b/src/server.c index 6ac3b54..7c10fac 100644 --- a/src/server.c +++ b/src/server.c @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: diff --git a/src/server.h b/src/server.h index b25a65a..eb59312 100644 --- a/src/server.h +++ b/src/server.h @@ -1,6 +1,6 @@ /* BSD 2-Clause License * - * Copyright (c) 2020, Andrea Giacomo Baldan All rights reserved. + * Copyright (c) 2023, Andrea Giacomo Baldan All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: