Skip to content

Commit 4997c4e

Browse files
committed
Sync all changes in v1_4
1 parent 39958bd commit 4997c4e

File tree

159 files changed

+6893
-6120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+6893
-6120
lines changed

CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ SET (CMAKE_CXX_COMPILER "/usr/bin/clang++")
2323
set(MY_CMAKE_WARNING_FLAG " -Wall -Wextra -Wno-unused-parameter -fsanitize=address -fsanitize-recover=address -fno-omit-frame-pointer")
2424
#set(MY_CMAKE_WARNING_FLAG " -Wall -Wextra -Wno-unused-parameter")
2525
set(MY_CMAKE_POOL_FLAG " -DPOOL_TESTING -DUSE_VALGRIND")
26+
#set(MY_CMAKE_POOL_FLAG " -DPOOL_TESTING")
2627

2728
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${MY_CMAKE_WARNING_FLAG} ${MY_CMAKE_POOL_FLAG}")
2829
#set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} ${MY_CMAKE_WARNING_FLAG}")
@@ -65,7 +66,7 @@ add_definitions(-DUSE_IP2LOCATION)
6566

6667

6768
add_definitions(-DTEST_OUTPUT_PLAIN_CONF)
68-
add_definitions(-DLS_VG_DEBUG)
69+
#add_definitions(-DLS_VG_DEBUG)
6970
#add_definitions(-DDEBUG_POOL)
7071
add_definitions(-DOPENSSL_NO_CXX)
7172

addon/example/imgresize.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ static void *resizeImage(const char *buf, int bufLen, int width,
162162
int height, MyData *myData, int *size)
163163
{
164164

165-
char *ptr;
165+
char *ptr = NULL;
166166
gdImagePtr dest, src;
167167
if (myData->IMAGE_TYPE == HTTP_IMG_JPEG)
168168
src = gdImageCreateFromJpegPtr(bufLen, (void *)buf);
@@ -192,6 +192,9 @@ static void *resizeImage(const char *buf, int bufLen, int width,
192192
else if (myData->IMAGE_TYPE == HTTP_IMG_PNG)
193193
ptr = gdImagePngPtr(dest, size);
194194

195+
// Ron: and if NONE of the above are true?? returned
196+
// uninitialized ptr
197+
195198
return ptr;
196199
}
197200

autom4te.cache/requests

+213-213
Large diffs are not rendered by default.

dist/admin/html.open/lib/util/build_php/BuildConfig.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ public static function GetVersion($field)
2525

2626
case self::PHP_VERSION: return
2727
array(
28-
'7.1.9',
29-
'7.0.23',
28+
'7.1.11',
29+
'7.0.25',
3030
'5.6.31',
3131
'5.5.38',
3232
'5.4.45',

dist/admin/html.open/res/js/lst-app.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/admin/html.open/res/lang/ja-JP_msg.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@
7070
$_gmsg['btn_prev'] = '前へ';
7171
$_gmsg['btn_refresh'] = 'リフレッシュ';
7272
$_gmsg['btn_save'] = '保存';
73+
$_gmsg['btn_signin']='サインイン';
7374
$_gmsg['btn_view'] = '表示';
7475
$_gmsg['btn_yes'] = 'はい';
75-
$_gmsg['btn_signin']='サインイン';
7676

7777

7878
$_gmsg['note_collapsemenu'] = 'Collapseメニュー';

dist/admin/html.open/res/lang/ja-JP_tips.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@
624624

625625
$_tipsdb['verifyDepth'] = new DAttrHelp("検証の深さ", 'クライアントに有効な証明書がないと判断する前に、証明書の検証の深さを指定します。 デフォルトは "1"です。', '', 'ドロップダウンリストから選択', '');
626626

627-
$_tipsdb['vhEnableGzip'] = new DAttrHelp("Enable Compression", 'Specifies whether to enable GZIP compression for this virtual host. This setting is only effective when GZIP compression is enabled at the server level. Compression settings are configured at the server level (Tuning > GZIP).', '', 'ラジオボックスから選択', '');
627+
$_tipsdb['vhEnableGzip'] = new DAttrHelp("GZIPを有効にする", 'このバーチャルホストに対してGZIP圧縮を有効にするかどうかを指定します。 この設定は、サーバーレベルでGZIP圧縮が有効になっている場合にのみ有効です。 圧縮設定はサーバーレベルで設定されます(チューニング> GZIP)。', '', 'ラジオボックスから選択', '');
628628

629629
$_tipsdb['vhMaxKeepAliveReq'] = new DAttrHelp("最大キープアライブ要求", 'キープアライブ(永続的)接続を介して提供できる最大要求を特定します。 この制限に達すると接続が閉じられます。 バーチャルホストごとに異なる制限を指定できます。 この数値は、サーバーレベルの"最大キープアライブ要求"の制限を超えることはできません。', '[パフォーマンス]合理的に高い値に設定します。 「1」以下の値を指定すると、キープアライブ接続が無効になります。', '整数', '');
630630

dist/admin/html.open/res/lang/zh-CN_tips.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@
624624

625625
$_tipsdb['verifyDepth'] = new DAttrHelp("Verify Depth", ' Specifies how deeply a certificate should be verified before determining that the client does not have a valid certificate. The default is "1".', '', 'Select from drop down list', '');
626626

627-
$_tipsdb['vhEnableGzip'] = new DAttrHelp("Enable Compression", 'Specifies whether to enable GZIP compression for this virtual host. This setting is only effective when GZIP compression is enabled at the server level. Compression settings are configured at the server level (Tuning > GZIP).', '', 'Select from radio box', '');
627+
$_tipsdb['vhEnableGzip'] = new DAttrHelp("启用GZIP", '指定是否启用此虚拟主机的gzip压缩功能。 这项设置只有在服务器级别的GZIP压缩功能启用时才有效。 在服务器级别开启压缩的情况下,可以通过此选项关闭本虚拟主机的压缩。 压缩设置是在服务器级别配置的(在Tuning-GZIP选项中)。', '', '布尔值', '');
628628

629629
$_tipsdb['vhMaxKeepAliveReq'] = new DAttrHelp("最大Keep-Alive请求数", '指定通过keep-alive(永久)连接服务的最大请求数量。当该限制值达到时连接将被断开。你可以为不同虚拟主机设置不同的数值。这个数值不能超过服务器级别的"最大持续连接请求数"限制值。', '[性能建议] 设置为一个合理的高数值。设置为1或比1更小的值将禁用keep-alive连接。', '无符号整数', '');
630630

dist/bin/lswsctrl

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
# resolve links - $0 may be a softlink
44
PROG="$0"
@@ -13,8 +13,8 @@ BASE_DIR=`dirname "$PROG"`
1313
cd "$BASE_DIR"
1414
BASE_DIR=`pwd`
1515

16-
if [ -f ./lsws_env ] ; then
17-
source ./lsws_env
16+
if [ -f "$BASE_DIR"/lsws_env ] ; then
17+
source "$BASE_DIR"/lsws_env
1818
fi
1919

2020
# if the lsws_env is empty or not exist, still need to set the default values

dist/conf/httpd_config.conf.in

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# PLAIN TEXT CONFIGURATION FILE
33
#
44

5+
#It not set, will use host name as serverName
56
serverName
67
user %USER%
78
group %GROUP%

dist/docs/ja-JP/Rewrite_Help.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h5 class="ls-text-muted">Version 1.4 &nbsp;&#8212;&nbsp;Rev. 3 </h5>
7979
</ul>
8080
</div>
8181
</aside>
82-
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">&#171 <a href="VHSSL_Help.html">バーチャルホストSSL</a></div><div class="center"><a href="config.html">設定</a></div><div class="next"><a href="Context_Help.html">コンテキスト</a> &#187;</div></div>
82+
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">&#171 <a href="VHSSL_Help.html">Virtual Host SSL</a></div><div class="center"><a href="config.html">設定</a></div><div class="next"><a href="Context_Help.html">コンテキスト</a> &#187;</div></div>
8383
<h1>Rewrite</h1><h2 id="top">目次</h2><section class="toc"><section class="toc-row"><header>Rewrite制御</header><p>
8484
<a href="#enableRewrite">Rewriteを有効にする</a> | <a href="#rewriteLogLevel">ログレベル</a></p></section>
8585
<section class="toc-row"><header>Rewriteマップ</header><p>

dist/docs/ja-JP/VHGeneral_Help.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ <h5 class="ls-text-muted">Version 1.4 &nbsp;&#8212;&nbsp;Rev. 3 </h5>
8181
</aside>
8282
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">&#171 <a href="VirtualHosts_Help.html">バーチャルホストの基本</a></div><div class="center"><a href="config.html">設定</a></div><div class="next"><a href="VHSecurity_Help.html">バーチャルホストのセキュリティ</a> &#187;</div></div>
8383
<h1>バーチャルホストの一般</h1><h2 id="top">目次</h2><section class="toc"><section class="toc-row"><header>一般</header><p>
84-
<a href="#docRoot">ドキュメントルート</a> | <a href="#vhadminEmails">管理者用電子メール</a> | <a href="#vhEnableGzip">Enable Compression</a> | <a href="#enableIpGeo">IPジオロケーションを有効にする</a></p></section>
84+
<a href="#docRoot">ドキュメントルート</a> | <a href="#vhadminEmails">管理者用電子メール</a> | <a href="#vhEnableGzip">GZIPを有効にする</a> | <a href="#enableIpGeo">IPジオロケーションを有効にする</a></p></section>
8585
<section class="toc-row"><header>バーチャルホストログ</header><p>
8686
<a href="#logUseServer">サーバーのログを使用する</a> | <a href="#vhlog_fileName">File Name</a> | <a href="#vhlog_logLevel">ログレベル</a> | <a href="#log_rollingSize">ローテーションサイズ(バイト)</a></p></section>
8787
<section class="toc-row"><header>アクセスログ</header><p>
@@ -101,7 +101,7 @@ <h1>バーチャルホストの一般</h1><h2 id="top">目次</h2><section class
101101
</section>
102102
<section><div class="helpitem"><article class="ls-helpitem"><div><header id="docRoot"><h3>ドキュメントルート<span class="ls-permlink"><a href="#docRoot"></a></span><span class="top"><a href="#top">&#8657;</a></span></h3></header></div><h4>説明</h4><p>このバーチャルホストのドキュメントルートを指定します。 <span class="val">$VH_ROOT/html</span>をお勧めします。 このディレクトリは、コンテキストでは$DOC_ROOTと呼ばれます。</p> <h4>構文</h4><p>絶対パスか$SERVER_ROOTからの相対パス又は$VH_ROOTからの相対パス。</p> </article> </div>
103103
<div class="helpitem"><article class="ls-helpitem"><div><header id="vhadminEmails"><h3>管理者用電子メール<span class="ls-permlink"><a href="#vhadminEmails"></a></span><span class="top"><a href="#top">&#8657;</a></span></h3></header></div><h4>説明</h4><p>このバーチャルホストの管理者の電子メールアドレスを指定します。</p> <h4>構文</h4><p>電子メールアドレスのカンマ区切りリスト</p> </article> </div>
104-
<div class="helpitem"><article class="ls-helpitem"><div><header id="vhEnableGzip"><h3>Enable Compression<span class="ls-permlink"><a href="#vhEnableGzip"></a></span><span class="top"><a href="#top">&#8657;</a></span></h3></header></div><h4>説明</h4><p>Specifies whether to enable GZIP compression for this virtual host. This setting is only effective when GZIP compression is enabled at the server level. Compression settings are configured at the server level (Tuning > GZIP).</p> <h4>構文</h4><p>ラジオボックスから選択</p> <h4>参照</h4><p class="ls-text-small"><span class="tagl"><a href="ServTuning_Help.html#enableGzipCompress">圧縮を有効にする</a></span>, <span class="tagl"><a href="ServTuning_Help.html#enableBrCompress">Enable Brotli Compression</a></span></p> </article> </div>
104+
<div class="helpitem"><article class="ls-helpitem"><div><header id="vhEnableGzip"><h3>GZIPを有効にする<span class="ls-permlink"><a href="#vhEnableGzip"></a></span><span class="top"><a href="#top">&#8657;</a></span></h3></header></div><h4>説明</h4><p>このバーチャルホストに対してGZIP圧縮を有効にするかどうかを指定します。 この設定は、サーバーレベルでGZIP圧縮が有効になっている場合にのみ有効です。 圧縮設定はサーバーレベルで設定されます(チューニング> GZIP)。</p> <h4>構文</h4><p>ラジオボックスから選択</p> <h4>参照</h4><p class="ls-text-small"><span class="tagl"><a href="ServTuning_Help.html#enableGzipCompress">圧縮を有効にする</a></span>, <span class="tagl"><a href="ServTuning_Help.html#enableBrCompress">Enable Brotli Compression</a></span></p> </article> </div>
105105
<div class="helpitem"><article class="ls-helpitem"><div><header id="enableIpGeo"><h3>IPジオロケーションを有効にする<span class="ls-permlink"><a href="#enableIpGeo"></a></span><span class="top"><a href="#top">&#8657;</a></span></h3></header></div><h4>説明</h4><p> IPジオロケーション検索を有効/無効にするかどうかを指定します。 サーバ、バーチャルホスト、コンテキストレベルで設定できます。 値 「未設定」を使用すると、IPジオロケーションはデフォルトで無効になります。</p> <h4>構文</h4><p>ラジオボックスから選択</p> <h4>参照</h4><p class="ls-text-small"><span class="tagl"><a href="ServGeneral_Help.html#useIpInProxyHeader">ヘッダーにクライアントIPを使用する</a></span>, <span class="tagl"><a href="ServGeneral_Help.html#geoipDBFile">DBファイルのパス</a></span>, <span class="tagl"><a href="ServGeneral_Help.html#geoipDBCache">DBキャッシュタイプ</a></span></p> </article> </div>
106106
<div class="helpitem"><article class="ls-helpitem"><div><header id="logUseServer"><h3>サーバーのログを使用する<span class="ls-permlink"><a href="#logUseServer"></a></span><span class="top"><a href="#top">&#8657;</a></span></h3></header></div><h4>説明</h4><p>独自のログファイルを作成するのではなく、このバーチャルホストからのログメッセージをサーバーログファイルに入れるかどうかを指定します。</p> <h4>構文</h4><p>ラジオボックスから選択</p> </article> </div>
107107
<div class="helpitem"><article class="ls-helpitem"><div><header id="vhlog_fileName"><h3>File Name<span class="ls-permlink"><a href="#vhlog_fileName"></a></span><span class="top"><a href="#top">&#8657;</a></span></h3></header></div><h4>説明</h4><p>ログファイルのパスを指定します。</p> <h4>構文</h4><p>ファイル名への絶対パス又は$SERVER_ROOT、$VH_ROOTからの相対パス。</p> <h4>ヒント</h4><p>[パフォーマンス]ログファイルを別のディスクに配置します。</p> </article> </div>

dist/docs/ja-JP/VHSSL_Help.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<head>
33
<meta charset="utf-8" />
44
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
5-
<title>Open LiteSpeed Web Serverユーザーズマニュアル - バーチャルホストSSL</title>
6-
<meta name="description" content="Open LiteSpeed Web Serverユーザーズマニュアル - バーチャルホストSSL." />
5+
<title>Open LiteSpeed Web Serverユーザーズマニュアル - Virtual Host SSL</title>
6+
<meta name="description" content="Open LiteSpeed Web Serverユーザーズマニュアル - Virtual Host SSL." />
77
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
88
<link rel="shortcut icon" href="../img/favicon.ico" />
99
<link rel="stylesheet" type="text/css" href="../css/hdoc.css">
@@ -80,7 +80,7 @@ <h5 class="ls-text-muted">Version 1.4 &nbsp;&#8212;&nbsp;Rev. 3 </h5>
8080
</div>
8181
</aside>
8282
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">&#171 <a href="VHSecurity_Help.html">バーチャルホストのセキュリティ</a></div><div class="center"><a href="config.html">設定</a></div><div class="next"><a href="Rewrite_Help.html">Rewrite</a> &#187;</div></div>
83-
<h1>バーチャルホストSSL</h1><h2 id="top">目次</h2><section class="toc"><section class="toc-row"><header><a href="#sslCert">SSL秘密鍵と証明書</a></header><p>
83+
<h1>Virtual Host SSL</h1><h2 id="top">目次</h2><section class="toc"><section class="toc-row"><header><a href="#sslCert">SSL秘密鍵と証明書</a></header><p>
8484
<a href="#keyFile">秘密鍵ファイル</a> | <a href="#certFile">証明書ファイル</a> | <a href="#certChain">チェーン証明書</a> | <a href="#CACertPath">CA証明書パス</a> | <a href="#CACertFile">CA証明書ファイル</a></p></section>
8585
<section class="toc-row"><header><a href="#sslProtocolSetting">SSLプロトコル</a></header><p>
8686
<a href="#sslProtocol">プロトコルバージョン</a> | <a href="#ciphers">暗号</a> | <a href="#enableECDHE">ECDH鍵交換を有効にする</a> | <a href="#enableDHE">DHキー交換を有効にする</a> | <a href="#DHParam">DHパラメータ</a></p></section>

dist/docs/ja-JP/VHSecurity_Help.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h5 class="ls-text-muted">Version 1.4 &nbsp;&#8212;&nbsp;Rev. 3 </h5>
7979
</ul>
8080
</div>
8181
</aside>
82-
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">&#171 <a href="VHGeneral_Help.html">バーチャルホストの一般</a></div><div class="center"><a href="config.html">設定</a></div><div class="next"><a href="VHSSL_Help.html">バーチャルホストSSL</a> &#187;</div></div>
82+
<article class="contentwrapper ls-col-3-5 clearfix"><div class="nav-bar ls-spacer-micro-top"><div class="prev">&#171 <a href="VHGeneral_Help.html">バーチャルホストの一般</a></div><div class="center"><a href="config.html">設定</a></div><div class="next"><a href="VHSSL_Help.html">Virtual Host SSL</a> &#187;</div></div>
8383
<h1>バーチャルホストのセキュリティ</h1><h2 id="top">目次</h2><section class="toc"><section class="toc-row"><header><a href="#accessControl">アクセス制御</a></header><p>
8484
<a href="#accessControl_allow">許可リスト</a> | <a href="#accessControl_deny">拒否リスト</a></p></section>
8585
<section class="toc-row"><header><a href="#realms">認可レルム</a></header><p>

0 commit comments

Comments
 (0)