Skip to content

Commit

Permalink
Bump license
Browse files Browse the repository at this point in the history
  • Loading branch information
codepr committed Jan 28, 2023
1 parent b4a6a66 commit 413b88d
Show file tree
Hide file tree
Showing 16 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion include/llb_internal.h
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
6 changes: 3 additions & 3 deletions llb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/config.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/config.h
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/ev.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/ev.h
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/llb.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/log.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/log.h
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/memorypool.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/memorypool.h
Original file line number Diff line number Diff line change
@@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/network.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -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,
Expand All @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion src/network.h
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/server.c
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/server.h
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit 413b88d

Please sign in to comment.