• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

UltraMonkey-L7 V3(multi-thread implementation)


Commit MetaInfo

修訂e4a1350be2b266142dbb63ce3f30d019d1aae42c (tree)
時間2010-10-08 17:38:45
作者6638678 <6638678@1ed6...>
Commiter6638678

Log Message

bug fix

git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10359 1ed66053-1c2d-0410-8867-f7571e6e31d3

Change Summary

差異

--- a/test/script/l7directord/l7directord-1-2-44-2.sh
+++ b/test/script/l7directord/l7directord-1-2-44-2.sh
@@ -3,7 +3,7 @@
33 \cp ./materials/l7directord-1-2-44-l7directord.cf ${L7DIRECTORD_CONF_DIR}/l7directord.cf
44
55 #test l7directord config file
6-RET=`$L7DIRECTORD -t"`
6+RET=`$L7DIRECTORD -t`
77 if [ $? -ne 0 ]
88 then
99 echo "Test failed: $L7DIRECTORD -t"
--- a/test/script/l7directord/l7directord-1-2-48-2.sh
+++ b/test/script/l7directord/l7directord-1-2-48-2.sh
@@ -3,7 +3,7 @@
33 \cp ./materials/l7directord-1-2-48-l7directord.cf ${L7DIRECTORD_CONF_DIR}/specified.cf
44
55 #test l7directord config file
6-RET=`$L7DIRECTORD -t ${L7DIRECTORD_CONF_DIR}/specified.cf"`
6+RET=`$L7DIRECTORD -t ${L7DIRECTORD_CONF_DIR}/specified.cf`
77 if [ $? -ne 0 ]
88 then
99 echo "Test failed: $L7DIRECTORD -t ${L7DIRECTORD_CONF_DIR}/specified.cf"
--- a/test/script/l7directord/l7directord-5-3-5.sh
+++ b/test/script/l7directord/l7directord-5-3-5.sh
@@ -31,7 +31,7 @@ then
3131 exit 1
3232 fi
3333
34-RET=`cat ${L7VS_LOG_DIR}/l7directord.log | grep "\[ERR0303\] Failed to command .$L7VSADM -A -t 127.0.0.1:50001 -m ip --foo -s wrr -u 0 -b 0.0.0.0:0 -Q 0 -q 0 2>&1. with return: 65280"`
34+RET=`cat ${L7VS_LOG_DIR}/l7directord.log | grep "\[ERR0303\] Failed to command ./usr/sbin/l7vsadm -A -t 127.0.0.1:50001 -m ip --foo -s wrr -u 0 -b 0.0.0.0:0 -Q 0 -q 0 2>&1. with return: 65280"`
3535 if [ -z "${RET}" ]
3636 then
3737 echo "Test failed: cat ${L7VS_LOG_DIR}/l7directord.log"
@@ -45,35 +45,4 @@ then
4545 exit 1
4646 fi
4747
48-
49-##########
50-RET=`cat ${L7VS_LOG_DIR}/l7directord.log | grep "\[ERR0303\] Failed to command .$L7VSADM -A -t 127.0.0.1:50002 -m sslid -foo -s lc -u 0 -b 0.0.0.0:0 -Q 0 -q 0 2>&1' with return: 65280"`
51-if [ -z "${RET}" ]
52-then
53- echo "Test failed: cat ${L7VS_LOG_DIR}/l7directord.log"
54- exit 1
55-fi
56-
57-RET=`cat ${L7VS_LOG_DIR}/l7directord.log | grep "\[ERR0201\] Failed to add virtual service to l7vsd: .127.0.0.1:50002 sslid ', output: .PARSE ERROR: protocol module argument error(--proto-module): Option error.'"`
58-if [ -z "${RET}" ]
59-then
60- echo "Test failed: cat ${L7VS_LOG_DIR}/l7directord.log"
61- exit 1
62-fi
63-
64-###########33
65-RET=`cat ${L7VS_LOG_DIR}/l7directord.log | grep "\[ERR0303\] Failed to command .$L7VSADM -A -t 127.0.0.1:50003 -m sessionless --foo -s rr -u 0 -b 0.0.0.0:0 -Q 0 -q 0 2>&1' with return: 65280"`
66-if [ -z "${RET}" ]
67-then
68- echo "Test failed: cat ${L7VS_LOG_DIR}/l7directord.log"
69- exit 1
70-fi
71-
72-RET=`cat ${L7VS_LOG_DIR}/l7directord.log | grep "\[ERR0201\] Failed to add virtual service to l7vsd: .127.0.0.1:50003 sessionless ', output: .PARSE ERROR: protocol module argument error(--proto-module): Option error.'"`
73-if [ -z "${RET}" ]
74-then
75- echo "Test failed: cat ${L7VS_LOG_DIR}/l7directord.log"
76- exit 1
77-fi
78-
7948 exit 0
--- a/test/script/l7directord/materials/l7directord-help.txt
+++ b/test/script/l7directord/materials/l7directord-help.txt
@@ -42,7 +42,7 @@ OOPPTTIIOONNSS
4242 This is the name for the configuration as specified in the file
4343 //eettcc//hhaa..dd//ccoonnff//_c_o_n_f_i_g_u_r_a_t_i_o_n
4444
45- --dd Don’t start as daemon. Useful for debugging.
45+ --dd Don't start as daemon. Useful for debugging.
4646
4747 --hh Help. Print user manual of l7directord.
4848
@@ -158,7 +158,7 @@ SSYYNNTTAAXX
158158
159159 llooggffiillee == ""_/_p_a_t_h_/_t_o_/_l_o_g_f_i_l_e""|syslog_facility
160160 An alternative logfile might be specified with this directive. If
161- the logfile does not have a leading ’/’, it is assumed to be a
161+ the logfile does not have a leading '/', it is assumed to be a
162162 _s_y_s_l_o_g(3) facility name.
163163
164164 The default is to log directly to the file
@@ -210,7 +210,7 @@ SSYYNNTTAAXX
210210 Indicates the module parameter of ll77ddiirreeccttoorrdd. Here pprroottoo--mmoodduullee
211211 denotes the protocol module name (For example, pfilter). mmoodduullee--
212212 aarrggss denotes the arguments for the protocol module (For example,
213- --pattern-match ’*.html*’). mmoodduullee--aarrggss is optional only when set
213+ --pattern-match '*.html*'). mmoodduullee--aarrggss is optional only when set
214214 sseessssiioonnlleessss, iipp and sssslliidd module to pprroottoo--mmoodduullee. The last
215215 argument is optional (For example, --reschedule).
216216
@@ -292,8 +292,8 @@ SSYYNNTTAAXX
292292 regexp may be overridden by an optional per real-server based
293293 receive regexp.
294294
295- For a DNS check this should be any one the A record’s addresses or
296- any one of the PTR record’s names.
295+ For a DNS check this should be any one the A record's addresses or
296+ any one of the PTR record's names.
297297
298298 For a MySQL check, the receive setting is not used.
299299
@@ -346,15 +346,15 @@ SSYYNNTTAAXX
346346
347347 rreeaallddoowwnnccaallllbbaacckk == ""_/_p_a_t_h_/_t_o_/_r_e_a_l_d_o_w_n_c_a_l_l_b_a_c_k""
348348 If this directive is defined, ll77ddiirreeccttoorrdd automatically calls the
349- executable _/_p_a_t_h_/_t_o_/_r_e_a_l_d_o_w_n_c_a_l_l_b_a_c_k after a real server’s status
349+ executable _/_p_a_t_h_/_t_o_/_r_e_a_l_d_o_w_n_c_a_l_l_b_a_c_k after a real server's status
350350 changes to down. The first argument to the realdowncallback is the
351- real server’s IP-address and port (ip_address:portnumber).
351+ real server's IP-address and port (ip_address:portnumber).
352352
353353 rreeaallrreeccoovveerrccaallllbbaacckk == ""_/_p_a_t_h_/_t_o_/_r_e_a_l_r_e_c_o_v_e_r_c_a_l_l_b_a_c_k""
354354 If this directive is defined, ll77ddiirreeccttoorrdd automatically calls the
355- executable _/_p_a_t_h_/_t_o_/_r_e_a_l_r_e_c_o_v_e_r_c_a_l_l_b_a_c_k after a real server’s
355+ executable _/_p_a_t_h_/_t_o_/_r_e_a_l_r_e_c_o_v_e_r_c_a_l_l_b_a_c_k after a real server's
356356 status changes to up. The first argument to the realrecovercallback
357- is the real server’s IP-address and port (ip_address:portnumber).
357+ is the real server's IP-address and port (ip_address:portnumber).
358358
359359 ccuussttoommcchheecckk == ""_c_u_s_t_o_m _c_h_e_c_k _c_o_m_m_a_n_d""
360360 If this directive is defined and set cchheecckkttyyppee to custom,
@@ -450,4 +450,4 @@ AAUUTTHHOORRSS
450450
451451
452452
453-perl v5.10.1 2010-10-07 L7DIRECTORD(1)
453+perl v5.10.1 2010-10-08 L7DIRECTORD(1)
--- a/test/script/l7vsadm/l7vsadm-1-1-2.sh
+++ b/test/script/l7vsadm/l7vsadm-1-1-2.sh
@@ -23,7 +23,7 @@ then
2323 exit 1
2424 fi
2525
26-if [ $((TIME1 + 4)) -ne $TIME2 ]
26+if [ $((TIME1 + 4)) -gt $TIME2 ]
2727 then
2828 echo "Test failed: flock -n -x $L7VSADM l7vsadm"
2929 exit 1
--- a/test/script/l7vsadm/l7vsadm-4-1-20.sh
+++ b/test/script/l7vsadm/l7vsadm-4-1-20.sh
@@ -80,7 +80,7 @@ Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
8080 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
8181 TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0
8282 Bypass Settings:
83- Sorry Server 127.0.0.1:50001
83+ Sorry Server 127.0.0.1:50001 Masq
8484 Max Connection 0
8585 Sorry Flag off
8686 SSL Settings:
--- a/test/script/virtualservice/virtualservice-1.sh
+++ b/test/script/virtualservice/virtualservice-1.sh
@@ -82,20 +82,20 @@ Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
8282 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
8383 TCP localhost:40001 sessionless wrr --sorry-uri '/' --statistic 0
8484 Bypass Settings:
85- Sorry Server localhost:50001
85+ Sorry Server localhost:50001 Masq
8686 Max Connection 10
8787 Sorry Flag off
8888 SSL Settings:
8989 SSL Config File none
9090 Logging Settings:
9191 Access Log on
92- Access Log File deferaccept,cork,quickackoff,nodelay
92+ Access Log File /var/log/l7vs/l7vsd_conn.log
9393 Access Log Rotate --ac-rotate-type size --ac-rotate-max-backup-index 12 --ac-rotate-max-filesize 1M
9494 Socket Settings:
9595 TCP_DEFER_ACCEPT enable
9696 TCP_NODELAY enable
9797 TCP_CORK enable
98- TCP_QUICKACK enable
98+ TCP_QUICKACK disable
9999 Throughput:
100100 Current Upload / Limit 0.000000 Mbps / 800.000000 Mbps
101101 Current Download / Limit 0.000000 Mbps / 800.000000 Mbps
--- a/test/script/virtualservice/virtualservice-12.sh
+++ b/test/script/virtualservice/virtualservice-12.sh
@@ -167,7 +167,7 @@ Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
167167 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
168168 TCP localhost:40001 ip lc --timeout 3600 --no-reschedule --sorry-uri '/' --statistic 0
169169 Bypass Settings:
170- Sorry Server localhost:50001
170+ Sorry Server localhost:50001 Masq
171171 Max Connection 200
172172 Sorry Flag off
173173 SSL Settings:
--- a/test/script/virtualservice/virtualservice-26.sh
+++ b/test/script/virtualservice/virtualservice-26.sh
@@ -82,7 +82,7 @@ Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
8282 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
8383 TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0
8484 Bypass Settings:
85- Sorry Server 127.0.0.1:50001
85+ Sorry Server 127.0.0.1:50001 Masq
8686 Max Connection 0
8787 Sorry Flag off
8888 SSL Settings:
--- a/test/script/virtualservice/virtualservice-27.sh
+++ b/test/script/virtualservice/virtualservice-27.sh
@@ -89,7 +89,7 @@ Prot LocalAddress:Port ProtoMod Scheduler Protomod_opt_string
8989 -> RemoteAddress:Port Forward Weight ActiveConn InactConn
9090 TCP 127.0.0.1:40001 sessionless rr --sorry-uri '/' --statistic 0
9191 Bypass Settings:
92- Sorry Server 127.0.0.1:50001
92+ Sorry Server 127.0.0.1:50001 Masq
9393 Max Connection 0
9494 Sorry Flag off
9595 SSL Settings: