Updated copyright to 2022

This commit is contained in:
Akshay Agarwal
2022-07-18 01:46:14 +05:30
committed by George Wang
parent 2cd3856c43
commit 90d9ebc005
862 changed files with 1364 additions and 1364 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
* LiteSpeed Web Server Cache Manager
*
* @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @copyright (c) 2018-2021
* @copyright (c) 2018-2022
* ******************************************* */
namespace Lsc\Wp;
+1 -1
View File
@@ -4,7 +4,7 @@
* LiteSpeed Web Server Cache Manager
*
* @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @copyright (c) 2020-2021
* @copyright (c) 2020-2022
* @since 1.10
* ******************************************* */
+1 -1
View File
@@ -4,7 +4,7 @@
* LiteSpeed Web Server Cache Manager
*
* @author: LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @copyright: (c) 2019-2021
* @copyright: (c) 2019-2022
* ******************************************* */
namespace Lsc\Wp\Panel;
+1 -1
View File
@@ -4,7 +4,7 @@
* LiteSpeed Web Server Cache Manager
*
* @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @copyright (c) 2018-2021
* @copyright (c) 2018-2022
* ******************************************* */
namespace Lsc\Wp\Panel;
+1 -1
View File
@@ -4,7 +4,7 @@
* LiteSpeed Web Server Cache Manager
*
* @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @copyright (c) 2021
* @copyright (c) 2022
* @since 1.13.10
* *******************************************
*/
+1 -1
View File
@@ -4,7 +4,7 @@
* LiteSpeed Web Server Cache Manager
*
* @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
* @copyright (c) 2018-2021
* @copyright (c) 2018-2022
* *******************************************
*/
+1 -1
View File
@@ -4,7 +4,7 @@
# LiteSpeed Cache Management Script
#
# @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com)
# @copyright (c) 2017-2021
# @copyright (c) 2017-2022
# *********************************************/
VERSION='1.11.2'
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+4 -4
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -122,7 +122,7 @@ void ls_aho_delete(ls_aho_t *pThis);
*
* @see ls_aho_new, ls_aho, ls_aho_maketree
*/
int ls_aho_addpattern(ls_aho_t *pThis, const char *pattern, size_t size,
int ls_aho_addpattern(ls_aho_t *pThis, const char *pattern, size_t size,
void *pattern_ctx);
/** @ls_aho_addfromfile
@@ -195,9 +195,9 @@ int ls_aho_optimizetree(ls_aho_t *pThis);
* @see ls_aho_optimizetree
*/
unsigned int ls_aho_search(ls_aho_t *pThis,
ls_aho_state_t *start_state, const char *string,
ls_aho_state_t *start_state, const char *string,
size_t size, size_t startpos,
size_t *out_start, size_t *out_end,
size_t *out_start, size_t *out_end,
ls_aho_state_t **out_last_state, void **pattern_ctx);
ls_aho_t *ls_aho_copy(ls_aho_t *pThis);
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+4 -4
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -467,9 +467,9 @@ int ls_hash_foreach2(ls_hash_t *pThis,
void *pUData);
void ls_hash_release_objects(ls_hash_t *pThis,
void (*release_object)(void *pKey, void *pData,
void *ctx),
void ls_hash_release_objects(ls_hash_t *pThis,
void (*release_object)(void *pKey, void *pData,
void *ctx),
void *ctx);
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+4 -4
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -112,11 +112,11 @@ char *ls_pdupstr(const char *p);
* @ls_preserve
* @brief Changes the size of a block of memory allocated
* from the global memory pool.
* @details If new_sz is equal or smaller than the current
* @details If new_sz is equal or smaller than the current
* memory block size, the old memory block wont be changed.
* If the memory size is increasing, the contents will NOT be copied to new
* memory block, if need to keep old content unchanged, use ls_prealloc
* instead.
* memory block, if need to keep old content unchanged, use ls_prealloc
* instead.
* If the current pointer \e pOld argument is NULL, ls_preserve effectively
* becomes ls_palloc to allocate new memory.
*
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+8 -8
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -225,7 +225,7 @@ void Adns::release(AdnsReq *pReq)
return;
if (--pReq->ref_count == 0)
{
//fprintf(stderr, "release AdnsReq %p\n", pReq);
//fprintf(stderr, "release AdnsReq %p\n", pReq);
delete pReq;
}
}
@@ -341,8 +341,8 @@ void Adns::getHostByAddrCb(struct dns_ctx *ctx, struct dns_rr_ptr *rr, void *par
if (pAdnsReq->cb && pAdnsReq->arg)
pAdnsReq->cb(pAdnsReq->arg, n, p);
//else
// fprintf(stderr, "AdnsReq %p for %s skip callback, cb: %p, arg: %p\n",
// pAdnsReq, pAdnsReq->name, pAdnsReq->cb, pAdnsReq->arg);
// fprintf(stderr, "AdnsReq %p for %s skip callback, cb: %p, arg: %p\n",
// pAdnsReq, pAdnsReq->name, pAdnsReq->cb, pAdnsReq->arg);
if (rr)
free(rr);
@@ -372,7 +372,7 @@ const char *Adns::getHostByNameInCache(const char * pName, int &length,
}
AdnsReq *Adns::getHostByName(const char * pName, int type,
AdnsReq *Adns::getHostByName(const char * pName, int type,
lookup_pf cb, void *arg)
{
dns_query * pQuery;
@@ -380,8 +380,8 @@ AdnsReq *Adns::getHostByName(const char * pName, int type,
AdnsReq *pAdnsReq = new AdnsReq;
if (!pAdnsReq)
return NULL;
//fprintf(stderr, "AdnsReq %p created for getHostByName %s\n",
// pAdnsReq, pName);
//fprintf(stderr, "AdnsReq %p created for getHostByName %s\n",
// pAdnsReq, pName);
pAdnsReq->type = type;
pAdnsReq->name = getCacheName(pName, type);
pAdnsReq->cb = cb;
@@ -441,7 +441,7 @@ AdnsReq * Adns::getHostByAddr(const struct sockaddr * pAddr, void *arg, lookup_p
if (!pAdnsReq)
return NULL;
//fprintf(stderr, "AdnsReq %p created for getHostByAddr\n", pAdnsReq);
//fprintf(stderr, "AdnsReq %p created for getHostByAddr\n", pAdnsReq);
int type = pAddr->sa_family;
pAdnsReq->type = type;
int length;
+5 -5
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -121,7 +121,7 @@ public:
static int deleteCache();
void trimCache();
char *getCacheName(const char *pName, int type);
const char *getCacheValue(const char * pName, int nameLen, int &valLen,
int max_ttl = 0);
@@ -135,10 +135,10 @@ public:
const char *getHostByAddrInCache(const struct sockaddr * pAddr,
int &length, int max_ttl = 0);
AdnsReq *getHostByAddr(const struct sockaddr * pAddr, void *arg, lookup_pf cb);
static int setResult(const struct sockaddr *result, const void *ip, int len);
static void release(AdnsReq *pReq);
int handleEvents(short events);
int onTimer();
@@ -148,7 +148,7 @@ public:
static int getHostByNameV6Sync(const char *pName, in6_addr *addr);
void checkCacheTTL();
void processPendingEvt()
{}
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+4 -4
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -42,7 +42,7 @@ public:
typedef int (*pri_handler)();
typedef void (*command_fn)(EventReactor *pThis);
EventReactor()
EventReactor()
: m_cntHup(0)
, m_eventSet(0)
, m_flags(0)
@@ -87,10 +87,10 @@ public:
void clearRevent() { m_pollfd.revents = 0; }
void assignRevent(short event) { m_pollfd.revents = event;}
short getAssignedRevent() { return m_pollfd.revents; }
void updateEventSet() { m_eventSet = m_pfd->events; }
int isApplyEvents() const { return m_eventSet != m_pfd->events; }
void addFlag(unsigned short flag) { m_flags |= flag; }
void removeFlag(unsigned short flag){ m_flags &= ~flag; }
unsigned short getEvtFlag() const { return m_flags; }
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+2 -2
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -400,6 +400,6 @@ void KQueuer::wantWrite(EventReactor *pHandler, int want)
}
#endif //defined(__FreeBSD__ ) || defined(__NetBSD__) || defined(__OpenBSD__)
#endif //defined(__FreeBSD__ ) || defined(__NetBSD__) || defined(__OpenBSD__)
//|| defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
+2 -2
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
@@ -89,7 +89,7 @@ public:
};
#endif //defined(__FreeBSD__ ) || defined(__NetBSD__) || defined(__OpenBSD__)
#endif //defined(__FreeBSD__ ) || defined(__NetBSD__) || defined(__OpenBSD__)
//|| defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
+1 -1
View File
@@ -1,6 +1,6 @@
/*****************************************************************************
* Open LiteSpeed is an open source HTTP server. *
* Copyright (C) 2013 - 2021 LiteSpeed Technologies, Inc. *
* Copyright (C) 2013 - 2022 LiteSpeed Technologies, Inc. *
* *
* This program is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *

Some files were not shown because too many files have changed in this diff Show More