OSDN Git Service

spell check by aspell
author0809216 <0809216@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Mon, 4 Oct 2010 08:53:30 +0000 (08:53 +0000)
committer0809216 <0809216@1ed66053-1c2d-0410-8867-f7571e6e31d3>
Mon, 4 Oct 2010 08:53:30 +0000 (08:53 +0000)
git-svn-id: http://10.144.169.20/repos/um/branches/l7vsd-3.x-ramiel-epoll-cond@10326 1ed66053-1c2d-0410-8867-f7571e6e31d3

323 files changed:
CHANGES
Makefile.am
doc/conf/l7directord.cf.sample
l7vsd.spec.in
l7vsd/include/appender_property.h
l7vsd/include/command_receiver.h
l7vsd/include/command_session.h
l7vsd/include/data_buff_base.h
l7vsd/include/error_code.h
l7vsd/include/l7vs_command.h
l7vsd/include/l7vsadm.h
l7vsd/include/lockfree_hashmap.h
l7vsd/include/lockfree_queue.h
l7vsd/include/logger.h
l7vsd/include/logger_access_manager.h
l7vsd/include/logger_enum.h
l7vsd/include/logger_impl.h
l7vsd/include/logger_implement_access.h
l7vsd/include/logger_logrotate_utility.h
l7vsd/include/mibdata.h
l7vsd/include/module_base.h
l7vsd/include/module_control_base.h
l7vsd/include/parameter.h
l7vsd/include/parameter_enum.h
l7vsd/include/parameter_impl.h
l7vsd/include/protocol_module_base.h
l7vsd/include/protocol_module_control.h
l7vsd/include/realserver_element.h
l7vsd/include/replication.h
l7vsd/include/schedule_module_base.h
l7vsd/include/schedule_module_control.h
l7vsd/include/session_thread_control.h
l7vsd/include/snmpagent.h
l7vsd/include/snmpagent_impl.h
l7vsd/include/snmpfunc.h
l7vsd/include/strict_time_based_rolling_policy.h
l7vsd/include/tcp_realserver_connect_socket_list.h
l7vsd/include/tcp_session.h
l7vsd/include/tcp_socket.h
l7vsd/include/tcp_ssl_socket.h
l7vsd/include/tcp_thread_message.h
l7vsd/include/udp_request.h
l7vsd/include/utility.h
l7vsd/include/virtualservice.h
l7vsd/include/virtualservice_element.h
l7vsd/include/wrlock.h
l7vsd/init.d/l7vsd
l7vsd/module/protocol/http_protocol_module_base.cpp
l7vsd/module/protocol/http_protocol_module_base.h
l7vsd/module/protocol/http_utility.cpp
l7vsd/module/protocol/http_utility.h
l7vsd/module/protocol/ip_protocol_module_base.h
l7vsd/module/protocol/ip_replication_data_processor.cpp
l7vsd/module/protocol/ip_session_data_processor.cpp
l7vsd/module/protocol/protocol_module_ip.cpp
l7vsd/module/protocol/protocol_module_sessionless.cpp
l7vsd/module/protocol/protocol_module_sslid.cpp
l7vsd/module/protocol/sslid_replication_data_processor.cpp
l7vsd/module/protocol/sslid_session_data_processor.cpp
l7vsd/module/schedule/schedule_module_lc.cpp
l7vsd/module/schedule/schedule_module_lc.h
l7vsd/module/schedule/schedule_module_rr.cpp
l7vsd/module/schedule/schedule_module_rr.h
l7vsd/module/schedule/schedule_module_wrr.cpp
l7vsd/module/schedule/schedule_module_wrr.h
l7vsd/src/command_receiver.cpp
l7vsd/src/command_session.cpp
l7vsd/src/l7vsadm.cpp
l7vsd/src/l7vsd.cpp
l7vsd/src/logger.cpp
l7vsd/src/logger_access_manager.cpp
l7vsd/src/logger_impl.cpp
l7vsd/src/logger_implement_access.cpp
l7vsd/src/logger_logrotate_utility.cpp
l7vsd/src/mibdata.cpp
l7vsd/src/parameter.cpp
l7vsd/src/parameter_impl.cpp
l7vsd/src/protocol_module_control.cpp
l7vsd/src/replication.cpp
l7vsd/src/schedule_module_control.cpp
l7vsd/src/session_thread_control.cpp
l7vsd/src/snmpagent.cpp
l7vsd/src/snmpagent_impl.cpp
l7vsd/src/snmpfunc.cpp
l7vsd/src/strict_time_based_rolling_policy.cpp
l7vsd/src/tcp_realserver_connect_socket_list.cpp
l7vsd/src/tcp_session.cpp
l7vsd/src/tcp_socket.cpp
l7vsd/src/tcp_ssl_socket.cpp
l7vsd/src/time_and_size_based_rolling_policy.cpp
l7vsd/src/virtualservice_base.cpp
l7vsd/src/virtualservice_tcp.cpp
l7vsd/src/virtualservice_udp.cpp
test/config/ultramonkey-l7/l7directord.cf
test/script/common/backup_file.sh
test/script/common/check_env.sh
test/script/common/collect_file.sh
test/script/common/lighttpd_func.sh
test/script/l7directord/l7directord-5-3-6.sh
test/script/l7directord/l7directord-5-3-9.sh
test/script/l7directord/materials/l7directord-5-1-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-1-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-1-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-10-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-11-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-12-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-13-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-14-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-15-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-16-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-17-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-18-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-7-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-8-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-1-9-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-7-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-10-8-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-10-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-11-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-12-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-13-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-14-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-15-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-16-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-17-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-18-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-7-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-8-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-12-9-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-13-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-13-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-13-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-13-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-13-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-7-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-8-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-14-9-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-15-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-15-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-15-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-15-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-15-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-15-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-16-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-16-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-16-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-16-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-16-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-16-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-10-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-11-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-12-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-13-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-14-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-7-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-8-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-17-9-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-18-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-18-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-18-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-18-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-18-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-18-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-19-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-19-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-19-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-10-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-7-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-8-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-2-9-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-20-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-20-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-20-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-20-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-20-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-21-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-21-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-21-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-21-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-22-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-22-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-22-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-23-qosdown-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-23-qosup-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-24-down-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-24-recover-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-3-1-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-3-2-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-3-3-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-4-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-5-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-6-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-8-l7directord.cf
test/script/l7directord/materials/l7directord-5-2-9-l7directord.cf
test/script/l7directord/materials/l7directord-5-3-7-l7directord.cf
test/script/l7directord/materials/l7directord-l7directord.cf
test/script/l7vsadm/l7vsadm-9-1-1.sh
test/script/l7vsadm/l7vsadm-9-1-2.sh
test/script/l7vsd/l7vsd-18-5.sh
test/script/l7vsd/l7vsd-18-6.sh
test/script/library-logger/logger-121.sh
test/script/library-logger/logger-142.sh
test/script/library-logger/logger-159.sh
test/script/library-logger/logger-42.sh
test/script/library-logger/logger-43.sh
test/script/library-logger/logger-44.sh
test/script/library-logger/logger-45.sh
test/script/library-logger/logger-46.sh
test/script/library-logger/logger-47.sh
test/script/library-logger/logger-48.sh
test/script/library-logger/logger-49.sh
test/script/library-logger/logger-50.sh
test/script/library-logger/logger-51.sh
test/script/library-logger/logger-52.sh
test/script/library-logger/logger-53.sh
test/script/library-logger/logger-54.sh
test/script/library-logger/logger-55.sh
test/script/library-logger/logger-56.sh
test/script/library-logger/logger-57.sh
test/script/library-logger/logger-58.sh
test/script/library-logger/logger-59.sh
test/script/library-logger/logger-60.sh
test/script/library-logger/logger-61.sh
test/script/library-logger/logger-62.sh
test/script/library-logger/logger-63.sh
test/script/library-logger/logger-64.sh
test/script/library-logger/logger-65.sh
test/script/library-logger/logger-66.sh
test/script/library-logger/logger-67.sh
test/script/library-logger/logger-68.sh
test/script/library-logger/logger-69.sh
test/script/library-logger/logger-70.sh
test/script/library-logger/logger-71.sh
test/script/library-logger/logger-99.sh
test/script/library-parameter/parameter-3.sh
test/script/library-parameter/parameter-39.sh
test/script/library-parameter/parameter-40.sh
test/script/library-parameter/parameter-41.sh
test/script/library-parameter/parameter-42.sh
test/script/library-parameter/parameter-43.sh
test/script/library-parameter/parameter-44.sh
test/script/library-parameter/parameter-45.sh
test/script/library-parameter/parameter-9.sh
test/script/module-protocol-ip/ip-11.sh
test/script/module-protocol-ip/ip-12.sh
test/script/module-protocol-ip/ip-2.sh
test/script/module-scheduler-lc/lc-7.sh
test/script/module-scheduler-lc/lc-8.sh
test/script/realserver/realserver-10.sh
test/script/realserver/realserver-11.sh
test/script/realserver/realserver-12.sh
test/script/realserver/realserver-13.sh
test/script/realserver/realserver-15.sh
test/script/realserver/realserver-16.sh
test/script/realserver/realserver-17.sh
test/script/realserver/realserver-18.sh
test/script/realserver/realserver-19.sh
test/script/realserver/realserver-20.sh
test/script/realserver/realserver-22.sh
test/script/realserver/realserver-23.sh
test/script/realserver/realserver-24.sh
test/script/realserver/realserver-9.sh
test/script/session/session-43.sh
test/script/session/session-44.sh
test/script/session/session-45.sh
test/script/session/session-46.sh
test/script/session/session-47.sh
test/script/session/session-48.sh
test/script/session/session-49.sh
test/script/session/session-50.sh
test/script/session/session-51.sh
test/script/session/session-52.sh
test/script/session/session-53.sh
test/script/session/session-54.sh
test/script/session/session-55.sh
test/script/session/session-56.sh
test/script/session/session-57.sh
test/script/session/session-58.sh
test/script/session/session-59.sh
test/script/session/session-60.sh
test/script/session/session-61.sh
test/script/session/session-62.sh
test/script/session/session-63.sh
test/script/session/session-64.sh
test/script/session/session-67.sh
test/umtest.sh
ultramonkeyl7.spec

diff --git a/CHANGES b/CHANGES
index 0d7eda5..017dc75 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,13 +1,13 @@
 [Sep. 06 2010] 3.0.0-0 Norihisa NAKAI, Hiromasa KANDA, LANG XIJIAN
-  - Implimented Multi-threading architecture using Boost::Asio and Boost::Thread library.
-  - Implimented IPv6 protocol logic.
-  - Implimented SorryURI support.
+  - Implemented Multi-threading architecture using Boost::Asio and Boost::Thread library.
+  - Implemented IPv6 protocol logic.
+  - Implemented SorryURI support.
   - Change protocol between l7vsadm and l7vsd from DGRAM to STREAM.
     And serialized stream data using Boost::Serializable.
   - Change protocol and schedule module architecture to module event driven model.
   - Fixed algorithm for logger. (Search Log mode logic added.)
   - Fixed algorithm for parameter. (Using boost algorithm template.)
-  - Implimented SNMPAgent function in l7vsd.
+  - Implemented SNMPAgent function in l7vsd.
 
 /*
     FIXME add other changes
 [Dec. 17 2008] 2.1.0-0 Shinya TAKEBAYASHI
   - Added option for FAST SCHEDULE to sessionless module
     Establishing connection when client connection was established.
-  - Implimented access logger ( CLIENT-DESTINATION mapping )
+  - Implemented access logger ( CLIENT-DESTINATION mapping )
   - Optimized event listener.
   - Fixed algorithms for some check type.
   - "Checkout" has been enabled.
   - Created "man" page.(Japanese(UTF-8) only ;))
-  - Implimented flow control logic(sever).
+  - Implemented flow control logic(sever).
   - Eliminated flow control logic(client).
 
 [May. 26 2008] 2.0.0-0 Shinya TAKEBAYASHI
   - Changed logger library( vanessa_logger -> log4cxx)
   - Implemented configuration function(using configuration file: /etc/l7vs\l7vs.cf)
-  - Implemented replication system(forHA clustering)
+  - Implemented replication system(for HA clustering)
   - Added new protocol module(sessionless - Layer-4 LB like module)
 
 [Dec. 11 2007] 1.0.0-1 Shinya TAKEBAYASHI
   - Implemented blocking mode switching function
 
 [Oct. 11 2007] 1.0.0-0 Shinya TAKEBAYASHI
-  - Change liblary from GLib1.2 to GLib2.0 (memory leak fix)
+  - Change library from GLib1.2 to GLib2.0 (memory leak fix)
   - Change from select() to epoll ET.
-  - Change bloking mode to non-blocking mode(recv() and send()).
+  - Change blocking mode to non-blocking mode(recv() and send()).
   - Change from service conn list to service conn hash.
   - Change from iomux-list to hash-map and available list.
   - Add QoS Control.
index 6962dbc..ed85c52 100644 (file)
@@ -1,7 +1,7 @@
 ######################################################################
 # Makefile                                                    Dec 2008
 #
-# UltraMonkey-L7: Linux Layer7 loadbarancer Server
+# UltraMonkey-L7: Linux Layer7 load balancing server
 # Copyright (C) 2008  NTT COMWARE Corporation.
 #
 # This program is free software; you can redistribute it and/or
index 771740c..d979496 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 192.168.0.50:80
        real = 192.168.0.51:80 masq 1
index cc1e7dc..967e414 100644 (file)
@@ -4,7 +4,7 @@
 %define _sysconfdir             /etc
 %define _localstatedir          /var
 
-Summary: UltraMonkey-l7 Layer7 software load brancer server
+Summary: UltraMonkey-l7 Layer7 software load balancing server
 Name: l7vsd
 Version: 3.0.0
 Release: 0
@@ -20,7 +20,7 @@ AutoReqProv: no
 #Requires:
 
 %description
-Layer7 load barancer server daemon that works with TCP/UDP barancing
+Layer7 load balancing server daemon that works with TCP/UDP balancing
 
 %prep
 rm -rf ${RPM_BUILD_ROOT}
@@ -32,7 +32,7 @@ rm -rf ${RPM_BUILD_ROOT}
 # will result in fewer portability problems than using the one supplied
 # by various vendours. I fear that I hope in vein.
 CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS
-if [ -f confgure.in ]; then
+if [ -f configure.in ]; then
        aclocal
        libtoolize --force --copy
        automake
@@ -64,7 +64,7 @@ make -j2
 #        ${RPM_BUILD_DIR}/%{name}-%{version}/etc/init.d/sslproxy.rh \
 #               ${RPM_BUILD_ROOT}/etc/init.d/sslproxy
 
-# Install eveything else
+# Install everything else
 #make DESTDIR=$RPM_BUILD_ROOT install
 
 mkdir -p $RPM_BUILD_ROOT%{_sbindir}
@@ -75,7 +75,7 @@ mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/l7vs/
 
 install -c -m 755 -D src/l7vsadm $RPM_BUILD_ROOT%{_sbindir}
 
-install -c -m 755 -D src/l7vsd $RPM_BUILD_ROOT%{_sibdir}
+install -c -m 755 -D src/l7vsd $RPM_BUILD_ROOT%{_sbindir}
 
 install -c -m 755 -D init.d/sslproxy $RPM_BUILD_ROOT%{_sysconfdir}/init.d
 
index 0690505..7cc974f 100644 (file)
@@ -14,18 +14,18 @@ struct appender_property {
         std::string     rotation_key;               //!< parameter rotation kind key
         LOG_ROTATION_TAG
         rotation_value;             //!< parameter rotation kind value
-        std::string     max_backup_index_key;       //!< parameter backup maximam number key
-        unsigned int    max_backup_index_value;     //!< parameter backup maximam number value
-        std::string     max_file_size_key;          //!< parameter maximam backup size key
+        std::string     max_backup_index_key;       //!< parameter backup maximum number key
+        unsigned int    max_backup_index_value;     //!< parameter backup maximum number value
+        std::string     max_file_size_key;          //!< parameter maximum backup size key
         unsigned long long
-        max_file_size_value;    //!< parameter maximam backup size value
+        max_file_size_value;    //!< parameter maximum backup size value
         std::string     rotation_timing_key;        //!< parameter rotation timing key
         LOG_ROTATION_TIMING_TAG
         rotation_timing_value;      //!< parameter rotation timing value
 
         std::string     rotation_timing_value_key;  //!< parameter rotation timing value key
         std::string     rotation_timing_value_value;//!< parameter rotation timing value value
-        appender_property() :                       //!< constractor
+        appender_property() :                       //!< constructor
                 rotation_value(LOG_ROT_SIZE),
                 max_backup_index_value(0),
                 max_file_size_value(0),
index 5745d48..64f9946 100644 (file)
@@ -44,9 +44,9 @@ protected:
         boost::asio::io_service                        &dispatcher;
         //! acceptor
         boost::asio::local::stream_protocol::acceptor    acceptor_;
-        //! l7vsd refference
+        //! l7vsd reference
         l7vsd                                            &vsd;
-        //! socketfile
+        //! socket file
         std::string                                sockfile;
 
         //!    @brief        accept handler
@@ -58,7 +58,7 @@ public:
         //!    @brief        constructor
         //!    @param[in]    io_service
         //!    @param[in]    socket file
-        //!    @param[in]    l7vsd refernce
+        //!    @param[in]    l7vsd reference
         command_receiver(boost::asio::io_service &, const std::string &, l7vsd &);
 
         //!    @brief        destructor
index db92eb9..0c3285f 100644 (file)
@@ -67,7 +67,7 @@ protected:
         l7vsadm_request            request_data;
         //!    l7vsd response data
         l7vsd_response            response_data;
-        //!    l7vsd refferecne
+        //!    l7vsd reference
         l7vsd                    &vsd;
         //!    command to handler map
         command_handler_map_type    command_handler_map;
@@ -97,10 +97,10 @@ protected:
 public:
         //!    @brief        constructor
         //!    @param[in]    io_service
-        //!    @param[in]    l7vsd refernce
+        //!    @param[in]    l7vsd reference
         command_session(boost::asio::io_service &, l7vsd &);
 
-        //!    @brief        return unixsocket
+        //!    @brief        return unix socket
         unixsocket_type    &socket() {
                 return unixsocket;
         }
index 923761a..2047700 100644 (file)
@@ -39,7 +39,7 @@ template< typename InternetProtocol >
 class data_buff_base : private boost::noncopyable
 {
 public:
-        //! construcor
+        //! constructor
         data_buff_base();
         //! destructor
         ~data_buff_base();
@@ -82,7 +82,7 @@ protected:
 
 
 
-//! construcor
+//! constructor
 template< typename InternetProtocol >
 data_buff_base< InternetProtocol >::data_buff_base()
 {
index dc3cf8c..2f74729 100644 (file)
@@ -1,6 +1,6 @@
 /*!
  *    @file    error_code.h
- *    @brief    error code and error messege impliment class
+ *    @brief    error code and error message implement class
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -35,11 +35,11 @@ namespace l7vs
 class    error_code
 {
 protected:
-        bool        flag;    //!<    errorcode flag
-        std::string    msg;    //!<    errorcode message
+        bool        flag;    //!<    error code flag
+        std::string    msg;    //!<    error code message
 public:
-        error_code() : flag(false) {}   //!< constractor
-        //! setter constractor
+        error_code() : flag(false) {}   //!< constructor
+        //! setter constructor
         //! @param[in]    flags
         //! @param[in]    error message
         error_code(const bool inflg, const std::string &instr) {
@@ -47,18 +47,18 @@ public:
                 msg = instr;
         }
         bool    operator==(const bool in)const {
-                return (flag == in);        //!< operator== orverload
+                return (flag == in);        //!< operator== overload
         }
         bool    operator!=(const bool in)const {
-                return (flag != in);        //!< operator!= orverload
+                return (flag != in);        //!< operator!= overload
         }
         bool    operator!() const {
-                return !flag;        //!< operator! orverload
+                return !flag;        //!< operator! overload
         }
         typedef void (*unspecified_bool_type)();    //!< if return function
-        static void unspecified_bool_true() {}        //!< if true orverload function
+        static void unspecified_bool_true() {}        //!< if true overload function
         operator unspecified_bool_type() const {
-                return flag == 0 ? 0 : unspecified_bool_true;        //!< if() orverload
+                return flag == 0 ? 0 : unspecified_bool_true;        //!< if() overload
         }
         const std::string    &get_message() const {
                 return msg;        //!< message getter
index 2ddfdf3..c45a95d 100644 (file)
@@ -82,7 +82,7 @@ public:
         LOG_LEVEL_TAG                log_level;                //!< use log level change mode target category log level
         PARAMETER_COMPONENT_TAG        reload_param;            //!< set reload param mode
         snmp_info            snmpinfo;
-        //! constractor
+        //! constructor
         l7vsadm_request() :            command(CMD_NONE),
                 replication_command(REP_NONE),
                 log_category(LOG_CAT_NONE),
@@ -169,16 +169,16 @@ public:
         replication::REPLICATION_MODE_TAG    replication_mode_status;//!< replication status.
 
         std::list< log_category_level_type >
-        log_status_list;    //!< log cateogries statuses.
+        log_status_list;    //!< log categories statuses.
 
         //bool                    snmp_connection_status;    //!< snmp connection status
 
         snmp_info   snmpinfo;
 
         unsigned long long        total_bps;                    //!< l7vsd's total bit par sec
-        unsigned long long        total_client_recv_byte;        //!< l7vsd's total client recive bytes
+        unsigned long long        total_client_recv_byte;        //!< l7vsd's total client receive bytes
         unsigned long long        total_client_send_byte;        //!< l7vsd's total client send bytes
-        unsigned long long        total_realserver_recv_byte;    //!< l7vsd's total realserver recive bytes
+        unsigned long long        total_realserver_recv_byte;    //!< l7vsd's total realserver receive bytes
         unsigned long long        total_realserver_send_byte;    //!< l7vsd's total realserver send bytes
         std::vector<virtualservice_element>
         virtualservice_vec;            //!< virtualservice lists
@@ -255,7 +255,7 @@ public:
 private:
         friend class    boost::serialization::access;        //! friend boost serializable class
         //! serializable
-        //! @brief using boost serialiable. class serializable function.
+        //! @brief using boost serializable. class serializable function.
         //! @param[in]    archive
         //! @param[in]    version
         template <class Archive > void serialize(Archive &ar, const unsigned int version) {
@@ -275,5 +275,5 @@ private:
         }
 };
 
-}    // namespase l7vsd
+}    // namespace l7vsd
 #endif    //L7COMMAND_H
index d775b68..c53340b 100644 (file)
@@ -277,7 +277,7 @@ protected:
         bool parse_opt_vs_fwdmode_func(int &, int, char*[]);
         //! virtualservice option qosupstream function
         bool parse_opt_vs_qosup_func(int &, int, char*[]);
-        //! virtualservice option qosdownstream functipn
+        //! virtualservice option qosdownstream function
         bool parse_opt_vs_qosdown_func(int &, int, char*[]);
         //! virtualservice option udp func.
         bool parse_opt_vs_udp_func(int &, int, char*[]);
@@ -388,7 +388,7 @@ protected:
         l7vsadm_request request; //!< send_request
         l7vsd_response response; //!< recv_response
 
-        // l7vsadm using datas.
+        // l7vsadm using data.
         bool numeric_flag; //!< numeric flag
         boost::asio::io_service io_service; //!< io_service
 
@@ -400,7 +400,7 @@ protected:
         int command_wait_count;
 
 public:
-        //! constractor
+        //! constructor
         l7vsadm();
 
         //! execute function
index 8aaa466..fa23df9 100644 (file)
@@ -31,7 +31,7 @@ public:
         typedef    Hash    hasher_type;
         hasher_type        hasher;
 
-        // constractor
+        // constructor
         lockfree_hashmap(size_t num = 65535, Hash inhasher = boost::hash< const Tkey * >()) :
                 element_num(num) {
                 hashmap = new container[element_num];
@@ -39,7 +39,7 @@ public:
                 __sync_lock_test_and_set(&counter, 0);
         }
 
-        // destractor
+        // destructor
         virtual    ~lockfree_hashmap() {
                 delete [] hashmap;
         }
@@ -79,7 +79,7 @@ public:
                 }
         }
 
-        //eracer
+        //eraser
         void    erase(const Tkey    *key) {
                 size_t    hashvalue = get_hashvalue(key);
                 for (;;) {
@@ -102,7 +102,7 @@ public:
                 __sync_lock_test_and_set(&counter, 0);
         }
 
-        //poper
+        //popper
         void    pop(Tkey*& key, Tvalue*& value) {
                 for (size_t i = 0 ; likely(i < element_num) ; ++i) {
                         if (unlikely(hashmap[i].key)) {
@@ -126,7 +126,7 @@ public:
                 return !counter;
         }
 
-        // functor
+        // functor XXX
         void    do_all(boost::function< void(Tvalue *) >    func) {
                 for (size_t    i = 0; likely(i < element_num) ; ++i) {
                         if (unlikely(hashmap[i].key)) {
@@ -140,7 +140,7 @@ private:
         size_t    get_hashvalue(const Tkey *key) {
                 return hasher(key) % element_num;
         }
-        //reget array number case of collision(method chain)
+        //re-get array number case of collision(method chain)
         size_t    get_rehashvalue(size_t &key) {
                 return ((key + 1) % element_num);
         }
index d3a7e73..c0bea45 100644 (file)
@@ -23,13 +23,13 @@ protected:
         volatile node_type        *node;
         const size_t            element_num;
 public:
-        // constractor
+        // constructor
         explicit lockfree_queue(size_t num = 65535) : counter(0), element_num(num) {
                 node = new node_type[element_num];
                 headloc = tailloc = 0;
         }
 
-        // destractor
+        // destructor
         ~lockfree_queue() {
                 delete [] node;
         }
@@ -55,7 +55,7 @@ start:
                 return true;
         }
 
-        //poper
+        //popper
         Tvalue *pop() {
                 size_t head, nexthead;
                 Tvalue *rtnvalue;
index d381afc..9354696 100644 (file)
@@ -33,7 +33,7 @@ namespace l7vs
 
 //! @class Logger
 //! @brief Logger creation class.
-//! @brief this class create Logger Inmlement class and mediate function.
+//! @brief this class create Logger Implement class and mediate function.
 class Logger
 {
 
@@ -48,8 +48,8 @@ public:
         //! default constructor creates implement class.
         Logger();
 
-        //! log output constractor
-        //! scoped log output( Logger destractor output log)
+        //! log output constructor
+        //! scoped log output( Logger destructor output log)
         //! @param[in]    Log output category tag
         //! @param[in]    log id
         //! @param[in]    log message
@@ -57,7 +57,7 @@ public:
         //! @param[in]    lineno        (=__LINE__)
         Logger(LOG_CATEGORY_TAG, const unsigned int, const std::string &, const char *, int);
 
-        //! destructor.(output log then use log output constractor)
+        //! destructor.(output log then use log output constructor)
         ~Logger();
 
         //! load Configuration.
@@ -77,14 +77,14 @@ public:
         //!    @param[in]    logcategory
         //!    @param[in]    loglevel
         //!    @return true    success loglevel change
-        //!    @return    false    failer loglevel change
+        //!    @return    false    fail loglevel change
         static bool setLogLevel(LOG_CATEGORY_TAG cat, LOG_LEVEL_TAG level);
 
         //! set all category's log level.
         //!    @param[in]    logcategory
         //!    @param[in]    loglevel
         //!    @return true    success loglevel change
-        //!    @return    false    failer loglevel change
+        //!    @return    false    frailer loglevel change
         static bool setLogLevelAll(LOG_LEVEL_TAG level);
 
         //! output fatal log.
index 90e7fc3..06f114b 100644 (file)
@@ -45,7 +45,7 @@
 namespace l7vs
 {
 
-//! @class Lologger_access_managergger
+//! @class logger_access_manager
 //! @brief logger_implement_access creation class.
 //! @brief this class create logger_implement_access and rotate check function.
 class logger_access_manager
@@ -65,7 +65,7 @@ public:
         accesslog_rotate_default_map_type_iterator;
 
         /*!
-         * initialze function.
+         * initialize function.
          *
          * @retrun  current instance.
          */
@@ -99,7 +99,7 @@ public:
          * log rotate parameter check function.
          *
          * @param   logrotation designation contents
-         * @retrun  false faild.
+         * @retrun  false failed.
          */
         bool access_log_logrotate_parameter_check(
                 const std::map<std::string, std::string>& rotatedata);
index a54ce4d..f5c2eba 100644 (file)
@@ -45,8 +45,8 @@ enum LOG_LEVEL_TAG    {
         LOG_LV_FATAL        //!< loglevel is fatal
 };
 
-//! loglevel enum incliment function
-//! @param[in]    logleveltag refarence
+//! loglevel enum increment function
+//! @param[in]    logleveltag reference
 //!    @return        logleveltag reference
 inline LOG_LEVEL_TAG &operator++(LOG_LEVEL_TAG &level)
 {
@@ -69,13 +69,13 @@ enum LOG_CATEGORY_TAG {
         LOG_CAT_L7VSD_SESSION,                    //!< logcategory is session
         LOG_CAT_L7VSD_SESSION_THREAD,            //!< logcategory is session thread
         LOG_CAT_L7VSD_REALSERVER,                //!< logcategory is realserver
-        LOG_CAT_L7VSD_SORRYSERVER,                //!< logcategory is sollyserver
-        LOG_CAT_L7VSD_MODULE,                    //!< logcategory is module controler
+        LOG_CAT_L7VSD_SORRYSERVER,                //!< logcategory is sorryserver
+        LOG_CAT_L7VSD_MODULE,                    //!< logcategory is module controller
         LOG_CAT_L7VSD_REPLICATION,                //!< logcategory is replication
         LOG_CAT_L7VSD_REPLICATION_SENDTHREAD,    //!< logcategory is replication send thread
         LOG_CAT_L7VSD_PARAMETER,                //!< logcategory is parameter
         LOG_CAT_L7VSD_LOGGER,                    //!< logcategory is logger
-        LOG_CAT_L7VSD_COMMAND,                    //!< logcategory is command reciver
+        LOG_CAT_L7VSD_COMMAND,                    //!< logcategory is command receiver
         LOG_CAT_L7VSD_START_STOP,                //!< logcategory is main function used
         LOG_CAT_L7VSD_SYSTEM,                    //!< logcategory is systemcall other
         LOG_CAT_L7VSD_SYSTEM_MEMORY,            //!< logcategory is systemcall memory
@@ -99,8 +99,8 @@ enum LOG_CATEGORY_TAG {
 };
 
 
-//! logcategory enum incliment function
-//! @param[in]    logcategorytag refarence
+//! logcategory enum increment function
+//! @param[in]    logcategorytag reference
 //!    @return        logcategorytag reference
 inline LOG_CATEGORY_TAG &operator++(LOG_CATEGORY_TAG &cat)
 {
index a846319..dcc9e9b 100644 (file)
@@ -93,7 +93,7 @@ public:
         //! returns current instance.
         static LoggerImpl &getInstance();
 
-        //! initialze function
+        //! initialize function
         virtual bool init();
 
         //! Configuration function
@@ -176,7 +176,7 @@ public:
         /*!
          * output fatal log.
          *
-         * @param   category that logging matter occured
+         * @param   category that logging matter occurred
          * @param   log message id
          * @param   log message
          * @param   current file
@@ -256,7 +256,7 @@ public:
         /*!
          * output error log.
          *
-         * @param   category that logging matter occured
+         * @param   category that logging matter occurred
          * @param   log message id
          * @param   log message
          * @param   current file
@@ -335,7 +335,7 @@ public:
         /*!
          * output warn log.
          *
-         * @param   category that logging matter occured
+         * @param   category that logging matter occurred
          * @param   log message id
          * @param   log message
          * @param   current file
@@ -414,7 +414,7 @@ public:
         /*!
          * output info log.
          *
-         * @param   category that logging matter occured
+         * @param   category that logging matter occurred
          * @param   log message id
          * @param   log message
          * @param   current file
@@ -494,7 +494,7 @@ public:
         /*!
          * output debug log.
          *
-         * @param   category that logging matter occured
+         * @param   category that logging matter occurred
          * @param   log message id
          * @param   log message
          * @param   current file
@@ -614,18 +614,18 @@ protected:
         //! default constructor initialize member variables.
         LoggerImpl();
 
-        //! cpoy constructor disable
+        //! copy constructor disable
         LoggerImpl(const LoggerImpl &);
 
         //! operator= disable
         LoggerImpl &operator=(const LoggerImpl &);
 
-        //! LOG_LEVEL_TAG to log4cxx::LevelPtr transrator
+        //! LOG_LEVEL_TAG to log4cxx::LevelPtr translator
         virtual inline const log4cxx::LevelPtr toLevel(LOG_LEVEL_TAG level)    {
                 return log4cxx::Level::toLevel(levelTable[level]);
         }
 
-        //! if error occured, switch appenders to syslogappender and fileappender(/dev/console)
+        //! if error occurred, switch appenders to syslogappender and fileappender(/dev/console)
         virtual void errorConf(unsigned int messageId,
                                const std::string &errorMessage,
                                const char *file,
@@ -634,7 +634,7 @@ protected:
         virtual void logic_error(const unsigned int, const std::string &, const char *, const unsigned int);
 
         /*
-            //! log4cxx::LevelPtr to LOG_LEVEL_TAG transrator
+            //! log4cxx::LevelPtr to LOG_LEVEL_TAG translator
             virtual inline LOG_LEVEL_TAG toLevelTag(const log4cxx::LevelPtr level){
                 int levelInt = level->toInt();
                 switch (levelInt) {
@@ -667,7 +667,7 @@ protected:
         //! category - loglevel hash map
         category_level_map_type    category_level_map;
         category_level_read_map_type category_level_read_map;
-        //! category string -> logcateogry hash map
+        //! category string -> logcategory hash map
         name_category_map_type    name_category_map;
         //! log_category -> category string hash map
         category_name_map_type    category_name_map;
index 8fcd418..32c1082 100644 (file)
@@ -83,7 +83,7 @@ public:
         virtual ~logger_implement_access() {};
 
         /*!
-         * initialze function.
+         * initialize function.
          *
          * @param   default logrotation info use flag
          * @param   default logrotation info
@@ -139,21 +139,21 @@ public:
         }
 
         /*!
-         * increase reffernce count.
+         * increase reference count.
          *
          * @retrun void
          */
         virtual void    addRef();
 
         /*!
-         * decrease reffernce count.
+         * decrease reference count.
          *
          * @retrun void
          */
         virtual void    releaseRef();
 
         /*!
-         * decrease reffernce count.
+         * decrease reference count.
          *
          * @param inequal check object
          * @return check result
index e3847b9..0401f8f 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- *    @file    logger_rogrote_utility.h
+ *    @file    logger_logrotate_utility.h
  *    @brief   log rotation utility header.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
@@ -84,7 +84,7 @@ public:
         /*!
          * rotate type check.
          *
-         * @param   rotaton string("size" or "date" or "datesize")
+         * @param   rotation string("size" or "date" or "datesize")
          * @return  LOG_ROTATION_TAG val
          */
         static LOG_ROTATION_TAG check_rotate_type(
@@ -146,9 +146,9 @@ public:
          *
          * @param   check object.
          * @param   appender property
-         * @return  false faild
+         * @return  false failed
          */
-        static bool acccess_log_LogrotateParamCheck(
+        static bool access_log_LogrotateParamCheck(
                 accesslog_rotate_map_type &rotatedata,
                 appender_property &access_log_property);
 
@@ -161,7 +161,7 @@ public:
          * @param   line no
          * @return  void
          */
-        static void loglotation_utility_logic_error(
+        static void logrotation_utility_logic_error(
                 const unsigned int logno,
                 const std::string &str,
                 const char *file ,
@@ -172,4 +172,4 @@ public:
 
 };
 
-#endif  // LOGGER_ROGROTATE_UTILITY
+#endif  // LOGGER_LOGROTATE_UTILITY
index 3d56c6b..a12a9a7 100644 (file)
@@ -54,7 +54,7 @@ namespace l7vs
                 mibdata& operator=(const mibdata &);
 
                 /*!
-                 * update virtual service table infomation.
+                 * update virtual service table information.
                  *
                  * @param   l7vsd * l7vsd pointer
                  * @param   error_code & error code
@@ -63,7 +63,7 @@ namespace l7vs
                 void  update_vs_table(l7vsd *, error_code &);
 
                 /*!
-                 * update real server table infomation.
+                 * update real server table information.
                  *
                  * @param   const std::vector<rsdata> & temporary real server list
                  * @param   error_code & error code
index 4ab6c3a..f9b2ad1 100644 (file)
@@ -35,7 +35,7 @@ namespace l7vs
 
 //! @class    module_base
 //! @brief    protocol module and schedule module base class
-//! @brief    all module class is extened this class.
+//! @brief    all module class is extend this class.
 class module_base
 {
 public:
@@ -57,7 +57,7 @@ protected:
         logger_func_type                putLogInfo;        //!< info log output function object
         logger_func_type                putLogDebug;    //!< debug log output function object
 
-        //! replication memory peyment method
+        //! replication memory payment method
         replicationpaymemory_func_type    replication_pay_memory;
 
         //! replication area lock function object
@@ -71,11 +71,11 @@ protected:
         boost::asio::ip::udp::endpoint virtual_service_endpoint_udp;
 
 public:
-        //! constractor
+        //! constructor
         module_base(std::string in_modulename) {
                 name = in_modulename;
         }
-        //! destractor
+        //! destructor
         virtual ~module_base() {}
         //! tcp protocol support check
         //! @return tcp support is true
@@ -116,7 +116,7 @@ public:
         //! replication function object setter.
         //! @param[in]    replication pay memory function object
         //! @param[in]    replication lock function object
-        //! @param[in]    replication unlock undontion object
+        //! @param[in]    replication unlock function object
         //! @param[in]    virtual service endpoint tcp
         //! @param[in]    virtual service endpoint udp
         void    init_replication_functions(
@@ -138,7 +138,7 @@ public:
         //      Because Loop and Timer control is in virtual_service.
         //      virtual_service call replication_interrupt in specified time at once.
         //      when called, replication_interrupt write data at once.
-        //! replication interval interrrupt
+        //! replication interval interrupt
         //! timer thread call this function. from virtualservice.
         virtual    void    replication_interrupt() = 0;
 };
index 90f439e..bd25204 100644 (file)
@@ -1,6 +1,6 @@
 /*!
  *    @file    protocol_module_base.h
- *    @brief    shared object protocol module absctract class
+ *    @brief    shared object protocol module abstract class
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -57,7 +57,7 @@ class    module_control_base : private boost::noncopyable
 {
 protected:
         std::string    modulefile_path;        //!<    shared object path
-        virtual    ~module_control_base() {};   //!<    destractor
+        virtual    ~module_control_base() {};   //!<    destructor
 public:
         //!    @brief    initialize prototype function is fist called
         virtual    void    initialize(const std::string &infile_path) = 0;
index deddb8d..386570f 100644 (file)
@@ -1,6 +1,6 @@
 /*!
  * @file  parameter.h
- * @brief ultramonke-l7 parameter class.
+ * @brief ultramonkey-l7 parameter class.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -44,18 +44,18 @@ namespace l7vs
 class Parameter
 {
 public:
-        Parameter();                            //!< default constractor
-        ~Parameter();                           //!< default destractor
+        Parameter();                            //!< default constructor
+        ~Parameter();                           //!< default destructor
 
         //! initialize(file designation)
         //! @param[in]    component tag
         //! @param[in]    file name
         //! @return true success
-        //! @return false failer
+        //! @return false fail
         bool init(const PARAMETER_COMPONENT_TAG, const std::string &);
 
         //! reload file function
-        //! @param[in]    parameter conponent tag
+        //! @param[in]    parameter component tag
         //! @param[in]    configuration filename
         //!                   default:PARAMETER_FILE
         //! @return true  success file read
@@ -64,7 +64,7 @@ public:
                        const std::string& = PARAMETER_FILE);
 
         //! parameter int value getter
-        //! @param[in]    parametercategory
+        //! @param[in]    parameter category
         //! @param[in]    parameter key
         //! @param[out]   error code
         //! @param[in]    configuration filename
@@ -76,7 +76,7 @@ public:
                     const std::string& = PARAMETER_FILE);
 
         //! parameter string value getter
-        //! @param[in]    parametercategory
+        //! @param[in]    parameter category
         //! @param[in]    parameter key
         //! @param[out]   error code
         //! @param[in]    configuration filename
@@ -88,7 +88,7 @@ public:
                                const std::string& = PARAMETER_FILE);
 
         //! parameter multistring value getter
-        //! @param[in]    parametercategory
+        //! @param[in]    parameter category
         //! @param[in]    parameter key
         //! @param[inout] string vector
         //! @param[out]   error code
index bf0ac45..0d12eed 100644 (file)
@@ -1,6 +1,6 @@
 /*!
  * @file  parameter_enum.h
- * @brief ultramonke-l7 parameter enum prototype.
+ * @brief ultramonkey-l7 parameter enum prototype.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -27,7 +27,7 @@
 namespace l7vs
 {
 
-//! @enum    PARAMTER_COMPONENT_TAG
+//! @enum    PARAMETER_COMPONENT_TAG
 //! @brief   parameter key tags
 enum PARAMETER_COMPONENT_TAG {
         PARAM_COMP_NOCAT = 0,        //!< parameter category is none
index 1a48a3e..27f18ba 100644 (file)
@@ -1,6 +1,6 @@
 /*!
- * @file  paramter_impl.h
- * @brief ultramonke-l7 parameter impliment class.
+ * @file  parameter_impl.h
+ * @brief ultramonkey-l7 parameter implement class.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -50,15 +50,15 @@ protected:
         boost::mutex                            create_mutex;
         //! read / write mutex
         boost::mutex                            param_mutex;
-        //! componenttag to section name map
+        //! component tag to section name map
         std::map< PARAMETER_COMPONENT_TAG, std::string >
         tag_section_table_map;
-        //! constractor
+        //! constructor
         ParameterImpl() {}
-        //! destractor
+        //! destructor
         ~ParameterImpl() {}
 public:
-        //! instansgetter
+        //! instance getter
         //! @return instance
         static ParameterImpl &get_instance() {
                 static ParameterImpl instance;
@@ -67,27 +67,27 @@ public:
 
         //! initialize
         //! @return true success
-        //! @return false failer
+        //! @return false fail
         bool init();
 
         //! initialize(file designation)
         //! @param[in]    component tag
         //! @param[in]    file name
         //! @return true success
-        //! @return false failer
+        //! @return false fail
         bool init(const PARAMETER_COMPONENT_TAG, const std::string &);
 
         //! target component read
         //! @param[in]    component tag
         //! @param[in]    file name
-        //! @return false failer
+        //! @return false fail
         //! @return true success
         bool    read_file(const PARAMETER_COMPONENT_TAG, const std::string &);
 
         //! int value getter
         //! @param[in]    component tag
-        //! @param[in]    keystring
-        //! @param[out]   errorcode
+        //! @param[in]    key string
+        //! @param[out]   error code
         //! @param[in]    file name
         //! @return int value
         int get_int(const PARAMETER_COMPONENT_TAG,
@@ -97,8 +97,8 @@ public:
 
         //! string value getter
         //! @param[in]    component tag
-        //! @param[in]    keystring
-        //! @param[out]   errorcode
+        //! @param[in]    key string
+        //! @param[out]   error code
         //! @param[in]    file name
         //! @return string value
         std::string get_string(const PARAMETER_COMPONENT_TAG,
@@ -108,9 +108,9 @@ public:
 
         //! multistring value getter
         //! @param[in]    component tag
-        //! @param[in]    keystring
+        //! @param[in]    key string
         //! @param[inout] string vector
-        //! @param[out]   errorcode
+        //! @param[out]   error code
         //! @param[in]    file name
         //! @return       void
         void get_multistring(const PARAMETER_COMPONENT_TAG,
index c524cef..1f9f778 100644 (file)
@@ -40,7 +40,7 @@ namespace l7vs
 {
 
 //!    @class    stats_base
-//! @brief    this class is base class of all statistic infomation classes.
+//! @brief    this class is base class of all statistic information classes.
 class stats_base
 {
 public:
@@ -57,7 +57,7 @@ public:
         //!    constructor
         stats_base(STATS_MODE_TAG m) : mode(m) {};
 
-        //! destractor
+        //! destructor
         ~stats_base() {};
 
         //! get statistic mode
@@ -71,7 +71,7 @@ protected:
 };
 
 //!    @class    stats_base
-//! @brief    this class is a class of http statistic infomation classes.
+//! @brief    this class is a class of http statistic information classes.
 class http_stats : public stats_base
 {
 public:
@@ -82,7 +82,7 @@ public:
                 http_post_requests = 0;
         };
 
-        //! destractor
+        //! destructor
         ~http_stats(){};
 
         //! http request counts
@@ -154,7 +154,7 @@ public:
         //! @struct check_message_result
         //!    @brief    this class is POD. this class used then return multi value
         struct check_message_result {
-                bool        flag;        //! return flasg
+                bool        flag;        //! return flag
                 std::string    message;    //! return message
                 //!    == operator
                 //! @param[in]    check_message_result& is equal check object.
@@ -169,7 +169,7 @@ public:
                 bool        operator!=(const check_message_result &in) {
                         return ((flag != in.flag) || (message != in.message));
                 }
-                //! constractor
+                //! constructor
                 check_message_result() : flag(false) {}
         };
 protected:
@@ -193,9 +193,9 @@ protected:
         bool                           statistic;       //!< collect statistic flag
 
 public:
-        //! constractor
+        //! constructor
         protocol_module_base(std::string in_modulename) : module_base(in_modulename), statistic(false) {};
-        //! destractor
+        //! destructor
         virtual    ~protocol_module_base() {};
         //! initialize function. called from module control. module loaded call
         //! @param[in]    realserver list iterator begin function object type
@@ -223,31 +223,31 @@ public:
 
 
         //! module parameter check.used by l7vsadm
-        //! @param[in]    module paramter string list
-        //! @return    result.flag true is parameter is noproblem.
-        //! @return result.flag false is paramter is problem.
+        //! @param[in]    module parameter string list
+        //! @return    result.flag true is parameter is no problem.
+        //! @return result.flag false is parameter is problem.
         virtual    check_message_result    check_parameter(const std::vector<std::string>& args) = 0;
         //! parameter set
-        //! @param[in] module paramter string list
-        //! @return    result.flag true is parameter is noproblem.
-        //! @return result.flag false is paramter is problem.
+        //! @param[in] module parameter string list
+        //! @return    result.flag true is parameter is no problem.
+        //! @return result.flag false is parameter is problem.
         virtual    check_message_result    set_parameter(const std::vector<std::string>& args) = 0;
         //! parameter add
-        //! @param[in] module paramter string list
-        //! @return    result.flag true is parameter is noproblem.
-        //! @return result.flag false is paramter is problem.
+        //! @param[in] module parameter string list
+        //! @return    result.flag true is parameter is no problem.
+        //! @return result.flag false is parameter is problem.
         virtual    check_message_result    add_parameter(const std::vector<std::string>& args) = 0;
         //! get option info
         //! @param[out] module parameter string
         virtual void                    get_option_info(std::string &option) = 0;
-        //! TCP/IP scheduled function registation.
+        //! TCP/IP scheduled function registration.
         //! @param[in] schedule module TCP/IP scheduled function object type
         virtual    void    register_schedule(tcp_schedule_func_type inschedule) = 0;
-        //! UDP scheduled function registation
-        //! @param[in] schedule module UDP scheduled funtion object type
+        //! UDP scheduled function registration
+        //! @param[in] schedule module UDP scheduled function object type
         virtual    void    register_schedule(udp_schedule_func_type inschedule) = 0;
 
-        //! called from session initialzie use in upstream_thread
+        //! called from session initialize use in upstream_thread
         //! @param[in]    upstream thread id.
         //! @param[in]    downstream thread id
         //! @return        session use EVENT mode.
@@ -272,8 +272,8 @@ public:
 
         //! called from after session recv in client socket. use in upstream thread.
         //! @param[in]    upstream thread id
-        //! @param[in]    recive buffer refarence.
-        //! @param[in]    recive length
+        //! @param[in]    receive buffer reference.
+        //! @param[in]    receive length
         //! @return        session use EVENT mode.
         virtual    EVENT_TAG    handle_client_recv(
                 const boost::thread::id thread_id,
@@ -291,7 +291,7 @@ public:
         //! called from after realserver select
         //! @param[in]    upstream thread id
         //! @param[out]    realserver UDP endpoint
-        //! @param[out]    sendbudffer reference
+        //! @param[out]    send buffer reference
         //! @param[out]    send data length
         //! @return        session use EVENT mode.
         virtual    EVENT_TAG    handle_realserver_select(
@@ -302,7 +302,7 @@ public:
 
         //! called from after realserver connect
         //! @param[in]    upstream thread id
-        //! @param[out]    sendbuffer reference
+        //! @param[out]    send buffer reference
         //! @param[out]    send data length
         //! @return        session use EVENT mode.
         virtual    EVENT_TAG    handle_realserver_connect(
@@ -326,7 +326,7 @@ public:
 
         //! called from after sorryserver select
         //! @param[in]    upstream thread id
-        //! @param[in]    sorryserver endppiont reference
+        //! @param[in]    sorryserver endpoint reference
         //! @return        session use EVENT mode.
         virtual    EVENT_TAG    handle_sorryserver_select(
                 const boost::thread::id thread_id,
@@ -355,10 +355,10 @@ public:
         //! @return        session use EVENT mode.
         virtual    EVENT_TAG    handle_sorryserver_send(const boost::thread::id thread_id) = 0;
 
-        //! called from after realserver recvive for TCP/IP
+        //! called from after realserver receive for TCP/IP
         //! @param[in]    downstream thread id
         //! @param[in]    realserver TCP/IP endpoint reference
-        //! @param[in]    realserver recive buffer reference.
+        //! @param[in]    realserver receive buffer reference.
         //! @param[in]    recv data length
         //! @return        session use EVENT mode.
         virtual    EVENT_TAG    handle_realserver_recv(
@@ -366,10 +366,10 @@ public:
                 const boost::asio::ip::tcp::endpoint &rs_endpoint,
                 const boost::array<char, MAX_BUFFER_SIZE>& recvbuffer,
                 const size_t recvlen) = 0;
-        //! called from after realserver recive.for UDP
+        //! called from after realserver receive.for UDP
         //! @param[in]    downstream thread id
         //! @param[in]    realserver UDP endpoint reference
-        //! @param[in]    recive from realserver buffer reference
+        //! @param[in]    receive from realserver buffer reference
         //! @param[in]    recv data length
         //! @return        session use EVENT mode.
         virtual    EVENT_TAG    handle_realserver_recv(
@@ -378,10 +378,10 @@ public:
                 const boost::array<char, MAX_BUFFER_SIZE>& recvbuffer,
                 const size_t recvlen) = 0;
 
-        //! called from after sorryserver recive
+        //! called from after sorryserver receive
         //! @param[in]    downstream thread id
         //! @param[in]    sorryserver endpoint reference
-        //! @param[in]    recive from realserver buffer reference.
+        //! @param[in]    receive from realserver buffer reference.
         //! @param[in]    recv data length
         //! @return     session use EVENT mode
         virtual    EVENT_TAG    handle_sorryserver_recv(
@@ -390,7 +390,7 @@ public:
                 const boost::array<char, MAX_BUFFER_SIZE>& recvbuffer,
                 const size_t recvlen) = 0;
 
-        //! called from UPSTEEARM thread. make module original message.
+        //! called from UPSTREAM thread. make module original message.
         //! @param[in]    downstream thread id.
         //! @return         session use EVENT mode
         virtual    EVENT_TAG    handle_response_send_inform(
@@ -398,7 +398,7 @@ public:
 
         //! called from after client connection check. use TCP/IP only. create client send message.
         //! @param[in]    downstream thread id
-        //! @param[out]    send budffer reference
+        //! @param[out]    send buffer reference
         //! @param[out]    send data length
         //! @return     session use EVENT mode
         virtual EVENT_TAG    handle_client_connection_check(
@@ -447,7 +447,7 @@ public:
                 const boost::thread::id thread_id,
                 const boost::asio::ip::tcp::endpoint &rs_endpoint) = 0;
 
-        //! call from sorry server disconnect. use upstraem thread and downstream thread
+        //! call from sorry server disconnect. use upstream thread and downstream thread
         //! @param[in]    upstream and downstream thread id( check! one thread one event )
         //! @param[in]    disconnect sorryserver endpoint
         //! @return        session use EVENT mode
index 6b33b90..5f5658c 100644 (file)
@@ -39,7 +39,7 @@ namespace l7vs
 //!    @class    protocol_module_control
 //! @brief    protocol module control class is load protocol module from shared object file.
 //! @brief    many virtual service class used protocol module instance.
-//! @brief    but, shared object load is once. and unload when vitual service refarence count is zero.
+//! @brief    but, shared object load is once. and unload when virtual service reference count is zero.
 class    protocol_module_control : public module_control_base
 {
 public:
@@ -60,10 +60,10 @@ public:
         //! @brief    protocol module information structure.
         struct    protocol_module_info {
                 void                 *handle;                    //!< dlopen handle
-                unsigned int        ref_count;                //!< refarence count
+                unsigned int        ref_count;                //!< reference count
                 create_func_type    create_func;            //!< create function object
                 destroy_func_type    destroy_func;            //!< destroy function object
-                protocol_module_info() : ref_count(0) {}    //!< constractor
+                protocol_module_info() : ref_count(0) {}    //!< constructor
         };
 
         //! name module map type typedef
index bfb371c..3e696bf 100644 (file)
@@ -160,7 +160,7 @@ public:
 private:
         friend class boost::serialization::access; //! friend boost serializable class
         //! serializable
-        //! @brief using boost serialiable. class serializable function.
+        //! @brief using boost serializable. class serializable function.
         //! @param[in] archive
         //! @param[in] version
         template <class Archive>
index 5d5e417..4954a60 100644 (file)
@@ -109,7 +109,7 @@ protected:
                         block_size(0) {}
         };
 
-        //! State Infomation struct to execute Replication.
+        //! State Information struct to execute Replication.
         struct replication_state_struct {
                 enum REPLICATION_MODE_TAG       service_status;                 //!< States Type of Replication Function
                 unsigned long long              send_time;                      //!< Completion last time to send data(no use)
index 389e382..7f43fa9 100644 (file)
@@ -36,7 +36,7 @@ namespace l7vs
 //
 //! @class schedule_module_base
 //!    @brief    schedule module abstract base class.
-//! @brief    all schedule module is extened this class.
+//! @brief    all schedule module is extend this class.
 class schedule_module_base : public module_base
 {
 public:
@@ -50,9 +50,9 @@ public:
         typedef    boost::function< rslist_type::iterator(rslist_type::iterator)>
         rslist_iterator_next_func_type;
 public:
-        //!    constractor
+        //!    constructor
         schedule_module_base(std::string in_modulename) : module_base(in_modulename) {};
-        //! destractor
+        //! destructor
         virtual    ~schedule_module_base() {};
         //!    initialize function
         virtual    void    initialize() = 0;
@@ -69,7 +69,7 @@ public:
                 rslist_iterator_next_func_type,
                 boost::asio::ip::tcp::endpoint &) = 0;
 
-        //! handle schedule calles then schedule function for UDP endpoint
+        //! handle schedule calls then schedule function for UDP endpoint
         //! @param[in]    thread id
         //! @param[in]    list iterator first function object
         //!    @param[in]    list iterator last function object
index 2b13a79..6dda2b1 100644 (file)
@@ -38,7 +38,7 @@ namespace l7vs
 //!    @class    schedule_module_control
 //! @brief    schedule module control class is load schedule module from shared object file.
 //! @brief    many virtual service class used schedule module instance.
-//! @brief    but, shared object load is once. and unload when vitual service refarence count is zero.
+//! @brief    but, shared object load is once. and unload when vitual service reference count is zero.
 class    schedule_module_control : public module_control_base
 {
 public:
@@ -56,10 +56,10 @@ public:
         //! @brief    schedule module information structure.
         struct    schedule_module_info {
                 void                 *handle;                //!< dlopen handle
-                unsigned int        ref_count;            //!< refarence count
+                unsigned int        ref_count;            //!< reference count
                 create_func_type    create_func;        //!< create function object
                 destroy_func_type    destroy_func;        //!< destroy function object
-                schedule_module_info() : ref_count(0) {}    //!< constractor
+                schedule_module_info() : ref_count(0) {}    //!< constructor
         };
 
         //! name module map type typedef
index 27f0ba2..eb672bd 100644 (file)
@@ -45,7 +45,7 @@ class    tcp_session;
 
 //!
 //!    @brief    session thread pooling utility class.
-//! @class    session_thread_control is session thread pool utirity.
+//! @class    session_thread_control is session thread pool utility.
 class    session_thread_control : private boost::noncopyable
 {
 public:
@@ -85,7 +85,7 @@ protected:
         int                    sched_priority;
         int                    num_of_core_uses;
 public:
-        //! constractor.
+        //! constructor.
         //! @param session_ptr    session class shared ptr
         session_thread_control(tcp_session *ptr, cpu_set_t in_upcpu, cpu_set_t in_downcpu, int    in_sched_algorithm) :
                 upthread_state(WAIT),
@@ -115,7 +115,7 @@ public:
                 session.reset(ptr);
 
         }
-        //! destractor
+        //! destructor
         ~session_thread_control() {
         }
 
@@ -133,9 +133,9 @@ public:
         void            startdownstream();
         //! upstream thread stop function
         void            stopupstream();
-        //! downstream thread stop funtion
+        //! downstream thread stop function
         void            stopdownstream();
-        //! all thread destory function.
+        //! all thread destroy function.
         void            join();
         //! upstream-thread id getter
         //! @return thread_id_type    upstream thread id
index fceb27b..a32bfe1 100644 (file)
@@ -100,9 +100,9 @@ namespace l7vs
                 static void    set_logtrap_level(const LOG_LEVEL_TAG in_level);
 
                 /*!
-                 *  get snmp infomation.
+                 *  get snmp information.
                  *
-                 * @return         snmp infomation
+                 * @return         snmp information
                  */
                 static snmp_info  get_snmp_info();
 
index 6e475ac..d6fbb24 100644 (file)
@@ -211,7 +211,7 @@ namespace l7vs
                 void    refresh_statistics(const boost::asio::ip::tcp::endpoint &vs_endpoint, const std::string &protocol);
 
                 /*!
-                 *  set vsd infomation.
+                 *  set vsd information.
                  *
                  * @param[in]      vsd is vsd pointer.
                  * @retrun         void
@@ -219,9 +219,9 @@ namespace l7vs
                 void    set_vsd_info(l7vsd *vsd);
 
                 /*!
-                 *  get snmp infomation.
+                 *  get snmp information.
                  *
-                 * @retrun         snmp_info is snmp infomation.
+                 * @retrun         snmp_info is snmp information.
                  */
                 snmp_info get_snmp_info();
 
index c350d7d..191bd58 100644 (file)
@@ -78,7 +78,7 @@ int        handle_get_rstable(netsnmp_mib_handler *handler,
                               netsnmp_request_info *requests);
 
 /*!
- * initialize snmp scaler and table data set handles.
+ * initialize snmp scalar and table data set handles.
  *
  * @param[in]      error_code& is trap error code
  * @retrun         void
index f23e3c2..1e3b298 100644 (file)
@@ -81,9 +81,9 @@ protected:
 public:
         //! default constructor
         StrictTimeBasedRollingPolicy();
-        //! increase reffernce count
+        //! increase reference count
         void addRef() const;
-        //! decrease reffernce count
+        //! decrease reference count
         void releaseRef() const;
         //! option setter
         void setOption(const LogString &, const LogString &);
@@ -94,9 +94,9 @@ public:
         l7vs::LOG_ROTATION_TIMING_TAG getRotationTiming();
         //! rotationTiming setter
         void setRotationTiming(const l7vs::LOG_ROTATION_TIMING_TAG);
-        //! rotatioTimingValue getter
+        //! rotationTimingValue getter
         std::string getRotationTimingValue();
-        //! rotatioTimingValue setter
+        //! rotationTimingValue setter
         void setRotationTimingValue(const std::string &);
 
         //! rolling policy initialize
index f8808f4..9916c25 100644 (file)
@@ -37,7 +37,7 @@ namespace l7vs
 {
 
 //!    @class    tcp_realserver_connect_socket_list
-//! @brief    this class is connected realsever list by up thread.
+//! @brief    this class is connected realserver list by up thread.
 class tcp_realserver_connect_socket_list : private boost::noncopyable
 {
 public:
@@ -46,7 +46,7 @@ public:
         //! realserver list element type first : connection endpoint second : socket pointer
         typedef std::pair<boost::asio::ip::tcp::endpoint, tcp_socket_ptr > list_element;
 
-        //! construcor
+        //! constructor
         tcp_realserver_connect_socket_list();
         //! destructor
         ~tcp_realserver_connect_socket_list();
index 8b52890..900ced3 100644 (file)
@@ -60,7 +60,7 @@ class virtualservice_tcp;
 //! @brief    tcp_thread_message class name define.
 class tcp_thread_message;
 
-//! @class    loger_implement_access
+//! @class    logger_implement_access
 //! @brief    logger_implement_access class name define.
 class logger_implement_access;
 
@@ -85,7 +85,7 @@ public:
                 ACCESS_LOG_OFF
         };
 
-        //! construcor
+        //! constructor
         //! @param[in/out]    vs is parent virtualservice object
         //! @param[in/out]    io is session use io service object
         //! @param[in]        set_option is
@@ -144,7 +144,7 @@ protected:
                 UP_FUNC_CLIENT_RECEIVE,                     //! up_thread_client_receive function
                 UP_FUNC_CLIENT_RESPOND_SEND,                //! up_thread_client_respond function
                 UP_FUNC_CLIENT_RESPOND_SEND_EVENT,          //! up_thread_client_respond_event function
-                UP_FUNC_REALSERVER_GET_DEST_EVENT,          //! up_thread_realserver_get_distination_event function
+                UP_FUNC_REALSERVER_GET_DEST_EVENT,          //! up_thread_realserver_get_destination_event function
                 UP_FUNC_REALSERVER_CONNECT,                 //! up_thread_realserver_connect function
                 UP_FUNC_REALSERVER_CONNECT_EVENT,           //! up_thread_realserver_connect_event function
                 UP_FUNC_REALSERVER_CONNECT_FAIL_EVENT,      //! up_thread_realserver_connection_fail_event function
@@ -301,7 +301,7 @@ protected:
         //! virtual service message convert to down thread function object map
         std::map< TCP_VIRTUAL_SERVICE_MESSAGE_TAG, tcp_session_func>
         virtual_service_message_down_thread_function_map;
-        //! client conection src endpoint
+        //! client connection src endpoint
         boost::asio::ip::tcp::endpoint client_endpoint;
         //! virtualservice accept endpoint
         boost::asio::ip::tcp::endpoint virtualservice_endpoint;
@@ -363,180 +363,180 @@ protected:
         //! reset ssl object for reuse
         //! @param[in/out]    clear_ssl is clear target SSL structure pointer
         virtual bool ssl_clear_keep_cache(SSL *clear_ssl);
-        //! endpoint data to string infomation
+        //! endpoint data to string information
         //! @param[in]        endpoint is target endpoint object
         virtual std::string endpoint_to_string(
                 const boost::asio::ip::tcp::endpoint &target_endpoint);
 
         //! up thread accept client side
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_client_accept(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_accept
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_client_accept_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread receive client side and raise module event of handle_client_recv
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_client_receive(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise client respond send event message for up and down thread
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_client_respond(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_response_send_inform
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_client_respond_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread close client socket and raise client disconnect event message for up and down thread
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_client_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_client_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_client_disconnect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread send realserver and raise module event of handle_client_recv
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_realserver_send(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_realserver_select
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_realserver_get_destination_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread connect realserver
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_realserver_connect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_realserver_connect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_realserver_connect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_realserver_connection_fail
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_realserver_connection_fail_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread close realserver socket and raise realserver disconnect event message for up and down thread
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_realserver_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_realserver_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_realserver_disconnect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread close all realserver socket and raise module event of handle_realserver_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_all_realserver_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread send sorryserver and raise module event of handle_sorryserver_send
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_send(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_sorryserver_select
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_get_destination_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread connect sorryserver
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_connect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_sorryserver_connect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_connect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_sorryserver_connection_fail
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_connection_fail_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread close sorryserver socket and raise sorryserver disconnect event message for up and down thread
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread close sorryserver socket and raise module sorryserver disconnect event
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_mod_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_sorryserver_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorryserver_disconnect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_sorry_enable
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorry_enable_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread raise module event of handle_sorry_disable
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_sorry_disable_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread exit main loop
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void up_thread_exit(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! up thread close all socket
         virtual void up_thread_all_socket_close(void);
 
         //! down thread receive from realserver and raise module event of handle_realserver_recv
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_realserver_receive(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread close realserver socket and raise realserver disconnect event message for up and down thread
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_realserver_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread raise module event of handle_realserver_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_realserver_disconnect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread close all realserver socket and raise module event of handle_realserver_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_all_realserver_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread raise module event of handle_client_connection_check
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_client_connection_chk_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread raise module event of handle_response_send_inform
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_client_respond_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread send for client and raise module event of handle_client_send
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_client_send(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread close client socket and raise client disconnect event message for up and down thread
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_client_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread raise module event of handle_client_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_client_disconnect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread receive from sorryserver and raise module event of handle_sorryserver_recv
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_sorryserver_receive(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread close sorryserver socket and raise sorryserver disconnect event message for up and down thread
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_sorryserver_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread close sorryserver socket and raise module sorryserver disconnect event
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_sorryserver_mod_disconnect(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread raise module event of handle_sorryserver_disconnect
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_sorryserver_disconnect_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread raise module event of handle_sorry_enable
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_sorry_enable_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread raise module event of handle_sorry_disable
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_sorry_disable_event(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread exit main loop
-        //! @param[in]        process_type is prosecess type
+        //! @param[in]        process_type is process type
         virtual void down_thread_exit(
                 const TCP_PROCESS_TYPE_TAG process_type);
         //! down thread close all socket
index e680992..5faf292 100644 (file)
@@ -42,7 +42,7 @@ namespace l7vs
 class tcp_socket : private boost::noncopyable
 {
 public:
-        //! construcor
+        //! constructor
         //! @param[in/out]    socket use io service object
         //! @param[in]        set socket option info
         tcp_socket(boost::asio::io_service &io,
@@ -95,7 +95,7 @@ public:
         //! @return           false is set non blocking mode failure
         bool set_non_blocking_mode(boost::system::error_code &ec);
         //! write socket
-        //! @param[in]        buffers is wite data buffer
+        //! @param[in]        buffers is write data buffer
         //! @param[out]       ec is reference error code object
         //! @return           write data size
         std::size_t write_some(boost::asio::mutable_buffers_1 buffers, boost::system::error_code &ec);
@@ -118,7 +118,7 @@ protected:
         wr_mutex close_mutex;
         //! socket open flag
         bool open_flag;
-        //! set nonblocking flag
+        //! set non-blocking flag
         bool non_blocking_flag;
         //! socket option
         tcp_socket_option_info opt_info;
index b259d73..a45b189 100644 (file)
@@ -45,7 +45,7 @@ namespace l7vs
 class tcp_ssl_socket : private boost::noncopyable
 {
 public:
-        //! construcor
+        //! constructor
         //! @param[in/out]    socket use io service object
         //! @param[in]        set socket option info
         tcp_ssl_socket(boost::asio::io_service &io,
@@ -105,7 +105,7 @@ public:
         //! @return           false is set non blocking mode failure
         bool set_non_blocking_mode(boost::system::error_code &ec);
         //! write socket
-        //! @param[in]        buffers is wite data buffer
+        //! @param[in]        buffers is write data buffer
         //! @param[out]       ec is reference error code object
         //! @return           write data size
         std::size_t write_some(boost::asio::mutable_buffers_1 buffers, boost::system::error_code &ec);
@@ -145,7 +145,7 @@ protected:
         wr_mutex close_mutex;
         //! socket open flag
         bool open_flag;
-        //! set nonblocking flag
+        //! set non-blocking flag
         bool non_blocking_flag;
         //! socket option
         tcp_socket_option_info opt_info;
index f72b297..5fc9516 100644 (file)
@@ -38,7 +38,7 @@ namespace l7vs
 class tcp_thread_message : private boost::noncopyable
 {
 public:
-        //! construcor
+        //! constructor
         tcp_thread_message() {}
         //! destructor
         ~tcp_thread_message() {}
index 2a56f01..7e4940a 100644 (file)
@@ -95,4 +95,4 @@ protected:
 };// class udp_request
 }// namespace l7vs
 
-#endif//UDP_REQUES_H
+#endif//UDP_REQUEST_H
index be02599..24790aa 100644 (file)
 #ifndef  __UTILITY_H__
 #define  __UTILITY_H__
 
-//! gcc extention code output macro.
-//! static "if" weight algolithm teach compiler.
+//! gcc extension code output macro.
+//! static "if" weight algorithm teach compiler.
 //! compiler output CPU TBL code.
 //! usage:
-//!    if( likely( hoge ) ){ fasecall } else { slowcall }
+//!    if( likely( hoge ) ){ fastcall } else { slowcall }
 //! if( unlikely( hoge ) ){ slowcall } else { fastcall }
 #define likely(c)   __builtin_expect(!!(c), 1)
 #define unlikely(c) __builtin_expect(!!(c), 0)
 
-#endif  //__ULITITY_H__
+#endif  //__UTILITY_H__
index e28608b..85ee09b 100644 (file)
@@ -165,7 +165,7 @@ public:
 
         //! Default count for number of session-pool size
         const static int  SESSION_POOL_NUM_DEFAULT = 256;
-        //! bps calcurate interval(500ms)
+        //! bps calculate interval(500ms)
         const static long BPS_INTERVAL_DEFAULT     = 500;
         //! replication-data create interval(500ms)
         const static long REP_INTERVAL_DEFAULT     = 500;
@@ -222,7 +222,7 @@ protected:
 
         Logger                  log;
 
-        boost::asio::io_service dispatcher;           //! dispatcer service
+        boost::asio::io_service dispatcher;           //! dispatcher service
         deadline_timer_ptr_type calc_bps_timer;       //! timer object
         deadline_timer_ptr_type replication_timer;    //! timer object
         deadline_timer_ptr_type protomod_rep_timer;   //! timer object
@@ -243,11 +243,11 @@ protected:
 
         AUUL recvsize_up;           //! upstream total receive data size
         AUUL current_up_recvsize;   //! current upstream receive data size
-        //!  for calcurate upstream throughput
+        //!  for calculate upstream throughput
         AUUL sendsize_up;           //! upstream total send data size
         AUUL recvsize_down;         //! downstream total receive data size
         AUUL current_down_recvsize; //! current downstream receive data size for
-        //! calcurate upstream throughput
+        //! calculate upstream throughput
         AUUL sendsize_down;         //! downstream total send data size
 
         AUUL throughput_up;         //! upstream throughput value
@@ -256,7 +256,7 @@ protected:
         AUUL wait_count_up;         //! upstream recv wait count
         AUUL wait_count_down;       //! downstream recv wait count
 
-        AUUL interrupt_running_flag;    //! interrunpt routine is running
+        AUUL interrupt_running_flag;    //! interrupt routine is running
         AUUL virtualservice_stop_flag;  //! virtualservice is now shutting down
 
         // protocol module option string
index 1cb490f..48db9df 100644 (file)
@@ -426,7 +426,7 @@ public:
 private:
         friend class boost::serialization::access; //! friend boost serializable class
         //! serializable
-        //! @brief using boost serialiable. class serializable function.
+        //! @brief using boost serializable. class serializable function.
         //! @param[in] archive
         //! @param[in] version
         template <class Archive>
index cd7cb3a..e46876b 100644 (file)
@@ -2,7 +2,7 @@
  *    @file    utility.h
  *    @brief    read - write spin lock class.
  *    @brief    this lock used CPU power upon blocking.
- *    @brief    don't used contextswitch. little clitical section use.
+ *    @brief    don't used context switch. little critical section use.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -41,15 +41,15 @@ class    wr_mutex : private boost::noncopyable
 protected:
         pthread_rwlock_t    mutex;    //! mutex
 public:
-        //! default constractor
+        //! default constructor
         wr_mutex() {
                 pthread_rwlock_init(&mutex, NULL);
         }
-        //! destractor.
+        //! destructor.
         ~wr_mutex() {
                 pthread_rwlock_destroy(&mutex);
         }
-        //! reaqd lock function. non-blocking read threads.
+        //! read lock function. non-blocking read threads.
         //! be blocked write thread mutex.
         void    rdlock() {
                 pthread_rwlock_rdlock(&mutex);
@@ -58,7 +58,7 @@ public:
         void    wrlock() {
                 pthread_rwlock_wrlock(&mutex);
         }
-        //! unlock funtion. unlock rdlock and wrlock.
+        //! unlock function. unlock rdlock and wrlock.
         void    unlock() {
                 pthread_rwlock_unlock(&mutex);
         }
@@ -77,11 +77,11 @@ class    read_scoped_lock : private boost::noncopyable
 protected:
         T    &mutex;    //! mutex reference.
 public:
-        //!    constractor. use explicit keyword.
+        //!    constructor. use explicit keyword.
         explicit read_scoped_lock(T &m) : mutex(m) {
                 mutex.rdlock();
         }
-        //! destractor.
+        //! destructor.
         ~read_scoped_lock() {
                 mutex.unlock();
         }
@@ -103,11 +103,11 @@ class    readwrite_scoped_lock : private boost::noncopyable
 protected:
         T    &mutex;                //! mutex reference.
 public:
-        //! default constractor.
+        //! default constructor.
         explicit readwrite_scoped_lock(T &m) : mutex(m) {
                 mutex.wrlock();
         }
-        //! default destractor
+        //! default destructor
         ~readwrite_scoped_lock() {
                 mutex.unlock();
         }
index 2b18bc1..be0860d 100644 (file)
@@ -8,7 +8,7 @@
 #
 # Author: Shinya TAKEBAYASHI
 # Released: January 2008
-# Licence: GNU General Public Licence
+# License: GNU General Public License
 
 L7VSD_OPTIONS=""
 
@@ -34,7 +34,7 @@ start() {
     RETVAL=$?
 
     if [ $RETVAL -ne 0 ]; then
-       echo "error occured."
+       echo "error occurred."
        echo "$PROG was not started."
     else
        echo "done."
index 0f11ce8..e491055 100644 (file)
@@ -231,7 +231,7 @@ l7vs::http_protocol_module_base::check_http_version(const char *buffer,
 //! check http status code function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
-//! @return    CHECK_RESULT_TAG    status code is nomal or error
+//! @return    CHECK_RESULT_TAG    status code is normal or error
 l7vs::http_protocol_module_base::CHECK_RESULT_TAG
 l7vs::http_protocol_module_base::check_status_code(const char *buffer,
                 const size_t buffer_len)
@@ -427,7 +427,7 @@ l7vs::http_protocol_module_base::check_http_version_and_status_code(
 
 }
 
-//! serch uri function
+//! search uri function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                uri offset
@@ -507,7 +507,7 @@ bool    l7vs::http_protocol_module_base::find_uri(const char *buffer,
 
 }
 
-//! serch status function
+//! search status function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                status offset
@@ -584,7 +584,7 @@ bool    l7vs::http_protocol_module_base::find_status_code(const char *buffer,
 
 }
 
-//! serch http header function
+//! search http header function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param const string&        header name
@@ -723,7 +723,7 @@ bool    l7vs::http_protocol_module_base::find_http_header(const char *buffer,
 
 }
 
-//! serch http header Cookie function
+//! search http header Cookie function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
@@ -828,7 +828,7 @@ bool    l7vs::http_protocol_module_base::find_http_header_cookie(
 
 }
 
-//! serch http header Content_Length function
+//! search http header Content_Length function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
@@ -938,7 +938,7 @@ bool    l7vs::http_protocol_module_base::find_http_header_content_length(
 
 }
 
-//! serch http header X_Forwarded_For function
+//! search http header X_Forwarded_For function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
@@ -1050,7 +1050,7 @@ bool    l7vs::http_protocol_module_base::find_http_header_x_forwarded_for(
 
 }
 
-//! serch http header all function
+//! search http header all function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
index de804bd..2c67387 100644 (file)
@@ -36,7 +36,7 @@ protected:
         //! @brief    check tag is return to http protocol module.
         enum    CHECK_RESULT_TAG {
                 CHECK_OK = 0,            //!< check ok
-                CHECK_NG,                //!< check ng
+                CHECK_NG,                //!< check NG
                 CHECK_IMPOSSIBLE        //!< check impossible
         };
 
@@ -55,7 +55,7 @@ protected:
         //! check http status code function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
-        //! @return    CHECK_RESULT_TAG    status code is nomal or error
+        //! @return    CHECK_RESULT_TAG    status code is normal or error
         CHECK_RESULT_TAG    check_status_code(const char *, const size_t);
 
         //! check http method and version function
@@ -70,7 +70,7 @@ protected:
         //! @return CHECK_RESULT_TAG    http version and status code is valid
         CHECK_RESULT_TAG    check_http_version_and_status_code(const char *, const size_t);
 
-        //! serch uri function
+        //! search uri function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                uri offset
@@ -78,7 +78,7 @@ protected:
         //! @return bool                find is true. not find is false
         bool    find_uri(const char *, const size_t, size_t &, size_t &);
 
-        //! serch status function
+        //! search status function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                status offset
@@ -86,7 +86,7 @@ protected:
         //! @return bool                find is true. not find is false
         bool    find_status_code(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header function
+        //! search http header function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param const string&        header name
@@ -95,7 +95,7 @@ protected:
         //! @return bool                find is true. not find is false
         bool    find_http_header(const char *, const size_t, const std::string &, size_t &, size_t &);
 
-        //! serch http header Cookie function
+        //! search http header Cookie function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
@@ -103,7 +103,7 @@ protected:
         //! @return bool                find is true. not find is false
         bool    find_http_header_cookie(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header Content_Length function
+        //! search http header Content_Length function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
@@ -111,7 +111,7 @@ protected:
         //! @return bool                find is true. not find is false
         bool    find_http_header_content_length(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header X_Forwarded_For function
+        //! search http header X_Forwarded_For function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
@@ -119,7 +119,7 @@ protected:
         //! @return bool                find is true. not find is false
         bool    find_http_header_x_forwarded_for(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header all function
+        //! search http header all function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
@@ -141,15 +141,15 @@ protected:
         //! @param  const char*            buffer
         void    increment_stats(const char *buffer);
 
-        //! http statistic infomation
+        //! http statistic information
         http_stats http_stats_info;
 
 public:
 
-        //! constractor
+        //! constructor
         http_protocol_module_base(std::string in_modulename) : protocol_module_base(in_modulename) {};
 
-        //! destractor
+        //! destructor
         virtual    ~http_protocol_module_base() {};
 
         //! get base statistic object.
index 5cbaee3..a7b4a96 100644 (file)
@@ -170,7 +170,7 @@ l7vs::http_utility::check_http_version_and_status_code(
 
 }
 
-//! serch uri function
+//! search uri function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                uri offset
@@ -220,7 +220,7 @@ bool    l7vs::http_utility::find_uri(const char *buffer,
 
 }
 
-//! serch status function
+//! search status function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                status offset
@@ -267,7 +267,7 @@ bool    l7vs::http_utility::find_status_code(const char *buffer,
 
 }
 
-//! serch http header function
+//! search http header function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param const string&        header name
@@ -375,7 +375,7 @@ bool    l7vs::http_utility::find_http_header(const char *buffer,
 
 }
 
-//! serch http header Cookie function
+//! search http header Cookie function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
@@ -450,7 +450,7 @@ bool    l7vs::http_utility::find_http_header_cookie(
 
 }
 
-//! serch http header Content_Length function
+//! search http header Content_Length function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
@@ -530,7 +530,7 @@ bool    l7vs::http_utility::find_http_header_content_length(
 
 }
 
-//! serch http header X_Forwarded_For function
+//! search http header X_Forwarded_For function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
@@ -612,7 +612,7 @@ bool    l7vs::http_utility::find_http_header_x_forwarded_for(
 
 }
 
-//! serch http header all function
+//! search http header all function
 //! @param const char*            buffer
 //! @param const size_t            buffer_len
 //! @param size_t&                header offset
index fcd14f7..29dc085 100644 (file)
@@ -30,17 +30,17 @@ namespace l7vs
 class http_utility
 {
 public:
-        //! constractor
+        //! constructor
         http_utility() {};
 
-        //! destractor
+        //! destructor
         virtual    ~http_utility() {};
 
         //! @enum    CHECK_RESULT_TAG
         //! @brief    check tag is return to http protocol module.
         enum    CHECK_RESULT_TAG {
                 CHECK_OK = 0,            //!< check ok
-                CHECK_NG,                //!< check ng
+                CHECK_NG,                //!< check NG
                 CHECK_IMPOSSIBLE        //!< check impossible
         };
 
@@ -56,7 +56,7 @@ public:
         //! @return CHECK_RESULT_TAG    http version and status code is valid
         static CHECK_RESULT_TAG    check_http_version_and_status_code(const char *, const size_t);
 
-        //! serch uri function
+        //! search uri function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                uri offset
@@ -64,7 +64,7 @@ public:
         //! @return bool                find is true. not find is false
         static bool    find_uri(const char *, const size_t, size_t &, size_t &);
 
-        //! serch status function
+        //! search status function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                status offset
@@ -72,7 +72,7 @@ public:
         //! @return bool                find is true. not find is false
         static bool    find_status_code(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header function
+        //! search http header function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param const string&        header name
@@ -81,7 +81,7 @@ public:
         //! @return bool                find is true. not find is false
         static bool    find_http_header(const char *, const size_t, const std::string &, size_t &, size_t &);
 
-        //! serch http header Cookie function
+        //! search http header Cookie function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
@@ -89,7 +89,7 @@ public:
         //! @return bool                find is true. not find is false
         static bool    find_http_header_cookie(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header Content_Length function
+        //! search http header Content_Length function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
@@ -97,7 +97,7 @@ public:
         //! @return bool                find is true. not find is false
         static bool    find_http_header_content_length(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header X_Forwarded_For function
+        //! search http header X_Forwarded_For function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
@@ -105,7 +105,7 @@ public:
         //! @return bool                find is true. not find is false
         static bool    find_http_header_x_forwarded_for(const char *, const size_t, size_t &, size_t &);
 
-        //! serch http header all function
+        //! search http header all function
         //! @param const char*            buffer
         //! @param const size_t            buffer_len
         //! @param size_t&                header offset
index 85c3d65..cc65947 100644 (file)
@@ -33,15 +33,15 @@ namespace l7vs
         class ip_protocol_module_base : public protocol_module_base
         {
         protected:
-                //! http statistic infomation
+                //! http statistic information
                 http_stats http_stats_info;
 
         public:
 
-                //! constractor
+                //! constructor
                 ip_protocol_module_base(std::string in_modulename) : protocol_module_base(in_modulename) {};
 
-                //! destractor
+                //! destructor
                 virtual    ~ip_protocol_module_base() {};
 
 
index 5dfb8aa..a2f0d94 100644 (file)
@@ -224,7 +224,7 @@ ip_replication_data_processor::~ip_replication_data_processor()
 }
 
 //! put data into temp list
-//! @param[in] ip_replication_temp_data refrence
+//! @param[in] ip_replication_temp_data reference
 void ip_replication_data_processor::put_into_temp_list(
         const ip_replication_temp_data &data)
 {
@@ -264,7 +264,7 @@ void ip_replication_data_processor::write_replication_area()
         /*-------- DEBUG LOG --------*/
         if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                 putLogDebug(600216, "in_function : void ip_replication_data_processor::"
-                            "write_replicaion_area().", __FILE__, __LINE__);
+                            "write_replication_area().", __FILE__, __LINE__);
         }
         /*------DEBUG LOG END------*/
 
@@ -273,7 +273,7 @@ void ip_replication_data_processor::write_replication_area()
                 /*-------- DEBUG LOG --------*/
                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                         putLogDebug(600217, "out_function : void ip_replication_data_processor::"
-                                    "write_replicaion_area().", __FILE__, __LINE__);
+                                    "write_replication_area().", __FILE__, __LINE__);
                 }
                 /*------DEBUG LOG END------*/
                 return;
@@ -304,7 +304,7 @@ void ip_replication_data_processor::write_replication_area()
                                 /*-------- DEBUG LOG --------*/
                                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                                         boost::format formatter("function : void ip_replication_data_processor::"
-                                                                "write_replicaion_area() : 'A' : realserver_ip = %s, "
+                                                                "write_replication_area() : 'A' : realserver_ip = %s, "
                                                                 "realserver_prot = %d, last_time = %d.");
                                         formatter % replication_area[temp_data.ip_hash].realserver_ip % replication_area[temp_data.ip_hash].realserver_port %
                                         replication_area[temp_data.ip_hash].last_time;
@@ -321,7 +321,7 @@ void ip_replication_data_processor::write_replication_area()
                                 /*-------- DEBUG LOG --------*/
                                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                                         boost::format formatter("function : void ip_replication_data_processor::"
-                                                                "write_replicaion_area() : 'U' : last_time = %d.");
+                                                                "write_replication_area() : 'U' : last_time = %d.");
                                         formatter % replication_area[temp_data.ip_hash].last_time;
                                         putLogDebug(600219, formatter.str(), __FILE__, __LINE__);
                                 }
@@ -339,8 +339,8 @@ void ip_replication_data_processor::write_replication_area()
                 if (blocked) {
                         replication_area_unlock();
                 }
-                std::cerr << "ip_replication_data_processor::write_replicaion_area() : exception : error " << e.what() << "." << std::endl;
-                boost::format formatter("function : void ip_replication_data_processor::write_replicaion_area() : "
+                std::cerr << "ip_replication_data_processor::write_replication_area() : exception : error " << e.what() << "." << std::endl;
+                boost::format formatter("function : void ip_replication_data_processor::write_replication_area() : "
                                         "exception : error = %s.");
                 formatter % e.what();
                 putLogError(600111, formatter.str(), __FILE__, __LINE__);
@@ -348,22 +348,22 @@ void ip_replication_data_processor::write_replication_area()
                 if (blocked) {
                         replication_area_unlock();
                 }
-                std::cerr << "ip_replication_data_processor::write_replicaion_area() : exception." << std::endl;
-                putLogError(600112, "function : void ip_replication_data_processor::write_replicaion_area() : "
+                std::cerr << "ip_replication_data_processor::write_replication_area() : exception." << std::endl;
+                putLogError(600112, "function : void ip_replication_data_processor::write_replication_area() : "
                             "Thread_interrupted exception.", __FILE__, __LINE__);
         } catch (...) {
                 if (blocked) {
                         replication_area_unlock();
                 }
-                std::cerr << "ip_replication_data_processor::write_replicaion_area() : Unknown exception." << std::endl;
-                putLogError(600113, "function : void ip_replication_data_processor::write_replicaion_area() : "
+                std::cerr << "ip_replication_data_processor::write_replication_area() : Unknown exception." << std::endl;
+                putLogError(600113, "function : void ip_replication_data_processor::write_replication_area() : "
                             "Unknown exception.", __FILE__, __LINE__);
         }
 
         /*-------- DEBUG LOG --------*/
         if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                 putLogDebug(600220, "out_function : void ip_replication_data_processor::"
-                            "write_replicaion_area().",  __FILE__, __LINE__);
+                            "write_replication_area().",  __FILE__, __LINE__);
         }
         /*------DEBUG LOG END------*/
 }
@@ -434,9 +434,9 @@ void ip_replication_data_processor::register_replication_area_unlock(
 }
 
 //! get data from temp list
-//! @param[out] ip_replication_temp_data refrence
+//! @param[out] ip_replication_temp_data reference
 //! @return  0 : success for get data
-//! @return  -1 : faild to get data
+//! @return  -1 : failed to get data
 int ip_replication_data_processor::get_from_temp_list(
         ip_replication_temp_data &data)
 {
index 1a909a8..6e67e94 100644 (file)
@@ -102,7 +102,7 @@ ip_session_data_processor::~ip_session_data_processor()
 
 //! get endpoint from session data
 //! @param[in] ip hash
-//! @param[out] endpoint refrence
+//! @param[out] endpoint reference
 //! @return 0 : success
 //! @return 1: failed
 //! @return -1:exception
@@ -184,7 +184,7 @@ int ip_session_data_processor::get_endpoint_from_session_data(
 
 //! write session data to session table
 //! @param[in] ip hash
-//! @param[in] endpoint refrence
+//! @param[in] endpoint reference
 //! @param[in] now time
 //! @return 0 : success
 //! @return 1: failed
index ce18923..2ee353f 100644 (file)
@@ -60,14 +60,14 @@ const int protocol_module_ip::COLLECT_STATS_OFF = 0;
 const int protocol_module_ip::COLLECT_STATS_ON = 1;
 
 using namespace boost::xpressive;
-//! constractor
+//! constructor
 protocol_module_ip::protocol_module_ip() :
         ip_protocol_module_base(MODULE_NAME), forwarded_for(FORWARDED_FOR_OFF)
 {
         sorry_uri.assign('\0');
         sorry_uri[0] = '/';
 }
-//! destractor
+//! destructor
 protocol_module_ip::~protocol_module_ip()
 {
 }
@@ -99,7 +99,7 @@ bool protocol_module_ip::is_udp()
         return false;
 }
 
-//! replication interval interrrupt
+//! replication interval interrupt
 //! timer thread call this function. from virtualservice.
 void protocol_module_ip::replication_interrupt()
 {
@@ -150,9 +150,9 @@ void protocol_module_ip::initialize(rs_list_itr_func_type    inlist_begin,
         rs_list_end = inlist_end;
         //RealServer list next function
         rs_list_next = inlist_next;
-        //RealServer list lock funtion
+        //RealServer list lock function
         rs_list_lock = inlist_lock;
-        //RealServer list unlock funtion
+        //RealServer list unlock function
         rs_list_unlock = inlist_unlock;
 
         /*-------- DEBUG LOG --------*/
@@ -174,7 +174,7 @@ void protocol_module_ip::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //RealServer list functions initializtion
+        //RealServer list functions initialization
         //RealServer list begin function
         rs_list_begin.clear();
         //RealServer list end function
@@ -186,8 +186,8 @@ void protocol_module_ip::finalize()
         //RealServer list unlock function
         rs_list_unlock.clear();
 
-        //Replication functions initializtion
-        //component memory allcate function
+        //Replication functions initialization
+        //component memory allocate function
         replication_pay_memory.clear();
         //component memory lock function
         replication_area_lock.clear();
@@ -202,7 +202,7 @@ void protocol_module_ip::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //ScheduleModule's functions initializtion
+        //ScheduleModule's functions initialization
         schedule_tcp.clear();
 
         /*-------- DEBUG LOG --------*/
@@ -212,7 +212,7 @@ void protocol_module_ip::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //Module's option initializtion
+        //Module's option initialization
         //forwarded_for
         forwarded_for = FORWARDED_FOR_OFF;
         //sorry-uri
@@ -256,7 +256,7 @@ void protocol_module_ip::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //logger functions initializtion
+        //logger functions initialization
         //log level getting function
         getloglevel.clear();
         //logger(Fatal)
@@ -297,9 +297,9 @@ void protocol_module_ip::handle_rslist_update()
 }
 
 //! module parameter check.used by l7vsadm
-//! @param[in]    module paramter string list
-//! @return    result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in]    module parameter string list
+//! @return    result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_base::check_message_result protocol_module_ip::check_parameter(const std::vector <
                 std::string > & args)
 {
@@ -360,7 +360,7 @@ protocol_module_base::check_message_result protocol_module_ip::check_parameter(c
                                                 try {
                                                         unsigned long ultimeout = 0;
                                                         ultimeout = boost::lexical_cast<unsigned long>(*it);
-                                                        // int maxvalue check
+                                                        // int max value check
                                                         if (ultimeout > INT_MAX) {
                                                                 check_result.flag = false;
                                                                 formatter.parse("'-T/--timeout' option value '%s' is too large.");
@@ -410,7 +410,7 @@ protocol_module_base::check_message_result protocol_module_ip::check_parameter(c
                                         // not set reschedule flag
                                         no_reschedule_flag = true;
                                 } else {
-                                        // already set reshcedule flag
+                                        // already set reschedule flag
                                         check_result.flag = false;
                                         check_result.message = "You have to choose either of reschedule or no-reschedule.";
                                         putLogError(600004, check_result.message, __FILE__, __LINE__);
@@ -586,9 +586,9 @@ protocol_module_base::check_message_result protocol_module_ip::check_parameter(c
 }
 
 //! parameter set
-//! @param[in] module paramter string list
-//! @return    result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in] module parameter string list
+//! @return    result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_base::check_message_result protocol_module_ip::set_parameter(const std::vector <
                std::string > & args)
 {
@@ -652,7 +652,7 @@ protocol_module_base::check_message_result protocol_module_ip::set_parameter(con
                                                try {
                                                        unsigned long ultimeout = 0;
                                                        ultimeout = boost::lexical_cast<unsigned long>(*it);
-                                                       // int maxvalue check
+                                                       // int max value check
                                                        if (ultimeout > INT_MAX) {
                                                                check_result.flag = false;
                                                                formatter.parse("'-T/--timeout' option value '%s' is too large.");
@@ -707,7 +707,7 @@ protocol_module_base::check_message_result protocol_module_ip::set_parameter(con
                                        reschedule = 0;
 
                                } else {
-                                       // already set reshcedule flag
+                                       // already set reschedule flag
                                        check_result.flag = false;
                                        check_result.message = "You have to choose either of reschedule or no-reschedule.";
                                        putLogError(600017, check_result.message, __FILE__, __LINE__);
@@ -858,12 +858,12 @@ protocol_module_base::check_message_result protocol_module_ip::set_parameter(con
 
                // result check
                if (check_result.flag) {
-                       // set timeout's default value
+                       // set timeout default value
                        if (!timeout_flag) {
                                timeout = 3600;
                        }
 
-                       // set reschedule's default value
+                       // set reschedule default value
                        if (!reschedule_flag) {
                                reschedule = 0;
                        }
@@ -1073,9 +1073,9 @@ protocol_module_base::check_message_result protocol_module_ip::set_parameter(con
 }
 
 //! parameter add
-//! @param[in] module paramter string list
-//! @return    result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in] module parameter string list
+//! @return    result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_base::check_message_result protocol_module_ip::add_parameter(const std::vector <
                 std::string > & args)
 {
@@ -1117,7 +1117,7 @@ protocol_module_base::check_message_result protocol_module_ip::add_parameter(con
 }
 
 //! get option info
-//! @param[out] module paramter string
+//! @param[out] module parameter string
 void protocol_module_ip::get_option_info(std::string &option)
 {
         /*-------- DEBUG LOG --------*/
@@ -1142,7 +1142,7 @@ void protocol_module_ip::get_option_info(std::string &option)
         /*------DEBUG LOG END------*/
 }
 
-//! TCP/IP scheduled function registation.
+//! TCP/IP scheduled function registration.
 //! @param[in] schedule module TCP/IP scheduled function object type
 void protocol_module_ip::register_schedule(tcp_schedule_func_type inschedule)
 {
@@ -1161,8 +1161,8 @@ void protocol_module_ip::register_schedule(tcp_schedule_func_type inschedule)
         /*------DEBUG LOG END------*/
 }
 
-//! UDP scheduled function registation
-//! @param[in] schedule module UDP scheduled funtion object type
+//! UDP scheduled function registration
+//! @param[in] schedule module UDP scheduled function object type
 void protocol_module_ip::register_schedule(udp_schedule_func_type inschedule)
 {
         /*-------- DEBUG LOG --------*/
@@ -1173,7 +1173,7 @@ void protocol_module_ip::register_schedule(udp_schedule_func_type inschedule)
         /*------DEBUG LOG END------*/
 }
 
-//! called from session initialzie use in upstream_thread
+//! called from session initialize use in upstream_thread
 //! @param[in]    upstream thread id.
 //! @param[in]    downstream thread id
 //! @return        session use EVENT mode.
@@ -1570,7 +1570,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_accept(const boost::t
 
 //! called from after session recv in client socket. use in upstream thread.
 //! @param[in]    upstream thread id
-//! @param[in]    receive buffer refarence.
+//! @param[in]    receive buffer reference.
 //! @param[in]    receive length
 //! @return        session use EVENT mode.
 protocol_module_base::EVENT_TAG protocol_module_ip::handle_client_recv(const boost::thread::id thread_id,
@@ -2139,7 +2139,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_realserver_select(
 //! called from after realserver select
 //! @param[in]    upstream thread id
 //! @param[out]    realserver UDP endpoint
-//! @param[out]    sendbuffer reference
+//! @param[out]    send buffer reference
 //! @param[out]    send data length
 //! @return        session use EVENT mode.
 protocol_module_base::EVENT_TAG protocol_module_ip::handle_realserver_select(
@@ -2711,7 +2711,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_realserver_send(
 
 //! called from after sorryserver select
 //! @param[in]    upstream thread id
-//! @param[in]    sorryserver endpiont reference
+//! @param[in]    sorryserver endpoint reference
 //! @return        session use EVENT mode.
 protocol_module_base::EVENT_TAG protocol_module_ip::handle_sorryserver_select(
         const boost::thread::id thread_id, boost::asio::ip::tcp::endpoint &sorry_endpoint)
@@ -3396,7 +3396,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_realserver_recv(
         return STOP;
 }
 
-//! called from after realserver recvive for TCP/IP
+//! called from after realserver receive for TCP/IP
 //! @param[in]    downstream thread id
 //! @param[in]    realserver TCP/IP endpoint reference
 //! @param[in]    realserver receive buffer reference.
@@ -4002,7 +4002,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_sorryserver_recv(
 
 }
 
-//! called from UPSTEEARM thread. make module original message.
+//! called from UPSTREAM thread. make module original message.
 //! @param[in]    downstream thread id.
 //! @return     session use EVENT mode
 protocol_module_base::EVENT_TAG protocol_module_ip::handle_response_send_inform(
@@ -4023,7 +4023,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_response_send_inform(
 
 //! called from after client connection check. use TCP/IP only. create client send message.
 //! @param[in]    downstream thread id
-//! @param[out]    send budffer reference
+//! @param[out]    send buffer reference
 //! @param[out]    send data length
 //! @return     session use EVENT mode
 protocol_module_base::EVENT_TAG protocol_module_ip::handle_client_connection_check(
@@ -4583,7 +4583,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_sorry_enable(
                                         }
                                         //data state is HTTP_BODY or UNKNOWN
                                         else {
-                                                //set ebd flag on
+                                                //set end flag on
                                                 session_data_ptr->end_flag = END_FLAG_ON;
 
                                                 /*-------- DEBUG LOG --------*/
@@ -5052,7 +5052,7 @@ protocol_module_base::EVENT_TAG protocol_module_ip::handle_realserver_disconnect
         return status;
 }
 
-//! call from sorry server disconnect. use upstraem thread and downstream thread
+//! call from sorry server disconnect. use upstream thread and downstream thread
 //! @param[in]    upstream and downstream thread id( check! one thread one event )
 //! @param[in]    disconnect sorryserver endpoint
 //! @return        session use EVENT mode
@@ -5225,7 +5225,7 @@ bool  protocol_module_ip::get_data_from_recvbuffer(
 
         char *tmpbuffer = NULL;
 
-        //pointer volidate check
+        //pointer validate check
         if (unlikely(data_ptr == NULL || data_ptr->data_buffer == NULL)) {
                 boost::format formatter("Invalid pointer. thread id : %d.");
                 formatter % boost::this_thread::get_id();
@@ -5289,7 +5289,7 @@ bool  protocol_module_ip::get_data_from_recvbuffer(
                 /*------DEBUG LOG END------*/
                 return true;
         } else {
-                //the new data can append to buffer through moving orignal data
+                //the new data can append to buffer through moving original data
                 if (data_ptr->data_buffer_size - data_ptr->data_length >= recvlen) {
                         memmove(data_ptr->data_buffer, data_ptr->data_buffer + data_ptr->data_offset, data_ptr->data_length);
                         /*-------- DEBUG LOG --------*/
@@ -5653,7 +5653,7 @@ bool protocol_module_ip::create_x_forwarded_for(const std::string &client_endpoi
         size_t http_header_all_len    = 0;
         const char *X_FORWARDED_FOR    = "X-Forwarded-For";
 
-        //search "X-Forwared-For" header
+        //search "X-Forwarded-For" header
         find_ret = http_utility::find_http_header_x_forwarded_for(buffer, buffer_len,
                         x_forwarded_for_offset, x_forwarded_for_len);
 
@@ -5667,9 +5667,9 @@ bool protocol_module_ip::create_x_forwarded_for(const std::string &client_endpoi
         }
         /*------DEBUG LOG END------*/
 
-        //search "X-Forwared-For" result is OK
+        //search "X-Forwarded-For" result is OK
         if (find_ret) {
-                //create "X-Forwared-For" string
+                //create "X-Forwarded-For" string
                 x_forwarded_for_insert_pos = x_forwarded_for_offset + x_forwarded_for_len;
                 x_forwarded_for_context = ", ";
                 x_forwarded_for_context += client_endpoint;
@@ -5701,7 +5701,7 @@ bool protocol_module_ip::create_x_forwarded_for(const std::string &client_endpoi
         }
         /*------DEBUG LOG END------*/
 
-        //create "X-Forwared-For" string
+        //create "X-Forwarded-For" string
         x_forwarded_for_insert_pos = http_header_all_offset;
         x_forwarded_for_context = X_FORWARDED_FOR;
         x_forwarded_for_context += ": ";
@@ -5723,7 +5723,7 @@ bool protocol_module_ip::create_x_forwarded_for(const std::string &client_endpoi
 
 
 
-}//namesapce l7vsd
+}//namespace l7vsd
 
 extern "C" l7vs::protocol_module_base*
 create_module()
index 2737163..6b0ee4e 100644 (file)
@@ -63,14 +63,14 @@ const int protocol_module_sessionless::FORWARDED_FOR_ON = 1;
 const int protocol_module_sessionless::COLLECT_STATS_OFF = 0;
 const int protocol_module_sessionless::COLLECT_STATS_ON = 1;
 
-//! constractor
+//! constructor
 protocol_module_sessionless::protocol_module_sessionless() :
         http_protocol_module_base(MODULE_NAME), forwarded_for(FORWARDED_FOR_OFF)
 {
         sorry_uri.assign('\0');
         sorry_uri[0] = '/';
 }
-//! destractor
+//! destructor
 protocol_module_sessionless::~protocol_module_sessionless()
 {
 }
@@ -102,7 +102,7 @@ bool protocol_module_sessionless::is_udp()
         return false;
 }
 
-//! replication interval interrrupt
+//! replication interval interrupt
 //! timer thread call this function. from virtualservice.
 void protocol_module_sessionless::replication_interrupt()
 {
@@ -140,9 +140,9 @@ void protocol_module_sessionless::initialize(rs_list_itr_func_type    inlist_beg
         rs_list_end = inlist_end;
         //RealServer list next function
         rs_list_next = inlist_next;
-        //RealServer list lock funtion
+        //RealServer list lock function
         rs_list_lock = inlist_lock;
-        //RealServer list unlock funtion
+        //RealServer list unlock function
         rs_list_unlock = inlist_unlock;
 
         /*-------- DEBUG LOG --------*/
@@ -165,7 +165,7 @@ void protocol_module_sessionless::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //RealServer list functions initializtion
+        //RealServer list functions initialization
         //RealServer list begin function
         rs_list_begin.clear();
         //RealServer list end function
@@ -185,8 +185,8 @@ void protocol_module_sessionless::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //Replication functions initializtion
-        //component memory allcate function
+        //Replication functions initialization
+        //component memory allocate function
         replication_pay_memory.clear();
         //component memory lock function
         replication_area_lock.clear();
@@ -201,7 +201,7 @@ void protocol_module_sessionless::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //ScheduleModule's functions initializtion
+        //ScheduleModule's functions initialization
         schedule_tcp.clear();
 
         /*-------- DEBUG LOG --------*/
@@ -212,7 +212,7 @@ void protocol_module_sessionless::finalize()
         }
         /*------DEBUG LOG END------*/
 
-        //Module's option initializtion
+        //Module's option initialization
         //forwarded_for
         forwarded_for = FORWARDED_FOR_OFF;
         //sorry-uri
@@ -232,7 +232,7 @@ void protocol_module_sessionless::finalize()
         /*------DEBUG LOG END------*/
 
 
-        //logger functions initializtion
+        //logger functions initialization
         //log level getting function
         getloglevel.clear();
         //logger(Fatal)
@@ -273,9 +273,9 @@ void protocol_module_sessionless::handle_rslist_update()
 }
 
 //! module parameter check.used by l7vsadm
-//! @param[in]    module paramter string list
-//! @return    result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in]    module parameter string list
+//! @return    result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_base::check_message_result protocol_module_sessionless::check_parameter(const std::vector <
                 std::string > & args)
 {
@@ -485,9 +485,9 @@ protocol_module_base::check_message_result protocol_module_sessionless::check_pa
 }
 
 //! parameter set
-//! @param[in] module paramter string list
-//! @return    result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in] module parameter string list
+//! @return    result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_base::check_message_result protocol_module_sessionless::set_parameter(const std::vector <
                 std::string > & args)
 {
@@ -721,9 +721,9 @@ protocol_module_base::check_message_result protocol_module_sessionless::set_para
 }
 
 //! parameter add
-//! @param[in] module paramter string list
-//! @return    result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in] module parameter string list
+//! @return    result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_base::check_message_result protocol_module_sessionless::add_parameter(const std::vector <
                 std::string > & args)
 {
@@ -769,7 +769,7 @@ protocol_module_base::check_message_result protocol_module_sessionless::add_para
 }
 
 //! get option info
-//! @param[out] module paramter string
+//! @param[out] module parameter string
 void protocol_module_sessionless::get_option_info(std::string &option)
 {
         /*-------- DEBUG LOG --------*/
@@ -794,7 +794,7 @@ void protocol_module_sessionless::get_option_info(std::string &option)
         /*------DEBUG LOG END------*/
 }
 
-//! TCP/IP scheduled function registation.
+//! TCP/IP scheduled function registration.
 //! @param[in] schedule module TCP/IP scheduled function object type
 void protocol_module_sessionless::register_schedule(tcp_schedule_func_type inschedule)
 {
@@ -813,8 +813,8 @@ void protocol_module_sessionless::register_schedule(tcp_schedule_func_type insch
         /*------DEBUG LOG END------*/
 }
 
-//! UDP scheduled function registation
-//! @param[in] schedule module UDP scheduled funtion object type
+//! UDP scheduled function registration
+//! @param[in] schedule module UDP scheduled function object type
 void protocol_module_sessionless::register_schedule(udp_schedule_func_type inschedule)
 {
         /*-------- DEBUG LOG --------*/
@@ -826,7 +826,7 @@ void protocol_module_sessionless::register_schedule(udp_schedule_func_type insch
         /*------DEBUG LOG END------*/
 }
 
-//! called from session initialzie use in upstream_thread
+//! called from session initialize use in upstream_thread
 //! @param[in]    upstream thread id.
 //! @param[in]    downstream thread id
 //! @return        session use EVENT mode.
@@ -1142,7 +1142,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_accept(const
 
 //! called from after session recv in client socket. use in upstream thread.
 //! @param[in]    upstream thread id
-//! @param[in]    receive buffer refarence.
+//! @param[in]    receive buffer reference.
 //! @param[in]    receive length
 //! @return        session use EVENT mode.
 protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_recv(const boost::thread::id thread_id,
@@ -1338,7 +1338,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_recv(
                                 if (recv_data.receive_buffer_max_size < data_remain_size + recvlen) {
                                         //the buffer's size that will be allocated is exceed the upper limit value
                                         if (MAX_SESSIONLESS_MODULE_BUFFER_SIZE < data_remain_size + recvlen) {
-                                                std::cerr << "protocol_module_sessionless::handle_client_recv() : the buffer's size that will be allacted is exceed the upper limit value." << std::endl;
+                                                std::cerr << "protocol_module_sessionless::handle_client_recv() : the buffer's size that will be allocated is exceed the upper limit value." << std::endl;
                                                 boost::format formatter("The buffer's size that will be allocated is exceed the upper limit value. thread id : %d.");
                                                 formatter % boost::this_thread::get_id();
                                                 putLogError(100030, formatter.str(), __FILE__, __LINE__);
@@ -1463,7 +1463,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_recv(
                                         //set new buffer's max size
                                         recv_data.receive_buffer_max_size = buffer_size;
                                 }
-                                //buffer's max size >= remain data size + requst size
+                                //buffer's max size >= remain data size + request size
                                 //buffer isn't need reallocate, but switch
                                 else {
                                         //pointer valid check
@@ -1533,7 +1533,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_recv(
                                         }
                                         //using buffer is buffer2
                                         else {
-                                                //buffer1 initializtion
+                                                //buffer1 initialization
                                                 memset(recv_data.receive_buffer1, 0, recv_data.receive_buffer_max_size);
                                                 /*-------- DEBUG LOG --------*/
                                                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
@@ -1893,7 +1893,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_recv(
                                 //add new status to status_list
                                 recv_data.send_status_list.push_back(new_send_state);
                                 std::list<send_status>::reverse_iterator new_send_it = recv_data.send_status_list.rbegin();
-                                //cacl offset
+                                //calc offset
                                 new_send_it->send_offset = recv_data.receive_buffer_max_size - recv_data.receive_buffer_rest_size
                                                            - request_data_remain_size;
 
@@ -2478,7 +2478,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_c
                                         it->edit_division = EDIT_DIVISION_NO_EDIT;
 
                                         if (send_buffer_remian_size > 0 && it->send_possible_size > 0) {
-                                                //send_buffer_remian_size is larger
+                                                //send_buffer_remain_size is larger
                                                 if (send_buffer_remian_size >= it->send_possible_size) {
                                                         copy_size = it->send_possible_size;
                                                         /*-------- DEBUG LOG --------*/
@@ -2564,10 +2564,10 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_c
                                 }
                                 //edit_data_list is not empty
                                 else {
-                                        //find the item in the list which has mininum insert_posission
+                                        //find the item in the list which has minimum insert_position
                                         std::list<edit_data>::iterator edit_min = std::min_element(it->edit_data_list.begin(),
                                                         it->edit_data_list.end());
-                                        //send_buffer_remian_size is larger than data that before X-Forwarded-For
+                                        //send_buffer_remain_size is larger than data that before X-Forwarded-For
                                         if (send_buffer_remian_size >= edit_min->insert_posission - it->send_end_size) {
                                                 //copy data before X-Forwarded-For
                                                 copy_size = edit_min->insert_posission - it->send_end_size;
@@ -2649,7 +2649,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_c
                                                         break;
                                                 }
                                         }
-                                        //data that before X-Forwarded-For is larger than send_buffer_remian_size
+                                        //data that before X-Forwarded-For is larger than send_buffer_remain_size
                                         else {
                                                 copy_size = send_buffer_remian_size;
                                                 /*-------- DEBUG LOG --------*/
@@ -2776,7 +2776,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_c
                         }
                 }
 
-                //set copyed data length
+                //set copied data length
                 datalen = send_buffer_end_size - send_buffer_remian_size;
                 status = REALSERVER_SEND;
         } catch (int e) {
@@ -2978,7 +2978,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_s
                         //offset recalc
                         it->send_offset += it->send_end_size;
 
-                        //insert_posission recalc
+                        //insert_position recalc
                         for (std::list<edit_data>::iterator list_it = it->edit_data_list.begin(); list_it
                              != it->edit_data_list.end(); ++list_it) {
                                 list_it->insert_posission -= it->send_end_size;
@@ -3053,7 +3053,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_s
 
 //! called from after sorryserver select
 //! @param[in]    upstream thread id
-//! @param[in]    sorryserver endpiont reference
+//! @param[in]    sorryserver endpoint reference
 //! @return        session use EVENT mode.
 protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_select(
         const boost::thread::id thread_id, boost::asio::ip::tcp::endpoint &sorry_endpoint)
@@ -3360,7 +3360,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                                         it->edit_division = EDIT_DIVISION_NO_EDIT;
 
                                         if (send_buffer_remian_size > 0 && it->send_possible_size > 0) {
-                                                //send_buffer_remian_size is larger
+                                                //send_buffer_remain_size is larger
                                                 if (send_buffer_remian_size > it->send_possible_size) {
                                                         //copy data from receive_buffer to sendbuffer by sending_possible size
                                                         copy_size = it->send_possible_size;
@@ -3443,10 +3443,10 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                                 }
                                 //edit_data_list is not empty
                                 else {
-                                        //search item which insert_posission is mininum
+                                        //search item which insert_position is minimum
                                         std::list<edit_data>::iterator edit_min = std::min_element(it->edit_data_list.begin(),
                                                         it->edit_data_list.end());
-                                        //send_buffer_remian_size is larger than data that before X-Forwarded-For/uri
+                                        //send_buffer_remain_size is larger than data that before X-Forwarded-For/uri
                                         if (send_buffer_remian_size >= edit_min->insert_posission - it->send_end_size) {
                                                 //copy data before X-Forwarded-For/url
                                                 copy_size = edit_min->insert_posission - it->send_end_size;
@@ -3528,7 +3528,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                                                         break;
                                                 }
                                         }
-                                        //data that before X-Forwarded-For/uri is larger than send_buffer_remian_size
+                                        //data that before X-Forwarded-For/uri is larger than send_buffer_remain_size
                                         else {
                                                 copy_size = send_buffer_remian_size;
                                                 /*-------- DEBUG LOG --------*/
@@ -3658,7 +3658,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                         }
                 }
 
-                //set copyed data length
+                //set copied data length
                 datalen = send_buffer_end_size - send_buffer_remian_size;
 
                 status = SORRYSERVER_SEND;
@@ -3867,7 +3867,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                         //offset recalc
                         it->send_offset += it->send_end_size;
 
-                        //insert_posission recalc
+                        //insert_position recalc
                         for (std::list<edit_data>::iterator list_it = it->edit_data_list.begin(); list_it
                              != it->edit_data_list.end(); ++list_it) {
                                 list_it->insert_posission -= it->send_end_size;
@@ -3878,12 +3878,12 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                 }
                 //sending possible data is not exist
                 else {
-                        //can receive from clent continue
+                        //can receive from client continue
                         if (it->send_rest_size > 0) {
                                 //change status from SEND_OK to SEND_CONTINUE
                                 it->status = SEND_CONTINUE;
                         }
-                        //can not receive from clent continue
+                        //can not receive from client continue
                         else {
                                 //change status from SEND_OK to SEND_END
                                 it->status = SEND_END;
@@ -3965,7 +3965,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_r
         return STOP;
 }
 
-//! called from after realserver recvive for TCP/IP
+//! called from after realserver receive for TCP/IP
 //! @param[in]    downstream thread id
 //! @param[in]    realserver TCP/IP endpoint reference
 //! @param[in]    realserver receive buffer reference.
@@ -4161,7 +4161,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_r
                         if (recv_data.receive_buffer_max_size < data_remain_size + recvlen) {
                                 //the buffer's size that will be allocated is exceed the upper limit value
                                 if (MAX_SESSIONLESS_MODULE_BUFFER_SIZE < data_remain_size + recvlen) {
-                                        std::cerr << "protocol_module_sessionless::handle_realserver_recv() : the buffer's size that will be allacted is exceed the upper limit value." << std::endl;
+                                        std::cerr << "protocol_module_sessionless::handle_realserver_recv() : the buffer's size that will be allocated is exceed the upper limit value." << std::endl;
                                         boost::format formatter("The buffer's size that will be allocated is exceed the upper limit value. thread id : %d.");
                                         formatter % boost::this_thread::get_id();
                                         putLogError(100083, formatter.str(), __FILE__, __LINE__);
@@ -4290,7 +4290,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_r
                                 //set new buffer's max size
                                 recv_data.receive_buffer_max_size = buffer_size;
                         }
-                        //buffer's max size >= remain data size + requst size
+                        //buffer's max size >= remain data size + request size
                         //buffer isn't need reallocate, but switch
                         else {
                                 //pointer valid check
@@ -5132,7 +5132,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                         if (recv_data.receive_buffer_max_size < data_remain_size + recvlen) {
                                 //the buffer's size that will be allocated is exceed the upper limit value
                                 if (MAX_SESSIONLESS_MODULE_BUFFER_SIZE < data_remain_size + recvlen) {
-                                        std::cerr << "protocol_module_sessionless::handle_sorryserver_recv() : the buffer's size that will be allacted is exceed the upper limit value." << std::endl;
+                                        std::cerr << "protocol_module_sessionless::handle_sorryserver_recv() : the buffer's size that will be allocated is exceed the upper limit value." << std::endl;
                                         boost::format formatter("The buffer's size that will be allocated is exceed the upper limit value. thread id : %d.");
                                         formatter % boost::this_thread::get_id();
                                         putLogError(100094, formatter.str(), __FILE__, __LINE__);
@@ -5257,7 +5257,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                                 //set new buffer's max size
                                 recv_data.receive_buffer_max_size = buffer_size;
                         }
-                        //buffer's max size >= remain data size + requst size
+                        //buffer's max size >= remain data size + request size
                         //buffer isn't need reallocate, but switch
                         else {
                                 //pointer valid check
@@ -5327,7 +5327,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                                 }
                                 //using buffer is buffer2
                                 else {
-                                        //buffer1 initializtion
+                                        //buffer1 initialization
                                         memset(recv_data.receive_buffer1, 0, recv_data.receive_buffer_max_size);
                                         /*-------- DEBUG LOG --------*/
                                         if (unlikely(LOG_LV_DEBUG == getloglevel())) {
@@ -5652,7 +5652,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
                         //add new status to status_list
                         recv_data.send_status_list.push_back(new_send_state);
                         std::list<send_status>::reverse_iterator new_send_it = recv_data.send_status_list.rbegin();
-                        //cacl offset
+                        //calc offset
                         new_send_it->send_offset = recv_data.receive_buffer_max_size - recv_data.receive_buffer_rest_size
                                                    - request_data_remain_size;
 
@@ -5885,7 +5885,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorryserver_
         return status;
 }
 
-//! called from UPSTEEARM thread. make module original message.
+//! called from UPSTREAM thread. make module original message.
 //! @param[in]    downstream thread id.
 //! @return     session use EVENT mode
 protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_response_send_inform(
@@ -5905,7 +5905,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_response_sen
 
 //! called from after client connection check. use TCP/IP only. create client send message.
 //! @param[in]    downstream thread id
-//! @param[out]    send budffer reference
+//! @param[out]    send buffer reference
 //! @param[out]    send data length
 //! @return     session use EVENT mode
 protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_connection_check(
@@ -5996,7 +5996,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_conne
                         /*------DEBUG LOG END------*/
                         //send_end_size recalc
                         it->send_end_size = it->send_possible_size;
-                        //set copyed data length
+                        //set copied data length
                         datalen = it->send_possible_size;
                         //sending_possible size recalc
                         it->send_possible_size = 0;
@@ -6035,7 +6035,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_conne
                         it->send_end_size = send_buffer_size;
                         //sending_possible size recalc
                         it->send_possible_size -= send_buffer_size;
-                        //set copyed data length
+                        //set copied data length
                         datalen = send_buffer_size;
                 }
 
@@ -6180,12 +6180,12 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_client_send(
                 }
                 //sending possible data is not exist
                 else {
-                        //can receive from clent continue
+                        //can receive from client continue
                         if (it->send_rest_size > 0) {
                                 //change status from SEND_OK to SEND_CONTINUE
                                 it->status = SEND_CONTINUE;
                         }
-                        //can not receive from clent continue
+                        //can not receive from client continue
                         else {
                                 //change status from SEND_OK to SEND_END
                                 it->status = SEND_END;
@@ -6457,7 +6457,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorry_enable
                                         }
                                         /*------DEBUG LOG END------*/
 
-                                        //sending ng data is exist or send_rest_size > 0
+                                        //sending NG data is exist or send_rest_size > 0
                                         if (send_disable) {
                                                 //set end flag on
                                                 session_data->end_flag = END_FLAG_ON;
@@ -6592,7 +6592,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorry_disabl
                                 send_possible = true;
                         }
 
-                        //sending ng data is exist or send_rest_size > 0
+                        //sending NG data is exist or send_rest_size > 0
                         it = find_if(recv_data.send_status_list.begin(), recv_data.send_status_list.end(), data_send_disable());
                         if (it != recv_data.send_status_list.end()) {
                                 send_disable = true;
@@ -6697,7 +6697,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_sorry_disabl
                                                 putLogDebug(100244, formatter.str(), __FILE__, __LINE__);
                                         }
                                         /*------DEBUG LOG END------*/
-                                        //sending ng data is exist or send_rest_size > 0
+                                        //sending NG data is exist or send_rest_size > 0
                                         if (send_disable) {
                                                 //set end flag on
                                                 session_data->end_flag = END_FLAG_ON;
@@ -6952,7 +6952,7 @@ protocol_module_base::EVENT_TAG protocol_module_sessionless::handle_realserver_d
         return status;
 }
 
-//! call from sorry server disconnect. use upstraem thread and downstream thread
+//! call from sorry server disconnect. use upstream thread and downstream thread
 //! @param[in]    upstream and downstream thread id( check! one thread one event )
 //! @param[in]    disconnect sorryserver endpoint
 //! @return        session use EVENT mode
index d5723a7..ce3fa9e 100644 (file)
@@ -232,8 +232,8 @@ bool protocol_module_sslid::is_use_sorry()
 }
 
 //! module parameter check.used by l7vsadm
-//! @param[in] module paramter string list
-//! @return result.flag true is parameter is noproblem.
+//! @param[in] module parameter string list
+//! @return result.flag true is parameter is no problem.
 //! @return result.flag false is parameter is problem.
 protocol_module_sslid::check_message_result protocol_module_sslid::check_parameter(
         const std::vector<std::string>& args)
@@ -377,7 +377,7 @@ protocol_module_sslid::check_message_result protocol_module_sslid::check_paramet
                                         // not set reschedule flag
                                         no_reschedule_flag = true;
                                 } else {
-                                        // already set reshcedule flag
+                                        // already set reschedule flag
                                         result.flag = false;
                                         result.message = "You have to choose either of reschedule or no-reschedule.";
                                         putLogError(300007, result.message, __FILE__, __LINE__);
@@ -421,9 +421,9 @@ protocol_module_sslid::check_message_result protocol_module_sslid::check_paramet
 }
 
 //! parameter set
-//! @param[in] module paramter string list
-//! @return result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in] module parameter string list
+//! @return result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_sslid::check_message_result protocol_module_sslid::set_parameter(
         const std::vector<std::string>& args)
 {
@@ -572,7 +572,7 @@ protocol_module_sslid::check_message_result protocol_module_sslid::set_parameter
                                         no_reschedule_flag = true;
                                         reschedule = 0;
                                 } else {
-                                        // already set reshcedule flag
+                                        // already set reschedule flag
                                         result.flag = false;
                                         result.message = "You have to choose either of reschedule or no-reschedule.";
                                         putLogError(300018, result.message, __FILE__, __LINE__);
@@ -591,17 +591,17 @@ protocol_module_sslid::check_message_result protocol_module_sslid::set_parameter
 
                 // result check
                 if (result.flag) {
-                        // set timeout's default value
+                        // set timeout default value
                         if (!timeout_flag) {
                                 timeout = 3600;
                         }
 
-                        // set maxlist's default value
+                        // set maxlist default value
                         if (!maxlist_flag) {
                                 maxlist = 1024;
                         }
 
-                        // set reschedule's default value
+                        // set reschedule default value
                         if (!reschedule_flag) {
                                 reschedule = 0;
                         }
@@ -801,9 +801,9 @@ protocol_module_sslid::check_message_result protocol_module_sslid::set_parameter
 }
 
 //! parameter add
-//! @param[in] module paramter string list
-//! @return result.flag true is parameter is noproblem.
-//! @return result.flag false is paramter is problem.
+//! @param[in] module parameter string list
+//! @return result.flag true is parameter is no problem.
+//! @return result.flag false is parameter is problem.
 protocol_module_sslid::check_message_result protocol_module_sslid::add_parameter(
         const std::vector<std::string>& args)
 {
@@ -844,7 +844,7 @@ protocol_module_sslid::check_message_result protocol_module_sslid::add_parameter
 }
 
 //! get option info
-//! @param[out] module paramter string
+//! @param[out] module parameter string
 void protocol_module_sslid::get_option_info(std::string &option)
 {
         /*-------- DEBUG LOG --------*/
@@ -879,7 +879,7 @@ void protocol_module_sslid::handle_rslist_update()
         /*------DEBUG LOG END------*/
 }
 
-//! TCP/IP scheduled function registation.
+//! TCP/IP scheduled function registration.
 //! @param[in] schedule module TCP/IP scheduled function object type
 void protocol_module_sslid::register_schedule(tcp_schedule_func_type inschedule)
 {
@@ -900,8 +900,8 @@ void protocol_module_sslid::register_schedule(tcp_schedule_func_type inschedule)
         /*------DEBUG LOG END------*/
 }
 
-//! UDP scheduled function registation
-//! @param[in] schedule module UDP scheduled funtion object type
+//! UDP scheduled function registration
+//! @param[in] schedule module UDP scheduled function object type
 void protocol_module_sslid::register_schedule(udp_schedule_func_type inschedule)
 {
         /*-------- DEBUG LOG --------*/
@@ -912,7 +912,7 @@ void protocol_module_sslid::register_schedule(udp_schedule_func_type inschedule)
         /*------DEBUG LOG END------*/
 }
 
-//! called from session initialzie use in upstream_thread
+//! called from session initialize use in upstream_thread
 //! @param[in] upstream thread id.
 //! @param[in] downstream thread id
 //! @return session use EVENT mode(ACCEPT, FINALIZE).
@@ -965,7 +965,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_session_initialize
                         // data dump
                         boost::format formatter("function : protocol_module_base::EVENT_TAG protocol_module_sslid::"
                                                 "handle_session_initialize() : session_thread_data_sslid(upthread) : "
-                                                "data_begain_offset = %d, data_size = %d, current_record_rest_size = %d, "
+                                                "data_begin_offset = %d, data_size = %d, current_record_rest_size = %d, "
                                                 "hello_message_flag = %d, sorry_flag = %d, end_flag = %d, accept_flag = %d, "
                                                 "thread_division = %d, pair_thread_id = %d, last_status = %d.");
                         formatter % threaddata_up->data_begain_offset
@@ -1008,7 +1008,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_session_initialize
                         // data_dump
                         boost::format formatter("function : protocol_module_base::EVENT_TAG protocol_module_sslid::"
                                                 "handle_session_initialize() : session_thread_data_sslid(downthread) : "
-                                                "data_begain_offset = %d, data_size = %d, current_record_rest_size = %d, "
+                                                "data_begin_offset = %d, data_size = %d, current_record_rest_size = %d, "
                                                 "hello_message_flag = %d, sorry_flag = %d, end_flag = %d, accept_flag = %d, "
                                                 "thread_division = %d, pair_thread_id = %d, last_status = %d.");
                         formatter % threaddata_down->data_begain_offset
@@ -1229,7 +1229,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_accept(
 
 //! called from after session recv in client socket. use in upstream thread.
 //! @param[in] upstream thread id
-//! @param[in] receive buffer refarence.
+//! @param[in] receive buffer reference.
 //! @param[in] receive length
 //! @return session use EVENT mode(CLIENT_RECV, REALSERVER_SELECT, FINALIZE).
 protocol_module_base::EVENT_TAG protocol_module_sslid::handle_client_recv(
@@ -1398,7 +1398,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_client_recv(
                                         status = CLIENT_RECV;
                                 } else {
                                         // the data can be sent, set the status REALSERVER_SELECT
-                                        // set client helloworld shakehand flag
+                                        // set client hello shakehand flag
                                         threaddata->hello_message_flag = ishellomessage;
                                         threaddata->current_record_rest_size = alllength;
 
@@ -1537,7 +1537,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_select(
                         }
                         /*------DEBUG LOG END------*/
 
-                        // first connection get sessionid from the data buffer
+                        // first connection get session id from the data buffer
                         std::string session_id;
                         if (threaddata->hello_message_flag &&
                             (get_ssl_session_id(threaddata->data_buffer.data() + threaddata->data_begain_offset,
@@ -1570,7 +1570,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_select(
                         /*------DEBUG LOG END------*/
 
                         if (session_id.empty()) {
-                                // no session id in hellomesseage
+                                // no session id in hello message
                                 // schedule the endpoint
                                 boost::asio::ip::tcp::endpoint temp_endpoint;
                                 boost::asio::ip::tcp::endpoint comp_endpoint;   // for compare the endpoint
@@ -1600,7 +1600,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_select(
                                         /*------DEBUG LOG END------*/
                                 }
                         } else {
-                                // the session id is in the hellomessage
+                                // the session id is in the hello message
                                 // try to get the endpoint from session data by session id
                                 int ret = session_data_processor->get_endpoint_from_session_data(
                                                   session_id,
@@ -1807,7 +1807,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_select(
 //! called from after realserver select
 //! @param[in] upstream thread id
 //! @param[out] realserver UDP endpoint
-//! @param[out] sendbudffer reference
+//! @param[out] send buffer reference
 //! @param[out] send data length
 //! @return session use EVENT mode(STOP).
 protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_select(
@@ -2086,7 +2086,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_send(
                                         status = CLIENT_RECV;
                                 } else {
                                         // the data can be sent, set the status REALSERVER_SELECT
-                                        // set client helloworld shakehand flag
+                                        // set client hello shakehand flag
                                         threaddata->hello_message_flag = ishellomessage;
                                         threaddata->current_record_rest_size = alllength;
                                         status = REALSERVER_CONNECT;
@@ -2131,7 +2131,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_send(
 
 //! called from after sorryserver select
 //! @param[in] upstream thread id
-//! @param[in] sorryserver endppiont reference
+//! @param[in] sorryserver endpoint reference
 //! @return session use EVENT mode.
 protocol_module_base::EVENT_TAG protocol_module_sslid::handle_sorryserver_select(
         const boost::thread::id thread_id,
@@ -2470,7 +2470,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_sorryserver_send(
                                         status = CLIENT_RECV;
                                 } else {
                                         // the data can be sent, set the status SORRYSERVER_CONNECT
-                                        // set client helloworld shakehand flag
+                                        // set client hello shakehand flag
                                         threaddata->hello_message_flag = ishellomessage;
                                         threaddata->current_record_rest_size = alllength;
                                         status = SORRYSERVER_CONNECT;
@@ -2513,7 +2513,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_sorryserver_send(
         return status;
 }
 
-//! called from after realserver recvive for TCP/IP
+//! called from after realserver receive for TCP/IP
 //! @param[in] downstream thread id
 //! @param[in] realserver TCP/IP endpoint reference
 //! @param[in] realserver receive buffer reference.
@@ -2723,7 +2723,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_recv(
                                 status = REALSERVER_RECV;
                         } else {
                                 // the data can be sent, set the status CLIENT_CONNECTION_CHECK
-                                // set client helloworld shakehand flag
+                                // set client hello shakehand flag
                                 threaddata->hello_message_flag = ishellomessage;
                                 threaddata->current_record_rest_size = alllength;
                                 status = CLIENT_CONNECTION_CHECK;
@@ -3002,7 +3002,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_sorryserver_recv(
                                 status = SORRYSERVER_RECV;
                         } else {
                                 // the data can be sent, set the status CLIENT_CONNECTION_CHECK
-                                // set client helloworld shakehand flag
+                                // set client hello shakehand flag
                                 threaddata->hello_message_flag = ishellomessage;
                                 threaddata->current_record_rest_size = alllength;
                                 status = CLIENT_CONNECTION_CHECK;
@@ -3046,7 +3046,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_sorryserver_recv(
         return status;
 }
 
-//! called from UPSTEEARM thread. make module original message.
+//! called from UPSTREAM thread. make module original message.
 //! @param[in] downstream thread id.
 //! @return session use EVENT mode(STOP).
 protocol_module_base::EVENT_TAG protocol_module_sslid::handle_response_send_inform(
@@ -3067,7 +3067,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_response_send_info
 
 //! called from after client connection check. use TCP/IP only. create client send message.
 //! @param[in]    downstream thread id
-//! @param[out]    send budffer reference
+//! @param[out]    send buffer reference
 //! @param[out]    send data length
 //! @return     session use EVENT mode(CLIENT_SEND, FINALIZE).
 protocol_module_base::EVENT_TAG protocol_module_sslid::handle_client_connection_check(
@@ -3118,11 +3118,11 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_client_connection_
 
                 // check sorry state
                 if (threaddata->sorry_flag == SORRY_FLAG_OFF) {
-                        // serverhello message
+                        // server hello message
                         if (threaddata->hello_message_flag) {
                                 threaddata->hello_message_flag = false;
                                 // it's server hello message
-                                // get sessionid from the data buffer
+                                // get session id from the data buffer
                                 std::string session_id;
                                 if (get_ssl_session_id(threaddata->data_buffer.data() + threaddata->data_begain_offset,
                                                        threaddata->data_size, session_id) == -1) {
@@ -3379,7 +3379,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_client_send(
                                         }
                                 } else {
                                         // the data is sendable, set the status CLIENT_CONNECTION_CHECK
-                                        // set client helloworld shakehand flag
+                                        // set client hello shakehand flag
                                         threaddata->hello_message_flag = ishellomessage;
                                         threaddata->current_record_rest_size = alllength;
                                         status = CLIENT_CONNECTION_CHECK;
@@ -3779,7 +3779,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_disconn
         return FINALIZE;
 }
 
-//! call from sorry server disconnect. use upstraem thread and downstream thread
+//! call from sorry server disconnect. use upstream thread and downstream thread
 //! @param[in] upstream and downstream thread id(check! one thread one event)
 //! @param[in] disconnect sorryserver endpoint
 //! @return session use EVENT mode(FINALIZE).
@@ -3821,7 +3821,7 @@ protocol_module_base::EVENT_TAG protocol_module_sslid::handle_realserver_close(
         return STOP;
 }
 
-//! replication interval interrrupt
+//! replication interval interrupt
 //! timer thread call this function. from virtualservice.
 void protocol_module_sslid::replication_interrupt()
 {
@@ -3848,7 +3848,7 @@ void protocol_module_sslid::replication_interrupt()
 
 //! put data into send buffer function
 //! @param[in] upstream and downstream thread id
-//! @param[out] sendbudffer reference
+//! @param[out] send buffer reference
 //! @param[out] send data length
 //! @return 0 : success
 //! @return -1: failed
@@ -3982,7 +3982,7 @@ int protocol_module_sslid::put_data_to_sendbuffer(
 
                         // begin offset add
                         threaddata->data_begain_offset += sendbufsize;
-                        // remian data size minus
+                        // remain data size minus
                         threaddata->current_record_rest_size -= sendbufsize;
                         // return data length
                         datalen = sendbufsize;
@@ -4080,7 +4080,7 @@ int protocol_module_sslid::put_data_to_sendbuffer(
                         }
                         /*------DEBUG LOG END------*/
 
-                        // remain data size greater than send data buffersize
+                        // remain data size greater than send data buffer size
                         // put the data to send data buffer
                         memcpy(senddatabegin, databegin + threaddata->data_begain_offset, sendbufsize);
 
@@ -4126,7 +4126,7 @@ int protocol_module_sslid::put_data_to_sendbuffer(
 }
 
 //! judge pointed endpoint whether selected
-//! @param[in] endpoint refrence
+//! @param[in] endpoint reference
 //! @return false if endpoint is not selected
 //! @return true if endpoint is selected
 bool protocol_module_sslid::realserver_selected(const boost::asio::ip::tcp::endpoint &rs_endpoint)
index 4e9d74b..4d2d94d 100644 (file)
@@ -51,12 +51,12 @@ sslid_replication_data_processor::sslid_replication_data_processor(
         if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                 boost::format formatter("in_function : Constructor sslid_replication_data_processor::"
                                         "sslid_replication_data_processor(int maxlist, "
-                                        "char* sslid_replication_area_begain, int sslid_replication_area_size, "
+                                        "char* sslid_replication_area_begin, int sslid_replication_area_size, "
                                         "const boost::asio::ip::tcp::endpoint& virtual_service_endpoint, "
                                         "getloglevel_func_type ingetloglevel, logger_func_type inputLogFatal, "
                                         "logger_func_type inputLogError, logger_func_type inputLogWarn, "
                                         "logger_func_type inputLogInfo, logger_func_type inputLogDebug) : "
-                                        "maxlist = %d, sslid_replication_area_begain = &(%d), "
+                                        "maxlist = %d, sslid_replication_area_begin = &(%d), "
                                         "sslid_replication_area_size = %d, virtual_service_endpoint = [%s]:%d.");
                 formatter % maxlist % static_cast<void *>(sslid_replication_area_begain)
                 % sslid_replication_area_size % virtual_service_endpoint.address().to_string()
@@ -78,7 +78,7 @@ sslid_replication_data_processor::sslid_replication_data_processor(
                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                         putLogDebug(300198, "out_function : Constructor sslid_replication_data_processor::"
                                     "sslid_replication_data_processor(int maxlist, "
-                                    "char* sslid_replication_area_begain, int sslid_replication_area_size, "
+                                    "char* sslid_replication_area_begin, int sslid_replication_area_size, "
                                     "const boost::asio::ip::tcp::endpoint& virtual_service_endpoint, "
                                     "getloglevel_func_type ingetloglevel, logger_func_type inputLogFatal, "
                                     "logger_func_type inputLogError, logger_func_type inputLogWarn, "
@@ -117,7 +117,7 @@ sslid_replication_data_processor::sslid_replication_data_processor(
                                                     __FILE__, __LINE__);
                                         putLogDebug(300201, "out_function : Constructor sslid_replication_data_processor::"
                                                     "sslid_replication_data_processor(int maxlist, "
-                                                    "char* sslid_replication_area_begain, int sslid_replication_area_size, "
+                                                    "char* sslid_replication_area_begin, int sslid_replication_area_size, "
                                                     "const boost::asio::ip::tcp::endpoint& virtual_service_endpoint, "
                                                     "getloglevel_func_type ingetloglevel, logger_func_type inputLogFatal, "
                                                     "logger_func_type inputLogError, logger_func_type inputLogWarn, "
@@ -295,7 +295,7 @@ sslid_replication_data_processor::sslid_replication_data_processor(
         if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                 putLogDebug(300211, "out_function : Constructor sslid_replication_data_processor::"
                             "sslid_replication_data_processor(int maxlist, "
-                            "char* sslid_replication_area_begain, int sslid_replication_area_size, "
+                            "char* sslid_replication_area_begin, int sslid_replication_area_size, "
                             "const boost::asio::ip::tcp::endpoint& virtual_service_endpoint, "
                             "getloglevel_func_type ingetloglevel, logger_func_type inputLogFatal, "
                             "logger_func_type inputLogError, logger_func_type inputLogWarn, "
@@ -318,7 +318,7 @@ sslid_replication_data_processor::~sslid_replication_data_processor()
 }
 
 //! put data into temp list
-//! @param[in] sslid_replication_temp_data refrence
+//! @param[in] sslid_replication_temp_data reference
 void sslid_replication_data_processor::put_into_temp_list(
         const sslid_replication_temp_data &data)
 {
@@ -360,7 +360,7 @@ void sslid_replication_data_processor::write_replicaion_area()
         /*-------- DEBUG LOG --------*/
         if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                 putLogDebug(300215, "in_function : void sslid_replication_data_processor::"
-                            "write_replicaion_area().", __FILE__, __LINE__);
+                            "write_replication_area().", __FILE__, __LINE__);
         }
         /*------DEBUG LOG END------*/
 
@@ -369,7 +369,7 @@ void sslid_replication_data_processor::write_replicaion_area()
                 /*-------- DEBUG LOG --------*/
                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                         putLogDebug(300216, "out_function : void sslid_replication_data_processor::"
-                                    "write_replicaion_area().", __FILE__, __LINE__);
+                                    "write_replication_area().", __FILE__, __LINE__);
                 }
                 /*------DEBUG LOG END------*/
                 return;
@@ -405,7 +405,7 @@ void sslid_replication_data_processor::write_replicaion_area()
                                                         std::string buffer;
                                                         ssl_protocol_module_base::dump_session_id(session_id_temp, SSLID_LENGTH, buffer);
                                                         boost::format formatter("function : void sslid_replication_data_processor::"
-                                                                                "write_replicaion_area() : 'A' : session_id = %s.");
+                                                                                "write_replication_area() : 'A' : session_id = %s.");
                                                         formatter % buffer;
                                                         putLogDebug(300217, formatter.str(), __FILE__, __LINE__);
                                                 }
@@ -420,7 +420,7 @@ void sslid_replication_data_processor::write_replicaion_area()
                                                 /*-------- DEBUG LOG --------*/
                                                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                                                         boost::format formatter("function : void sslid_replication_data_processor::"
-                                                                                "write_replicaion_area() : 'A' : realserver_ip = %s, "
+                                                                                "write_replication_area() : 'A' : realserver_ip = %s, "
                                                                                 "realserver_prot = %d.");
                                                         formatter % replication_area[i].realserver_ip % replication_area[i].realserver_port;
                                                         putLogDebug(300218, formatter.str(), __FILE__, __LINE__);
@@ -440,7 +440,7 @@ void sslid_replication_data_processor::write_replicaion_area()
                                                 /*-------- DEBUG LOG --------*/
                                                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                                                         boost::format formatter("function : void sslid_replication_data_processor::"
-                                                                                "write_replicaion_area() : 'U' : last_time(before) = %lu, "
+                                                                                "write_replication_area() : 'U' : last_time(before) = %lu, "
                                                                                 "last_time(after) = %lu.");
                                                         formatter % replication_area[i].last_time % temp_data.last_time;
                                                         putLogDebug(300219, formatter.str(), __FILE__, __LINE__);
@@ -465,7 +465,7 @@ void sslid_replication_data_processor::write_replicaion_area()
                                                 /*-------- DEBUG LOG --------*/
                                                 if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                                                         boost::format formatter("function : void sslid_replication_data_processor::"
-                                                                                "write_replicaion_area() : 'D' : data valid(before) = %d, "
+                                                                                "write_replication_area() : 'D' : data valid(before) = %d, "
                                                                                 "data valid(after) = %d.");
                                                         formatter % replication_area[i].valid % 0;
                                                         putLogDebug(300220, formatter.str(), __FILE__, __LINE__);
@@ -488,8 +488,8 @@ void sslid_replication_data_processor::write_replicaion_area()
                 if (blocked) {
                         replication_area_unlock();
                 }
-                std::cerr << "sslid_replication_data_processor::write_replicaion_area() : exception : error " << e.what() << "." << std::endl;
-                boost::format formatter("function : void sslid_replication_data_processor::write_replicaion_area() : "
+                std::cerr << "sslid_replication_data_processor::write_replication_area() : exception : error " << e.what() << "." << std::endl;
+                boost::format formatter("function : void sslid_replication_data_processor::write_replication_area() : "
                                         "exception : error = %s.");
                 formatter % e.what();
                 putLogError(300101, formatter.str(), __FILE__, __LINE__);
@@ -497,22 +497,22 @@ void sslid_replication_data_processor::write_replicaion_area()
                 if (blocked) {
                         replication_area_unlock();
                 }
-                std::cerr << "sslid_replication_data_processor::write_replicaion_area() : exception." << std::endl;
-                putLogError(300102, "function : void sslid_replication_data_processor::write_replicaion_area() : "
+                std::cerr << "sslid_replication_data_processor::write_replication_area() : exception." << std::endl;
+                putLogError(300102, "function : void sslid_replication_data_processor::write_replication_area() : "
                             "Thread_interrupted exception.", __FILE__, __LINE__);
         } catch (...) {
                 if (blocked) {
                         replication_area_unlock();
                 }
-                std::cerr << "sslid_replication_data_processor::write_replicaion_area() : Unknown exception." << std::endl;
-                putLogError(300103, "function : void sslid_replication_data_processor::write_replicaion_area() : "
+                std::cerr << "sslid_replication_data_processor::write_replication_area() : Unknown exception." << std::endl;
+                putLogError(300103, "function : void sslid_replication_data_processor::write_replication_area() : "
                             "Unknown exception.", __FILE__, __LINE__);
         }
 
         /*-------- DEBUG LOG --------*/
         if (unlikely(LOG_LV_DEBUG == getloglevel())) {
                 putLogDebug(300221, "out_function : void sslid_replication_data_processor::"
-                            "write_replicaion_area().",  __FILE__, __LINE__);
+                            "write_replication_area().",  __FILE__, __LINE__);
         }
         /*------DEBUG LOG END------*/
 }
@@ -583,9 +583,9 @@ void sslid_replication_data_processor::register_replication_area_unlock(
 }
 
 //! get data from temp list
-//! @param[out] sslid_replication_temp_data refrence
+//! @param[out] sslid_replication_temp_data reference
 //! @return  0 : success for get data
-//! @return  -1 : faild to get data
+//! @return  -1 : failed to get data
 int sslid_replication_data_processor::get_from_temp_list(
         sslid_replication_temp_data &data)
 {
index 0cb8838..4abc4da 100644 (file)
@@ -102,8 +102,8 @@ sslid_session_data_processor::~sslid_session_data_processor()
 }
 
 //! get endpoint from session data
-//! @param[in] session_id refrence
-//! @param[out] endpoint refrence
+//! @param[in] session_id reference
+//! @param[out] endpoint reference
 //! @return 0 : success
 //! @return 1: failed
 //! @return -1:exception
@@ -183,8 +183,8 @@ int sslid_session_data_processor::get_endpoint_from_session_data(
 }
 
 //! write session data to map
-//! @param[in] session_id refrence
-//! @param[in] endpoint refrence
+//! @param[in] session_id reference
+//! @param[in] endpoint reference
 //! @param[in] now time
 //! @return 0 : success
 //! @return 1: failed
index 3019b1b..52a09a3 100644 (file)
 namespace l7vs
 {
 
-//!    constractor
+//!    constructor
 schedule_module_least_connection::schedule_module_least_connection() : schedule_module_base("lc")
 {
 }
 
-//! destractor
+//! destructor
 schedule_module_least_connection::~schedule_module_least_connection() {}
 
 //!    initialize function
@@ -157,7 +157,7 @@ END:
         }
 }
 
-//! handle schedule calles then schedule function for UDP endpoint
+//! handle schedule calls then schedule function for UDP endpoint
 //! @param[in]    thread id
 //! @param[in]    list iterator first function object
 //!    @param[in]    list iterator last function object
@@ -191,7 +191,7 @@ void    schedule_module_least_connection::handle_schedule(
         }
 }
 
-//! replication interval interrrupt
+//! replication interval interrupt
 //! timer thread call this function. from virtualservice.
 void    schedule_module_least_connection::replication_interrupt() {}
 
index 5095cd2..f311164 100644 (file)
@@ -32,9 +32,9 @@ namespace l7vs
 class schedule_module_least_connection : public schedule_module_base
 {
 public:
-        //!    constractor
+        //!    constructor
         schedule_module_least_connection();
-        //! destractor
+        //! destructor
         ~schedule_module_least_connection();
 
         //!    initialize function
@@ -62,7 +62,7 @@ public:
                 rslist_iterator_next_func_type        inlist_next,
                 boost::asio::ip::tcp::endpoint        &outendpoint);
 
-        //! handle schedule calles then schedule function for UDP endpoint
+        //! handle schedule calls then schedule function for UDP endpoint
         //! @param[in]    thread id
         //! @param[in]    list iterator first function object
         //!    @param[in]    list iterator last function object
@@ -75,7 +75,7 @@ public:
                 rslist_iterator_next_func_type        inlist_next,
                 boost::asio::ip::udp::endpoint        &outendpoint);
 
-        //! replication interval interrrupt
+        //! replication interval interrupt
         //! timer thread call this function. from virtualservice.
         void    replication_interrupt();
 };
index 5999bb7..bc63442 100644 (file)
 namespace l7vs
 {
 
-//!    constractor
+//!    constructor
 schedule_module_round_robin::schedule_module_round_robin() : schedule_module_base("rr")
 {
 }
 
-//! destractor
+//! destructor
 schedule_module_round_robin::~schedule_module_round_robin() {}
 
 //!    initialize function
@@ -217,7 +217,7 @@ END:
         }
 }
 
-//! handle schedule calles then schedule function for UDP endpoint
+//! handle schedule calls then schedule function for UDP endpoint
 //! @param[in]    thread id
 //! @param[in]    list iterator first function object
 //!    @param[in]    list iterator last function object
@@ -351,7 +351,7 @@ END:
         }
 }
 
-//! replication interval interrrupt
+//! replication interval interrupt
 //! timer thread call this function. from virtualservice.
 void    schedule_module_round_robin::replication_interrupt() {}
 
index e547907..93ef1d2 100644 (file)
@@ -35,9 +35,9 @@ protected:
         boost::asio::ip::tcp::endpoint    tcp_endpoint ;
         boost::asio::ip::udp::endpoint    udp_endpoint ;
 public:
-        //!    constractor
+        //!    constructor
         schedule_module_round_robin();
-        //! destractor
+        //! destructor
         ~schedule_module_round_robin();
 
         //!    initialize function
@@ -65,7 +65,7 @@ public:
                 rslist_iterator_next_func_type        inlist_next,
                 boost::asio::ip::tcp::endpoint        &outendpoint);
 
-        //! handle schedule calles then schedule function for UDP endpoint
+        //! handle schedule calls then schedule function for UDP endpoint
         //! @param[in]    thread id
         //! @param[in]    list iterator first function object
         //!    @param[in]    list iterator last function object
@@ -78,7 +78,7 @@ public:
                 rslist_iterator_next_func_type        inlist_next,
                 boost::asio::ip::udp::endpoint        &outendpoint);
 
-        //! replication interval interrrupt
+        //! replication interval interrupt
         //! timer thread call this function. from virtualservice.
         void    replication_interrupt();
 };
index 4350683..565f963 100644 (file)
 namespace l7vs
 {
 
-//!    constractor
+//!    constructor
 schedule_module_weighted_round_robin::schedule_module_weighted_round_robin() : schedule_module_base("wrr")
 {
 }
 
-//! destractor
+//! destructor
 schedule_module_weighted_round_robin::~schedule_module_weighted_round_robin() {}
 
 //!    initialize function
@@ -59,7 +59,7 @@ void    schedule_module_weighted_round_robin::initialize()
         vs_weights.gcd = 0;
 
         if (likely(!putLogInfo.empty())) {
-                putLogInfo(300000, "Saved endpoint, weight and gcd were initialized.", __FILE__, __LINE__);
+                putLogInfo(300000, "Saved endpoint, weight and G.C.D. were initialized.", __FILE__, __LINE__);
         }
 
         if (likely(!getloglevel.empty())) {
@@ -237,7 +237,7 @@ END:
         }
 }
 
-//! handle schedule calles then schedule function for UDP endpoint
+//! handle schedule calls then schedule function for UDP endpoint
 //! @param[in]    thread id
 //! @param[in]    list iterator first function object
 //!    @param[in]    list iterator last function object
@@ -387,7 +387,7 @@ END:
         }
 }
 
-//! replication interval interrrupt
+//! replication interval interrupt
 //! timer thread call this function. from virtualservice.
 void    schedule_module_weighted_round_robin::replication_interrupt() {}
 
index 9e15fd3..d92ea2f 100644 (file)
@@ -38,13 +38,13 @@ protected:
         struct wrr_weights {
                 int currentWeight;  /*! Current Weight */
                 int maxWeight;      /*! Max of Weight */
-                int gcd;            /*! GCD of RealServer list */
+                int gcd;            /*! G.C.D. of RealServer list */
                 wrr_weights() : currentWeight(0), maxWeight(0), gcd(0) {}
         } vs_weights;
 public:
-        //!    constractor
+        //!    constructor
         schedule_module_weighted_round_robin();
-        //! destractor
+        //! destructor
         ~schedule_module_weighted_round_robin();
 
         //!    initialize function
@@ -72,7 +72,7 @@ public:
                 rslist_iterator_next_func_type        inlist_next,
                 boost::asio::ip::tcp::endpoint        &outendpoint);
 
-        //! handle schedule calles then schedule function for UDP endpoint
+        //! handle schedule calls then schedule function for UDP endpoint
         //! @param[in]    thread id
         //! @param[in]    list iterator first function object
         //!    @param[in]    list iterator last function object
@@ -85,7 +85,7 @@ public:
                 rslist_iterator_next_func_type        inlist_next,
                 boost::asio::ip::udp::endpoint        &outendpoint);
 
-        //! replication interval interrrupt
+        //! replication interval interrupt
         //! timer thread call this function. from virtualservice.
         void    replication_interrupt();
 
index 970b679..cbe24c6 100644 (file)
@@ -31,7 +31,7 @@ namespace    l7vs
 //!    @brief        constructor
 //!    @param[in]    io_service
 //!    @param[in]    socket file
-//!    @param[in]    l7vsd refernce
+//!    @param[in]    l7vsd reference
 command_receiver::command_receiver(boost::asio::io_service &io_service, const std::string &file, l7vsd &parent)
         :    dispatcher(io_service),
              acceptor_(io_service, boost::asio::local::stream_protocol::endpoint(file)),
@@ -50,7 +50,7 @@ command_receiver::command_receiver(boost::asio::io_service &io_service, const st
 
         sockfile = file;
 
-        // create command_session for first acception.
+        // create command_session for first accept.
         command_session::command_session_ptr session(new command_session(dispatcher, vsd));
         // start an asynchronous accept for first.
         acceptor_.async_accept(session->socket(),
@@ -79,7 +79,7 @@ void    command_receiver::handle_accept(command_session::command_session_ptr ses
         if (!err) {
                 // command_session start.
                 session->start();
-                // create command_session for next acception.
+                // create command_session for next accept.
                 session.reset(new command_session(dispatcher, vsd));
                 // start an asynchronous accept for next.
                 acceptor_.async_accept(session->socket(),
index bfde6bb..d63ad4e 100644 (file)
@@ -32,7 +32,7 @@ namespace    l7vs
 
 //!    @brief        constructor
 //!    @param[in]    io_service
-//!    @param[in]    l7vsd refernce
+//!    @param[in]    l7vsd reference
 command_session::command_session(boost::asio::io_service &io_service, l7vsd &parent)
         :    unixsocket(io_service),
              vsd(parent)
@@ -140,7 +140,7 @@ void    command_session::execute_command()
 {
         Logger    logger(LOG_CAT_L7VSD_COMMAND, 8, "command_session::execute_command", __FILE__, __LINE__);
 
-        // deserialize requestdata
+        // deserialize request data
         std::stringstream    ss;
         ss << &(request_buffer[0]);
         boost::archive::text_iarchive   ia(ss);
@@ -179,7 +179,7 @@ void    command_session::execute_command()
         }
         /*------ DEBUG LOG END ------*/
 
-        // serialize responsedata
+        // serialize response data
         boost::archive::text_oarchive    oa(response_stream);
         oa << (const l7vsd_response &) response_data;
 }
@@ -189,7 +189,7 @@ void    command_session::start()
 {
         Logger    logger(LOG_CAT_L7VSD_COMMAND, 11, "command_session::start", __FILE__, __LINE__);
 
-        // start async read requestdata from unixsocket.
+        // start async read request data from unixsocket.
         unixsocket.async_read_some(boost::asio::buffer(request_buffer),
                                    boost::bind(&command_session::handle_read,
                                                shared_from_this(),
index d0d8e0a..12b1c75 100644 (file)
@@ -780,7 +780,7 @@ bool l7vs::l7vsadm::parse_opt_vs_qosup_func(int &pos, int argc, char *argv[])
                 return false;
         }
         try {
-                virtualservice_element &elem = request.vs_element; // request virtualservice element refalence get.
+                virtualservice_element &elem = request.vs_element; // request virtualservice element reference get.
                 std::string tmp = argv[pos];
                 std::string::reverse_iterator ritr = tmp.rbegin();
                 if (*ritr == 'G' || *ritr == 'g') {
@@ -837,7 +837,7 @@ bool l7vs::l7vsadm::parse_opt_vs_qosup_func(int &pos, int argc, char *argv[])
         }
         return true;
 }
-//! virtualservice option qosdownstream functipn
+//! virtualservice option qosdownstream function
 //! @param[in] argument position
 //! @param[in] argument count
 //! @param[in] argument value
@@ -853,7 +853,7 @@ bool l7vs::l7vsadm::parse_opt_vs_qosdown_func(int &pos, int argc, char *argv[])
                 return false;
         }
         try {
-                virtualservice_element &elem = request.vs_element; // request virtualservice element refalence get.
+                virtualservice_element &elem = request.vs_element; // request virtualservice element reference get.
                 std::string tmp = argv[pos];
                 std::string::reverse_iterator ritr = tmp.rbegin();
                 if (*ritr == 'G' || *ritr == 'g') {
@@ -918,10 +918,10 @@ bool l7vs::l7vsadm::parse_opt_vs_udp_func(int &pos, int argc, char *argv[])
 {
         Logger logger(LOG_CAT_L7VSADM_COMMON, 12, "l7vsadm::parse_opt_vs_udp_func", __FILE__, __LINE__);
 
-        virtualservice_element &elem = request.vs_element; // request virtualservie element reference get.
+        virtualservice_element &elem = request.vs_element; // request virtualservice element reference get.
         elem.udpmode = true; // udpmode on.
         boost::asio::ip::tcp::endpoint zeropoint;
-        if (zeropoint != elem.tcp_accept_endpoint) { // adddress tcp_acceptor endpoint
+        if (zeropoint != elem.tcp_accept_endpoint) { // address tcp_acceptor endpoint
                 std::stringstream sstream;
                 sstream << elem.tcp_accept_endpoint;
                 std::string endpoint = sstream.str();
@@ -2275,13 +2275,13 @@ bool l7vs::l7vsadm::parse_help_func(l7vs::l7vsadm_request::COMMAND_CODE_TAG cmd,
         std::cout <<
                   "Options:\n"
                   "  --tcp-service      -t service-address     service-address is host:port\n"
-                  "  --proto-module     -m proto-module        protocol module name and module argment\n"
+                  "  --proto-module     -m proto-module        protocol module name and module argument\n"
                   "                        [module-args]\n"
                   "  --scheduler        -s scheduler           one of rr,lc,wrr\n"
                   "  --upper            -u connection-count    maximum number of connections\n"
                   "  --bypass           -b sorry-server        sorry server address is host:port\n"
                   "  --tproxy           -T                     set sorry server connection to IP transparent mode.\n"
-                  "  --masq             -M                     set sorry server connection to IP masquarade mode.\n"
+                  "  --masq             -M                     set sorry server connection to IP masquerade mode.\n"
 
                   "  --flag             -f sorry-flag          sorry status set to virtual service\n"
                   "  --qos-up           -Q QoSval-up           QoS Threshold(bps) set to real server direction\n"
@@ -2294,7 +2294,7 @@ bool l7vs::l7vsadm::parse_help_func(l7vs::l7vsadm_request::COMMAND_CODE_TAG cmd,
                   "  --real-server      -r server-address      server-address is host:port\n"
                   "  --weight           -w weight              scheduling weight set to real server\n"
                   "  --tproxy           -T                     set real server connection to IP transparent mode.\n"
-                  "  --masq             -M                     set real server connection to IP masquarade mode.\n"
+                  "  --masq             -M                     set real server connection to IP masquerade mode.\n"
                   "  --switch           -s replication-switch  start or stop replication\n"
                   "  --force            -f                     force replication start\n"
                   "  --dump             -d                     dump replication memory\n"
@@ -2640,7 +2640,7 @@ void l7vs::l7vsadm::disp_list_verbose()
         }
         std::cout << buf.str();
 }
-//! l7vsadm constractor.
+//! l7vsadm constructor.
 //! create including all dictionary.
 l7vs::l7vsadm::l7vsadm()
         :   numeric_flag(false),
@@ -2980,7 +2980,7 @@ bool l7vs::l7vsadm::execute(int argc, char *argv[])
         }
         /*------ DEBUG LOG END ------*/
 
-        // set sighanlder
+        // set sighandler
         if (0 > set_sighandlers()) {
                 std::string buf("set_sighandlers failed.");
                 std::cerr << "COMMON ERROR: " << buf << std::endl;
@@ -2988,7 +2988,7 @@ bool l7vs::l7vsadm::execute(int argc, char *argv[])
                 return false;
         }
 
-        // readparam
+        // read param
         set_parameter();
 
         // Get l7vsadm execute file path from /proc/(pid)/exe (symbolic link)
@@ -3193,7 +3193,7 @@ static void sig_exit_handler(int sig)
         signal_flag = true;
 }
 
-//! set singal handler function
+//! set signal handler function
 //! @param[in] signal
 //! @param[in] handler function pointer
 //! @return 0/success, -1/fail
@@ -3218,7 +3218,7 @@ static int set_sighandler(int sig, void (*handler)(int))
         return 0;
 }
 
-//! set all singal handler function
+//! set all signal handler function
 //! @return 0/success, -1/fail
 static int set_sighandlers()
 {
index c014f0f..8150990 100644 (file)
@@ -61,7 +61,7 @@ l7vsd::~l7vsd()
 }
 
 //! virtual_service list command
-//! @param[out]    arry of vs_element
+//! @param[out]    array of vs_element
 //! @param[out]    error_code
 void    l7vsd::list_virtual_service(vselist_type *out_vslist, error_code &err)
 {
@@ -102,7 +102,7 @@ void    l7vsd::list_virtual_service(vselist_type *out_vslist, error_code &err)
 }
 
 //! virtual_service list verbose command
-//! @param[out]    arry of vs_element
+//! @param[out]    array of vs_element
 //! @param[out]    error_code
 void    l7vsd::list_virtual_service_verbose(l7vsd_response *response, error_code &err)
 {
@@ -504,7 +504,7 @@ void    l7vsd::add_real_server(const virtualservice_element *in_vselement, error
 
                 std::ostringstream oss;
                 oss << "TRAP00020004,A real server was added.vs:";
-                //virtualservice infomation
+                //virtualservice information
                 if (in_vselement->udpmode) {
                         if (in_vselement->udp_recv_endpoint.address().is_v6()) {
                                 oss << "[" << in_vselement->udp_recv_endpoint.address().to_string() << "]:" << in_vselement->udp_recv_endpoint.port();
@@ -520,7 +520,7 @@ void    l7vsd::add_real_server(const virtualservice_element *in_vselement, error
                         }
                 }
 
-                //realserver infomation
+                //realserver information
                 BOOST_FOREACH(realserver_element elem, in_vselement->realserver_vector) {
                         if (in_vselement->udpmode) {
                                 if (elem.udp_endpoint.address().is_v6()) {
@@ -598,7 +598,7 @@ void    l7vsd::del_real_server(const virtualservice_element *in_vselement, error
 
                 std::ostringstream oss;
                 oss << "TRAP00020006,A real server was eliminated.vs:";
-                //virtualservice infomation
+                //virtualservice information
                 if (in_vselement->udpmode) {
                         if (in_vselement->udp_recv_endpoint.address().is_v6()) {
                                 oss << "[" << in_vselement->udp_recv_endpoint.address().to_string() << "]:" << in_vselement->udp_recv_endpoint.port();
@@ -614,7 +614,7 @@ void    l7vsd::del_real_server(const virtualservice_element *in_vselement, error
                         }
                 }
 
-                //realserver infomation
+                //realserver information
                 BOOST_FOREACH(realserver_element elem, in_vselement->realserver_vector) {
                         if (in_vselement->udpmode) {
                                 if (elem.udp_endpoint.address().is_v6()) {
@@ -690,7 +690,7 @@ void    l7vsd::edit_real_server(const virtualservice_element *in_vselement, erro
 
                 std::ostringstream oss;
                 oss << "TRAP00020005,The real server was changed.vs:";
-                //virtualservice infomation
+                //virtualservice information
                 if (in_vselement->udpmode) {
                         if (in_vselement->udp_recv_endpoint.address().is_v6()) {
                                 oss << "[" << in_vselement->udp_recv_endpoint.address().to_string() << "]:" << in_vselement->udp_recv_endpoint.port();
@@ -706,7 +706,7 @@ void    l7vsd::edit_real_server(const virtualservice_element *in_vselement, erro
                         }
                 }
 
-                //realserver infomation
+                //realserver information
                 BOOST_FOREACH(realserver_element elem, in_vselement->realserver_vector) {
                         if (in_vselement->udpmode) {
                                 if (elem.udp_endpoint.address().is_v6()) {
@@ -809,7 +809,7 @@ void    l7vsd::flush_virtual_service(error_code &err)
 }
 
 //! replication command
-//! @param[in]    replicaiton command
+//! @param[in]    replication command
 //! @param[out]    error_code
 void    l7vsd::replication_command(const l7vsadm_request::REPLICATION_COMMAND_TAG *cmd, error_code &err)
 {
@@ -1292,7 +1292,7 @@ int    l7vsd::run(int argc, char *argv[])
                 boost::thread    sigthread(boost::bind(&l7vsd::sig_exit_handler, this));
                 sigthread.detach();
 
-                // protoclol module control initialize
+                // protocol module control initialize
                 protocol_module_control::getInstance().initialize(L7VS_MODULE_PATH);
 
                 // schedule module control initialize
@@ -1351,7 +1351,7 @@ int    l7vsd::run(int argc, char *argv[])
                 for (;;) {
                         if (unlikely(exit_requested)) {
                                 std::stringstream buf;
-                                buf << boost::format("l7vsd signal(%d) received. exitting...") % received_sig;
+                                buf << boost::format("l7vsd signal(%d) received. exiting...") % received_sig;
                                 logger.putLogInfo(LOG_CAT_L7VSD_MAINTHREAD, 1, buf.str(), __FILE__, __LINE__);
                                 break;
                         }
@@ -1390,7 +1390,7 @@ int    l7vsd::run(int argc, char *argv[])
                 // schedule module control finalize
                 schedule_module_control::getInstance().finalize();
 
-                // protpcol module control finalize
+                // protocol module control finalize
                 protocol_module_control::getInstance().finalize();
         } catch (std::exception &e) {
                 std::stringstream    buf;
index 4399eb1..68f0b6d 100644 (file)
@@ -44,8 +44,8 @@ l7vs::Logger::Logger() :
         }
 }
 
-//! log output constractor
-//! scoped log output( Logger destractor output log)
+//! log output constructor
+//! scoped log output( Logger destructor output log)
 //! @param[in]    Log output category tag
 //! @param[in]    log id
 //! @param[in]    log message
@@ -135,7 +135,7 @@ bool l7vs::Logger::setLogLevelAll(LOG_LEVEL_TAG level)
 /*!
  * output fatal log.
  * this is only wrapper to implement method.
- * @param   category that logging matter occured
+ * @param   category that logging matter occurred
  * @param   log message id
  * @param   log message
  * @param   current file
@@ -149,9 +149,9 @@ void l7vs::Logger::putLogFatal(LOG_CATEGORY_TAG cat, const unsigned int message_
 }
 
 /*!
- * output errorl log.
+ * output error log.
  * this is only wrapper to implement method.
- * @param   category that logging matter occured
+ * @param   category that logging matter occurred
  * @param   log message id
  * @param   log message
  * @param   current file
@@ -167,7 +167,7 @@ void l7vs::Logger::putLogError(LOG_CATEGORY_TAG cat, const unsigned int message_
 /*!
  * output warn log.
  * this is only wrapper to implement method.
- * @param   category that logging matter occured
+ * @param   category that logging matter occurred
  * @param   log message id
  * @param   log message
  * @param   current file
@@ -183,7 +183,7 @@ void l7vs::Logger::putLogWarn(LOG_CATEGORY_TAG cat, const unsigned int message_i
 /*!
  * output info log.
  * this is only wrapper to implement method.
- * @param   category that logging matter occured
+ * @param   category that logging matter occurred
  * @param   log message id
  * @param   log message
  * @param   current file
@@ -199,7 +199,7 @@ void l7vs::Logger::putLogInfo(LOG_CATEGORY_TAG cat, const unsigned int message_i
 /*!
  * output debug log.
  * this is only wrapper to implement method.
- * @param   category that logging matter occured
+ * @param   category that logging matter occurred
  * @param   log message id
  * @param   log message
  * @param   current file
index 9619307..aa4c412 100644 (file)
@@ -27,7 +27,7 @@
 #include "parameter.h"
 
 /*!
- * initialze function.
+ * initialize function.
  *
  * @retrun  current instance.
  */
@@ -155,7 +155,7 @@ void l7vs::logger_access_manager::erase_logger_implement_access(
  * log rotate parameter check function.
  *
  * @param   logrotation designation contents
- * @retrun  false faild.
+ * @retrun  false failed.
  */
 bool l7vs::logger_access_manager::access_log_logrotate_parameter_check(
         const std::map<std::string, std::string>& rotatedata)
@@ -163,7 +163,7 @@ bool l7vs::logger_access_manager::access_log_logrotate_parameter_check(
         appender_property access_log_property;
         std::map<std::string, std::string> rotatedata_cpy = rotatedata;
 
-        return(logger_logrotate_utility::acccess_log_LogrotateParamCheck(rotatedata_cpy , access_log_property));
+        return(logger_logrotate_utility::access_log_LogrotateParamCheck(rotatedata_cpy , access_log_property));
 }
 
 /*!
@@ -196,7 +196,7 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
 
         rotation_type = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_ROTATION_KEY, ec);
         if (ec) {
-                logger_logrotate_utility::loglotation_utility_logic_error(110, "Not Exist Log Rotation Setting.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(110, "Not Exist Log Rotation Setting.", __FILE__, __LINE__);
         }
 
         rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + ACCESS_LOG_ROTATE_TYPE + " " + rotation_type;
@@ -207,7 +207,7 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
 
         max_backup_index = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_MAX_BACKUP_INDEX_KEY, ec);
         if (ec) {
-                logger_logrotate_utility::loglotation_utility_logic_error(111, "Not Exist Log MaxBackupIndex Setting.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(111, "Not Exist Log MaxBackupIndex Setting.", __FILE__, __LINE__);
         }
 
         rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + " " + ACCESS_LOG_ROTATE_MAX_BACKUP_INDEX + " " + max_backup_index;
@@ -220,7 +220,7 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
 
                 max_file_size = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_MAX_FILE_SIZE_KEY, ec);
                 if (ec) {
-                        logger_logrotate_utility::loglotation_utility_logic_error(112, "Not Exist Log MaxFileSize Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(112, "Not Exist Log MaxFileSize Setting.", __FILE__, __LINE__);
                 }
 
                 rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + " " + ACCESS_LOG_ROTATE_MAX_FILESIZE + " " + max_file_size;
@@ -233,7 +233,7 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
 
                 rotation_timing = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_ROTATION_TIMING_KEY, ec);
                 if (ec) {
-                        logger_logrotate_utility::loglotation_utility_logic_error(113, "Not Exist Log RotaionTiming Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(113, "Not Exist Log RotationTiming Setting.", __FILE__, __LINE__);
                 }
 
                 rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + " " + ACCESS_LOG_ROTATE_ROTATION_TIMING + " " + rotation_timing;
@@ -245,8 +245,8 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
                 rotation_timing_value_key = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_ROTATION_TIMING_VALUE_KEY, ec);
                 if (ec) {
                         std::stringstream   ss;
-                        ss << "Not Exist Log RotaionTiming " << rotation_timing << " Setting.";
-                        logger_logrotate_utility::loglotation_utility_logic_error(114, ss.str(), __FILE__, __LINE__);
+                        ss << "Not Exist Log RotationTiming " << rotation_timing << " Setting.";
+                        logger_logrotate_utility::logrotation_utility_logic_error(114, ss.str(), __FILE__, __LINE__);
                 }
 
                 rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + " " + ACCESS_LOG_ROTATION_TIMING_VALUE + " " + rotation_timing_value_key;
@@ -259,7 +259,7 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
 
                 max_file_size = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_MAX_FILE_SIZE_KEY, ec);
                 if (ec) {
-                        logger_logrotate_utility::loglotation_utility_logic_error(115, "Not Exist Log MaxFileSize Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(115, "Not Exist Log MaxFileSize Setting.", __FILE__, __LINE__);
                 }
 
                 rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + " " + ACCESS_LOG_ROTATE_MAX_FILESIZE + " " + max_file_size;
@@ -270,7 +270,7 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
 
                 rotation_timing = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_ROTATION_TIMING_KEY, ec);
                 if (ec) {
-                        logger_logrotate_utility::loglotation_utility_logic_error(116, "Not Exist Log RotaionTiming Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(116, "Not Exist Log RotationTiming Setting.", __FILE__, __LINE__);
                 }
 
                 rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + " " + ACCESS_LOG_ROTATE_ROTATION_TIMING + " " + rotation_timing;
@@ -282,8 +282,8 @@ void l7vs::logger_access_manager::access_log_rotate_loadConf()
                 rotation_timing_value_key = param.get_string(PARAM_COMP_LOGGER, ACCESS_LOG_ROTATION_TIMING_VALUE_KEY, ec);
                 if (ec) {
                         std::stringstream   ss;
-                        ss << "Not Exist Log RotaionTiming " << rotation_timing << " Setting.";
-                        logger_logrotate_utility::loglotation_utility_logic_error(117, ss.str(), __FILE__, __LINE__);
+                        ss << "Not Exist Log RotationTiming " << rotation_timing << " Setting.";
+                        logger_logrotate_utility::logrotation_utility_logic_error(117, ss.str(), __FILE__, __LINE__);
                 }
 
                 rotate_default_verbose_displayed_contents = rotate_default_verbose_displayed_contents + " " + ACCESS_LOG_ROTATION_TIMING_VALUE + " " + rotation_timing_value_key;
index ea0d917..5d48a94 100644 (file)
@@ -227,7 +227,7 @@ l7vs::LoggerImpl::LoggerImpl()
         name_category_map["l7vsd_system_signal"] = LOG_CAT_L7VSD_SYSTEM_SIGNAL;
         category_name_map[LOG_CAT_L7VSD_SYSTEM_SIGNAL] = "l7vsd_system_signal";
 
-        //l7vsd system enviroment category initialize
+        //l7vsd system environment category initialize
         category_level_map[LOG_CAT_L7VSD_SYSTEM_ENVIRONMENT] = LOG_LV_ERROR;
         name_category_map["l7vsd_system_environment"] = LOG_CAT_L7VSD_SYSTEM_ENVIRONMENT;
         category_name_map[LOG_CAT_L7VSD_SYSTEM_ENVIRONMENT] = "l7vsd_system_environment";
@@ -371,7 +371,7 @@ bool l7vs::LoggerImpl::init()
 
 /*!
  * error handling function.
- * if error occured, switch appenders to syslogappender and fileappender(/dev/console)
+ * if error occurred, switch appenders to syslogappender and fileappender(/dev/console)
  * message will output to syslog/fileappender appender
  *
  * @param   log message id
@@ -577,7 +577,7 @@ void l7vs::LoggerImpl::loadConf()
                         else if ("hour" == rotationTimingStr) property->rotation_timing_value = LOG_TIM_HOUR;
                         else logic_error(10, "Invalid Log RotationTiming Setting.", __FILE__, __LINE__);
                 } else {
-                        logic_error(11, "Not Exist Log RotaionTiming Setting.", __FILE__, __LINE__);
+                        logic_error(11, "Not Exist Log RotationTiming Setting.", __FILE__, __LINE__);
                 }
 
                 if (LOG_TIM_YEAR == property->rotation_timing_value) {
@@ -644,7 +644,7 @@ void l7vs::LoggerImpl::loadConf()
                                         logic_error(22, "Parse Timing Year Error.", __FILE__, __LINE__);
                                 }
 
-                                // format to internal rotation timing value expresson
+                                // format to internal rotation timing value expression
                                 std::ostringstream oss;
                                 oss << std::setfill('0') << std::setw(2) << month
                                     << std::setfill('0') << std::setw(2) << date
@@ -654,7 +654,7 @@ void l7vs::LoggerImpl::loadConf()
                                 property->rotation_timing_value_value = oss.str();
 
                         } else {
-                                logic_error(23, "Not Exist Log RotaionTiming Year Setting.", __FILE__, __LINE__);
+                                logic_error(23, "Not Exist Log RotationTiming Year Setting.", __FILE__, __LINE__);
                         }
                 }
 
@@ -709,7 +709,7 @@ void l7vs::LoggerImpl::loadConf()
                                         logic_error(31, "Parse Timing Month Error.", __FILE__, __LINE__);
                                 }
 
-                                // format to internal rotation timing value expresson
+                                // format to internal rotation timing value expression
                                 std::stringstream oss;
                                 oss << std::setfill('0') << std::setw(2) << date
                                     << std::setfill('0') << std::setw(2) << hour
@@ -718,7 +718,7 @@ void l7vs::LoggerImpl::loadConf()
                                 property->rotation_timing_value_value = oss.str();
 
                         } else {
-                                logic_error(32, "Not Exist Log RotaionTiming Month Setting.", __FILE__, __LINE__);
+                                logic_error(32, "Not Exist Log RotationTiming Month Setting.", __FILE__, __LINE__);
                         }
                 }
 
@@ -775,7 +775,7 @@ void l7vs::LoggerImpl::loadConf()
                                         logic_error(39, "Parse Timing Week Error.", __FILE__, __LINE__);
                                 }
 
-                                // format to internal rotation timing value expresson
+                                // format to internal rotation timing value expression
                                 std::ostringstream oss;
                                 oss << std::setfill('0') << std::setw(1) << week
                                     << std::setfill('0') << std::setw(2) << hour
@@ -783,7 +783,7 @@ void l7vs::LoggerImpl::loadConf()
 
                                 property->rotation_timing_value_value = oss.str();
                         } else {
-                                logic_error(40, "Not Exist Log RotaionTiming Week Setting.", __FILE__, __LINE__);
+                                logic_error(40, "Not Exist Log RotationTiming Week Setting.", __FILE__, __LINE__);
                         }
                 }
 
@@ -820,14 +820,14 @@ void l7vs::LoggerImpl::loadConf()
                                         logic_error(45, "Parse Timing Date Error.", __FILE__, __LINE__);
                                 }
 
-                                // format to internal rotation timing value expresson
+                                // format to internal rotation timing value expression
                                 std::ostringstream oss;
                                 oss << std::setfill('0') << std::setw(2) << hour
                                     << std::setfill('0') << std::setw(2) << minute;
 
                                 property->rotation_timing_value_value = oss.str();
                         } else {
-                                logic_error(46, "Not Exist Log RotaionTiming Date Setting.", __FILE__, __LINE__);
+                                logic_error(46, "Not Exist Log RotationTiming Date Setting.", __FILE__, __LINE__);
                         }
                 }
 
@@ -845,13 +845,13 @@ void l7vs::LoggerImpl::loadConf()
                                         logic_error(48, "Parse Timing Hour Error.", __FILE__, __LINE__);
                                 }
 
-                                // format to internal rotation timing value expresson
+                                // format to internal rotation timing value expression
                                 std::ostringstream oss;
                                 oss << std::setfill('0') << std::setw(2) << minute;
 
                                 property->rotation_timing_value_value = oss.str();
                         } else {
-                                logic_error(49, "Not Exist Log RotaionTiming Hour Setting.", __FILE__, __LINE__);
+                                logic_error(49, "Not Exist Log RotationTiming Hour Setting.", __FILE__, __LINE__);
                         }
                 }
         }
@@ -874,7 +874,7 @@ void l7vs::LoggerImpl::loadConf()
 
                 switch (property->rotation_value) {
                 case LOG_ROT_SIZE: {
-                        // create FixedWindcd owRollingPolicy
+                        // create FixedWindowRollingPolicy
                         log4cxx::rolling::FixedWindowRollingPolicyPtr fixedRollingPolicy =
                                 new log4cxx::rolling::FixedWindowRollingPolicy();
 
index c7f75bc..64c64bf 100644 (file)
@@ -58,7 +58,7 @@ l7vs::logger_implement_access::logger_implement_access(
 }
 
 /*!
- * initialze function.
+ * initialize function.
  *
  * @param   default logrotation info use flag
  * @param   default logrotation info
@@ -107,7 +107,7 @@ bool l7vs::logger_implement_access::setAcLoggerConf(
 
         if (this->rotate_default_flag == true) {
                 lotate_check_flag =
-                        logger_logrotate_utility::acccess_log_LogrotateParamCheck(
+                        logger_logrotate_utility::access_log_LogrotateParamCheck(
                                 rotatedata,
                                 access_log_property);
         } else {
@@ -147,7 +147,7 @@ bool l7vs::logger_implement_access::setAcLoggerConf(
 }
 
 /*!
- * increase reffernce count.
+ * increase reference count.
  *
  * @retrun void
  */
@@ -157,7 +157,7 @@ void l7vs::logger_implement_access::addRef()
 }
 
 /*!
- * decrease reffernce count.
+ * decrease reference count.
  *
  * @retrun void
  */
@@ -167,7 +167,7 @@ void l7vs::logger_implement_access::releaseRef()
 }
 
 /*!
- * decrease reffernce count.
+ * decrease reference count.
  *
  * @param inequal check object
  * @return check result
index 018ce5e..bf000d5 100644 (file)
@@ -1,5 +1,5 @@
 /*!
- * @file  logger_rogrote_utility.cpp
+ * @file  logger_logrotate_utility.cpp
  * @brief logger module implementation class For access log.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
@@ -58,7 +58,7 @@ using namespace l7vs;
 /*!
  * rotate type check.
  *
- * @param   rotaton string("size" or "date" or "datesize")
+ * @param   rotation string("size" or "date" or "datesize")
  * @return  LOG_ROTATION_TAG val
  */
 LOG_ROTATION_TAG logger_logrotate_utility::check_rotate_type(const std::string &rotation_type)
@@ -73,10 +73,10 @@ LOG_ROTATION_TAG logger_logrotate_utility::check_rotate_type(const std::string &
                 else {
                         std::stringstream   ss;
                         ss << "Invalid Log Rotation Setting : " << rotation_type;
-                        logger_logrotate_utility::loglotation_utility_logic_error(51, ss.str(), __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(51, ss.str(), __FILE__, __LINE__);
                 }
         } else {
-                logger_logrotate_utility::loglotation_utility_logic_error(52, "Not Exist Log Rotation Setting.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(52, "Not Exist Log Rotation Setting.", __FILE__, __LINE__);
         }
 
         return(rotation_value);
@@ -98,20 +98,20 @@ unsigned int logger_logrotate_utility::check_max_backup_index(const std::string
                 } catch (const boost::bad_lexical_cast &bc) {
                         std::stringstream    ss;
                         ss << "Invalid MaxBackupIndex Value : " << max_backup_index << ".";
-                        logger_logrotate_utility::loglotation_utility_logic_error(53, ss.str(), __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(53, ss.str(), __FILE__, __LINE__);
                 }
                 if (LOGGER_BACKUP_INDEX_LOWER_LIMIT > max_backup_index_value) {
                         std::stringstream ss;
                         ss << "Max Backup Index must at least " << LOGGER_BACKUP_INDEX_LOWER_LIMIT << ".";
-                        logger_logrotate_utility::loglotation_utility_logic_error(54, ss.str(), __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(54, ss.str(), __FILE__, __LINE__);
                 }
                 if (LOGGER_BACKUP_INDEX_LIMIT < max_backup_index_value) {
                         std::stringstream ss;
                         ss << "Max Backup Index must at most " << LOGGER_BACKUP_INDEX_LIMIT << ".";
-                        logger_logrotate_utility::loglotation_utility_logic_error(55, ss.str(), __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(55, ss.str(), __FILE__, __LINE__);
                 }
         } else {
-                logger_logrotate_utility::loglotation_utility_logic_error(56, "Not Exist Log MaxBackupIndex Setting.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(56, "Not Exist Log MaxBackupIndex Setting.", __FILE__, __LINE__);
         }
 
         return(max_backup_index_value);
@@ -129,13 +129,13 @@ unsigned long long logger_logrotate_utility::check_max_file_size(const std::stri
         unsigned long long max_file_size_value = 0;
 
         if (max_file_size == "") {
-                logger_logrotate_utility::loglotation_utility_logic_error(57, "Not Exist Log MaxFileSize Setting.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(57, "Not Exist Log MaxFileSize Setting.", __FILE__, __LINE__);
         }
 
         std::string size_val;
         int maxFileSizeStr_length = max_file_size.length();
         if (maxFileSizeStr_length <= 0) {
-                logger_logrotate_utility::loglotation_utility_logic_error(58, "Invalid FileSize Value.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(58, "Invalid FileSize Value.", __FILE__, __LINE__);
         }
 
         std::string last_str = max_file_size.substr(maxFileSizeStr_length - 1, 1);
@@ -148,28 +148,28 @@ unsigned long long logger_logrotate_utility::check_max_file_size(const std::stri
         try {
                 max_file_size_value = boost::lexical_cast<size_t>(size_val);
         } catch (const boost::bad_lexical_cast &bc) {
-                logger_logrotate_utility::loglotation_utility_logic_error(59, "Invalid FileSize Value.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(59, "Invalid FileSize Value.", __FILE__, __LINE__);
         }
 
         if ("K" == last_str) {
                 if ((ULLONG_MAX / 1024) < max_file_size_value) {
-                        logger_logrotate_utility::loglotation_utility_logic_error(60, "Invalid FileSize Value.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(60, "Invalid FileSize Value.", __FILE__, __LINE__);
                 }
                 max_file_size_value = max_file_size_value * 1024;
         } else if ("M" == last_str) {
                 if ((ULLONG_MAX / 1024 / 1024) < max_file_size_value)
-                        logger_logrotate_utility::loglotation_utility_logic_error(61, "Invalid FileSize Value.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(61, "Invalid FileSize Value.", __FILE__, __LINE__);
                 max_file_size_value = max_file_size_value * 1024 * 1024;
         } else if ("G" == last_str) {
                 if ((ULLONG_MAX / 1024 / 1024 / 1024) < max_file_size_value)
-                        logger_logrotate_utility::loglotation_utility_logic_error(62, "Invalid FileSize Value.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(62, "Invalid FileSize Value.", __FILE__, __LINE__);
                 max_file_size_value = max_file_size_value * 1024 * 1024 * 1024;
         }
         if (LOGGER_FILESIZE_LOWER_LIMIT > max_file_size_value) {
                 int limit = LOGGER_FILESIZE_LOWER_LIMIT;
                 std::ostringstream oss;
                 oss << "FileSize must at least " << limit << " bytes.";
-                logger_logrotate_utility::loglotation_utility_logic_error(63, oss.str(), __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(63, oss.str(), __FILE__, __LINE__);
         }
 
 
@@ -193,9 +193,9 @@ LOG_ROTATION_TIMING_TAG logger_logrotate_utility::check_rotate_timing(const std:
                 else if ("week" == rotation_timing) rotation_timing_value = LOG_TIM_WEEK;
                 else if ("date" == rotation_timing) rotation_timing_value = LOG_TIM_DATE;
                 else if ("hour" == rotation_timing) rotation_timing_value = LOG_TIM_HOUR;
-                else logger_logrotate_utility::loglotation_utility_logic_error(64, "Invalid Log RotationTiming Setting.", __FILE__, __LINE__);
+                else logger_logrotate_utility::logrotation_utility_logic_error(64, "Invalid Log RotationTiming Setting.", __FILE__, __LINE__);
         } else {
-                logger_logrotate_utility::loglotation_utility_logic_error(65, "Not Exist Log RotaionTiming Setting.", __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(65, "Not Exist Log RotationTiming Setting.", __FILE__, __LINE__);
         }
 
 
@@ -229,10 +229,10 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                 try {
                                         month = boost::lexical_cast<int>(monthStr);
                                 } catch (const boost::bad_lexical_cast &bc) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(66, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(66, "Parse Timing Year Error.", __FILE__, __LINE__);
                                 }
                                 if (1 > month || month > 12) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(67, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(67, "Parse Timing Year Error.", __FILE__, __LINE__);
                                 }
                                 fpos = rpos + 1;
                                 // find date
@@ -242,13 +242,13 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                         try {
                                                 date = boost::lexical_cast<int>(dateStr);
                                         } catch (const boost::bad_lexical_cast &bc) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(68, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(68, "Parse Timing Year Error.", __FILE__, __LINE__);
                                         }
                                 }
-                                if (1 > date || date > 31)  logger_logrotate_utility::loglotation_utility_logic_error(69, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                if (1 > date || date > 31)  logger_logrotate_utility::logrotation_utility_logic_error(69, "Parse Timing Year Error.", __FILE__, __LINE__);
 
                                 int dates[] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
-                                if (date > dates[month - 1]) logger_logrotate_utility::loglotation_utility_logic_error(70, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                if (date > dates[month - 1]) logger_logrotate_utility::logrotation_utility_logic_error(70, "Parse Timing Year Error.", __FILE__, __LINE__);
 
                                 fpos = rpos + 1;
                                 // find hour
@@ -258,26 +258,26 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                         try {
                                                 hour = boost::lexical_cast<int>(hourStr);
                                         } catch (const boost::bad_lexical_cast &bc) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(71, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(71, "Parse Timing Year Error.", __FILE__, __LINE__);
                                         }
-                                        if (0 > hour || hour > 23) logger_logrotate_utility::loglotation_utility_logic_error(72, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                        if (0 > hour || hour > 23) logger_logrotate_utility::logrotation_utility_logic_error(72, "Parse Timing Year Error.", __FILE__, __LINE__);
 
                                         // minute
                                         std::string minuteStr = ret.substr(rpos + 1);
                                         try {
                                                 minute = boost::lexical_cast<int>(minuteStr);
                                         } catch (const boost::bad_lexical_cast &bc) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(73, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(73, "Parse Timing Year Error.", __FILE__, __LINE__);
                                         }
-                                        if (0 > minute || minute > 59) logger_logrotate_utility::loglotation_utility_logic_error(74, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                        if (0 > minute || minute > 59) logger_logrotate_utility::logrotation_utility_logic_error(74, "Parse Timing Year Error.", __FILE__, __LINE__);
                                 } else {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(75, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(75, "Parse Timing Year Error.", __FILE__, __LINE__);
                                 }
                         } else {
-                                logger_logrotate_utility::loglotation_utility_logic_error(76, "Parse Timing Year Error.", __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(76, "Parse Timing Year Error.", __FILE__, __LINE__);
                         }
 
-                        // format to internal rotation timing value expresson
+                        // format to internal rotation timing value expression
                         std::ostringstream oss;
                         oss << std::setfill('0') << std::setw(2) << month
                             << std::setfill('0') << std::setw(2) << date
@@ -287,7 +287,7 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                         rotation_timing_value_value = oss.str();
 
                 } else {
-                        logger_logrotate_utility::loglotation_utility_logic_error(77, "Not Exist Log RotaionTiming Year Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(77, "Not Exist Log RotationTiming Year Setting.", __FILE__, __LINE__);
                 }
         }
 
@@ -306,10 +306,10 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                 try {
                                         date = boost::lexical_cast<int>(dateStr);
                                 } catch (const boost::bad_lexical_cast &bc) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(78, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(78, "Parse Timing Month Error.", __FILE__, __LINE__);
                                 }
                                 if (1 > date || date > 31) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(79, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(79, "Parse Timing Month Error.", __FILE__, __LINE__);
                                 }
                                 fpos = rpos + 1;
                                 // find hour
@@ -319,29 +319,29 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                         try {
                                                 hour = boost::lexical_cast<int>(hourStr);
                                         } catch (const boost::bad_lexical_cast &bc) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(80, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(80, "Parse Timing Month Error.", __FILE__, __LINE__);
                                         }
                                         if (0 > hour || hour > 23) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(81, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(81, "Parse Timing Month Error.", __FILE__, __LINE__);
                                         }
                                         // minute
                                         std::string minuteStr = ret.substr(rpos + 1);
                                         try {
                                                 minute = boost::lexical_cast<int>(minuteStr);
                                         } catch (const boost::bad_lexical_cast &bc) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(82, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(82, "Parse Timing Month Error.", __FILE__, __LINE__);
                                         }
                                         if (0 > minute || minute > 59) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(83, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(83, "Parse Timing Month Error.", __FILE__, __LINE__);
                                         }
                                 } else {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(84, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(84, "Parse Timing Month Error.", __FILE__, __LINE__);
                                 }
                         } else {
-                                logger_logrotate_utility::loglotation_utility_logic_error(85, "Parse Timing Month Error.", __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(85, "Parse Timing Month Error.", __FILE__, __LINE__);
                         }
 
-                        // format to internal rotation timing value expresson
+                        // format to internal rotation timing value expression
                         std::stringstream oss;
                         oss << std::setfill('0') << std::setw(2) << date
                             << std::setfill('0') << std::setw(2) << hour
@@ -350,7 +350,7 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                         rotation_timing_value_value = oss.str();
 
                 } else {
-                        logger_logrotate_utility::loglotation_utility_logic_error(86, "Not Exist Log RotaionTiming Month Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(86, "Not Exist Log RotationTiming Month Setting.", __FILE__, __LINE__);
                 }
         }
 
@@ -374,7 +374,7 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                 else if ("fri" == weekStr) week = 5;
                                 else if ("sat" == weekStr) week = 6;
                                 else {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(87, "Parse Timing Week Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(87, "Parse Timing Week Error.", __FILE__, __LINE__);
                                 }
                                 fpos = rpos + 1;
                                 // find hour
@@ -384,29 +384,29 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                         try {
                                                 hour = boost::lexical_cast<int>(hourStr);
                                         } catch (const boost::bad_lexical_cast &bc) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(88, "Parse Timing Week Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(88, "Parse Timing Week Error.", __FILE__, __LINE__);
                                         }
                                         if (0 > hour || hour > 23) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(89, "Parse Timing Week Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(89, "Parse Timing Week Error.", __FILE__, __LINE__);
                                         }
                                         // minute
                                         std::string minuteStr = ret.substr(rpos + 1);
                                         try {
                                                 minute = boost::lexical_cast<int>(minuteStr);
                                         } catch (const boost::bad_lexical_cast &bc) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(90, "Parse Timing Week Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(90, "Parse Timing Week Error.", __FILE__, __LINE__);
                                         }
                                         if (0 > minute || minute > 59) {
-                                                logger_logrotate_utility::loglotation_utility_logic_error(91, "Parse Timing Week Error.", __FILE__, __LINE__);
+                                                logger_logrotate_utility::logrotation_utility_logic_error(91, "Parse Timing Week Error.", __FILE__, __LINE__);
                                         }
                                 } else {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(92, "Parse Timing Week Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(92, "Parse Timing Week Error.", __FILE__, __LINE__);
                                 }
                         } else {
-                                logger_logrotate_utility::loglotation_utility_logic_error(93, "Parse Timing Week Error.", __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(93, "Parse Timing Week Error.", __FILE__, __LINE__);
                         }
 
-                        // format to internal rotation timing value expresson
+                        // format to internal rotation timing value expression
                         std::ostringstream oss;
                         oss << std::setfill('0') << std::setw(1) << week
                             << std::setfill('0') << std::setw(2) << hour
@@ -414,7 +414,7 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
 
                         rotation_timing_value_value = oss.str();
                 } else {
-                        logger_logrotate_utility::loglotation_utility_logic_error(94, "Not Exist Log RotaionTiming Week Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(94, "Not Exist Log RotationTiming Week Setting.", __FILE__, __LINE__);
                 }
         }
 
@@ -431,33 +431,33 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                                 try {
                                         hour = boost::lexical_cast<int>(hourStr);
                                 } catch (const boost::bad_lexical_cast &bc) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(95, "Parse Timing Date Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(95, "Parse Timing Date Error.", __FILE__, __LINE__);
                                 }
                                 if (0 > hour || hour > 23) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(96, "Parse Timing Date Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(96, "Parse Timing Date Error.", __FILE__, __LINE__);
                                 }
                                 // minute
                                 std::string minuteStr = ret.substr(rpos + 1);
                                 try {
                                         minute = boost::lexical_cast<int>(minuteStr);
                                 } catch (const boost::bad_lexical_cast &bc) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(97, "Parse Timing Date Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(97, "Parse Timing Date Error.", __FILE__, __LINE__);
                                 }
                                 if (0 > minute || minute > 59) {
-                                        logger_logrotate_utility::loglotation_utility_logic_error(98, "Parse Timing Date Error.", __FILE__, __LINE__);
+                                        logger_logrotate_utility::logrotation_utility_logic_error(98, "Parse Timing Date Error.", __FILE__, __LINE__);
                                 }
                         } else {
-                                logger_logrotate_utility::loglotation_utility_logic_error(99, "Parse Timing Date Error.", __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(99, "Parse Timing Date Error.", __FILE__, __LINE__);
                         }
 
-                        // format to internal rotation timing value expresson
+                        // format to internal rotation timing value expression
                         std::ostringstream oss;
                         oss << std::setfill('0') << std::setw(2) << hour
                             << std::setfill('0') << std::setw(2) << minute;
 
                         rotation_timing_value_value = oss.str();
                 } else {
-                        logger_logrotate_utility::loglotation_utility_logic_error(100, "Not Exist Log RotaionTiming Date Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(100, "Not Exist Log RotationTiming Date Setting.", __FILE__, __LINE__);
                 }
         }
 
@@ -468,19 +468,19 @@ std::string logger_logrotate_utility::check_rotate_timing_value(const std::strin
                         try {
                                 minute = boost::lexical_cast<int>(ret);
                         } catch (const boost::bad_lexical_cast &bc) {
-                                logger_logrotate_utility::loglotation_utility_logic_error(101, "Parse Timing Hour Error.", __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(101, "Parse Timing Hour Error.", __FILE__, __LINE__);
                         }
                         if (0 > minute || minute > 59) {
-                                logger_logrotate_utility::loglotation_utility_logic_error(102, "Parse Timing Hour Error.", __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(102, "Parse Timing Hour Error.", __FILE__, __LINE__);
                         }
 
-                        // format to internal rotation timing value expresson
+                        // format to internal rotation timing value expression
                         std::ostringstream oss;
                         oss << std::setfill('0') << std::setw(2) << minute;
 
                         rotation_timing_value_value = oss.str();
                 } else {
-                        logger_logrotate_utility::loglotation_utility_logic_error(103, "Not Exist Log RotaionTiming Hour Setting.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(103, "Not Exist Log RotationTiming Hour Setting.", __FILE__, __LINE__);
                 }
         }
 
@@ -510,7 +510,7 @@ void logger_logrotate_utility::set_appender(const appender_property &log_propert
 
                 switch (log_property.rotation_value) {
                 case LOG_ROT_SIZE: {
-                        // create FixedWindcd owRollingPolicy
+                        // create FixedWindowRollingPolicy
                         log4cxx::rolling::FixedWindowRollingPolicyPtr fixedRollingPolicy =
                                 new log4cxx::rolling::FixedWindowRollingPolicy();
 
@@ -552,7 +552,7 @@ void logger_logrotate_utility::set_appender(const appender_property &log_propert
                         } catch (const std::exception &e) {
                                 std::stringstream    buf;
                                 buf << "File Create Failed:" << log_property.log_filename_value;
-                                logger_logrotate_utility::loglotation_utility_logic_error(104, buf.str(), __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(104, buf.str(), __FILE__, __LINE__);
                         }
 
                         // activate appender options
@@ -602,7 +602,7 @@ void logger_logrotate_utility::set_appender(const appender_property &log_propert
                         } catch (const std::exception &e) {
                                 std::stringstream    buf;
                                 buf << "File Create Failed:" << log_property.log_filename_value;
-                                logger_logrotate_utility::loglotation_utility_logic_error(105, buf.str(), __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(105, buf.str(), __FILE__, __LINE__);
                         }
 
                         // activate appender options
@@ -655,7 +655,7 @@ void logger_logrotate_utility::set_appender(const appender_property &log_propert
                         } catch (const std::exception &e) {
                                 std::stringstream    buf;
                                 buf << "File Create Failed:" << log_property.log_filename_value;
-                                logger_logrotate_utility::loglotation_utility_logic_error(106, buf.str(), __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(106, buf.str(), __FILE__, __LINE__);
                         }
 
                         // activate appender options
@@ -670,7 +670,7 @@ void logger_logrotate_utility::set_appender(const appender_property &log_propert
 
                 log4cxx::LoggerPtr cat_logger = log4cxx::Logger::getLogger(log_category);
                 if (0 == cat_logger) {
-                        logger_logrotate_utility::loglotation_utility_logic_error(107, "getLogger Failed.", __FILE__, __LINE__);
+                        logger_logrotate_utility::logrotation_utility_logic_error(107, "getLogger Failed.", __FILE__, __LINE__);
                 }
 
                 AppenderPtr appender_pointer = cat_logger->getAppender(log_category);
@@ -687,7 +687,7 @@ void logger_logrotate_utility::set_appender(const appender_property &log_propert
         } catch (const std::exception &e) {
                 std::ostringstream oss;
                 oss <<  "Logger Reload Config Failed : " << e.what();
-                logger_logrotate_utility::loglotation_utility_logic_error(108, oss.str(), __FILE__, __LINE__);
+                logger_logrotate_utility::logrotation_utility_logic_error(108, oss.str(), __FILE__, __LINE__);
 
         }
 
@@ -698,9 +698,9 @@ void logger_logrotate_utility::set_appender(const appender_property &log_propert
  *
  * @param   check object.
  * @param   appender property
- * @return  false faild
+ * @return  false failed
  */
-bool logger_logrotate_utility::acccess_log_LogrotateParamCheck(
+bool logger_logrotate_utility::access_log_LogrotateParamCheck(
         accesslog_rotate_map_type &rotatedata,
         appender_property &access_log_property)
 {
@@ -724,7 +724,7 @@ bool logger_logrotate_utility::acccess_log_LogrotateParamCheck(
                         } else if (itr->first == ACCESS_LOG_ROTATION_TIMING_VALUE) {
                                 rotation_timing_value_key = itr->second;
                         } else {
-                                logger_logrotate_utility::loglotation_utility_logic_error(109, "access log rotation invalid argument.", __FILE__, __LINE__);
+                                logger_logrotate_utility::logrotation_utility_logic_error(109, "access log rotation invalid argument.", __FILE__, __LINE__);
                         }
                 }
 
@@ -759,7 +759,7 @@ bool logger_logrotate_utility::acccess_log_LogrotateParamCheck(
  * @param   line no
  * @return  void
  */
-void logger_logrotate_utility::loglotation_utility_logic_error(const unsigned int logno, const std::string &str, const char *file , const unsigned int line)
+void logger_logrotate_utility::logrotation_utility_logic_error(const unsigned int logno, const std::string &str, const char *file , const unsigned int line)
 {
 #if    defined(LOGGER_PROCESS_VSD)
         Logger::putLogError(l7vs::LOG_CAT_L7VSD_LOGGER, logno, str, file, line);
index 78a7a2b..4efc8a9 100644 (file)
@@ -33,7 +33,7 @@
 namespace l7vs
 {
         /*!
-         * update virtual service table infomation.
+         * update virtual service table information.
          *
          * @param   l7vsd * l7vsd pointer
          * @param   error_code & error code
@@ -166,7 +166,7 @@ namespace l7vs
 
                                 virtualservice_element &srv = (*it)->get_element();
 
-                                //get virtual service IP address infomation
+                                //get virtual service IP address information
                                 if (srv.udpmode) {
                                         protocol = SNMP_IPPROTO_UDP;
                                         if (srv.udp_recv_endpoint.address().is_v4()) {
@@ -187,7 +187,7 @@ namespace l7vs
                                         vs_port = srv.tcp_accept_endpoint.port();
                                 }
 
-                                //get sorry server IP address infomation
+                                //get sorry server IP address information
                                 if (srv.sorry_endpoint.address().is_v4()) {
                                         strncpy(sorry_ipaddress, srv.sorry_endpoint.address().to_v4().to_string().c_str(), L7VS_IPADDR_LEN);
                                 } else {
@@ -198,7 +198,7 @@ namespace l7vs
 
                                 sorry_flag = (srv.sorry_flag == 1) ? 1 : 2;
 
-                                //get protocol mudule option string
+                                //get protocol module option string
                                 std::stringstream protocol_module_arg;
                                 BOOST_FOREACH(std::string str, srv.protocol_args) {
                                         protocol_module_arg << str << " ";
@@ -213,7 +213,7 @@ namespace l7vs
                                 //set realserver size
                                 int rs_size = srv.realserver_vector.size();
 
-                                //get http statstics
+                                //get http statistics
                                 protocol_module_base   *protocol_module_ptr = (*it)->get_protocol_module();
                                 stats_base& base_stats = protocol_module_ptr->get_stats();
                                 if ( base_stats.get_mode() == stats_base::MODE_HTTP ) {
@@ -226,18 +226,18 @@ namespace l7vs
                                 //set sorry max connection
                                 sorry_maxconnection.low = srv.sorry_maxconnection;
 
-                                //set throughput infomation
+                                //set throughput information
                                 throughput_upstream.low = srv.throughput_upstream;
                                 throughput_downstream.low = srv.throughput_downstream;
                                 qos_upstream.low = srv.qos_upstream * 8;
                                 qos_downstream.low = srv.qos_downstream * 8;
 
-                                //set session infomation
+                                //set session information
                                 pool_session_count = (*it)->get_pool_sessions_count();
                                 active_session_count = (*it)->get_active_sessions_count();
                                 waiting_session_count = (*it)->get_waiting_sessions_count();
 
-                                //set vs table row infomation
+                                //set vs table row information
                                 netsnmp_set_row_column(row, COLUMN_L7VSVSINDEX, ASN_INTEGER, (char *)&vs_index, sizeof(int));
                                 netsnmp_set_row_column(row, COLUMN_L7VSVSPROTOCOL, ASN_INTEGER, (char *)&protocol, sizeof(int));
                                 netsnmp_set_row_column(row, COLUMN_L7VSVSADDRTYPE, ASN_INTEGER, (char *)&vs_ipaddress_type, sizeof(int));
@@ -274,7 +274,7 @@ namespace l7vs
 
                                         rsdata data;
 
-                                        //set realserver infomation
+                                        //set realserver information
                                         if (srv.udpmode) {
                                                 if ((*rs_it).udp_endpoint.address().is_v4()) {
                                                         strncpy(data.address, (*rs_it).udp_endpoint.address().to_v4().to_string().c_str(), L7VS_IPADDR_LEN);
@@ -318,12 +318,12 @@ namespace l7vs
                 }
                 /*------ DEBUG LOG END ------*/
 
-                //update realserver infomation with temporary realserver data list
+                //update realserver information with temporary realserver data list
                 update_rs_table(rs_vector, err);
         }
 
         /*!
-         * update real server table infomation.
+         * update real server table information.
          *
          * @param   const std::vector<rsdata> & temporary real server list
          * @param   error_code & error code
index 78adfa8..be9baa6 100644 (file)
@@ -1,6 +1,6 @@
 /*!
  * @file  parameter.cpp
- * @brief ultramonke-l7 parameter class.
+ * @brief ultramonkey-l7 parameter class.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -50,12 +50,12 @@ l7vs::Parameter::Parameter()
                 switch (param_cat) {
                 case LOG_CAT_L7VSADM_PARAMETER:
                         Logger::putLogFatal(param_cat, 2,
-                                            "param_cat=LOG_CAT_L7VSDADM_PARAMETER continue!",
+                                            "param_cat=LOG_CAT_L7VSADM_PARAMETER continue!",
                                             __FILE__, __LINE__);
                         break;
                 default:
                         Logger::putLogFatal(param_cat, 3,
-                                            "param_cat= not LOG_CAT_L7VSDADM_PARAMETER exit!",
+                                            "param_cat= not LOG_CAT_L7VSADM_PARAMETER exit!",
                                             __FILE__, __LINE__);
                         exit(1);
                 }
@@ -73,7 +73,7 @@ l7vs::Parameter::~Parameter()
 //! @param[in]    COMPONENT TAG
 //! @param[in]    file name
 //! @return true  success
-//! @return false failer
+//! @return false fail
 bool l7vs::Parameter::init(const PARAMETER_COMPONENT_TAG comp,
                            const std::string &filename)
 {
index 2198f5b..0259ce2 100644 (file)
@@ -1,6 +1,6 @@
 /*!
- * @file  paramter_impl.cpp
- * @brief paramater impliment file.
+ * @file  parameter_impl.cpp
+ * @brief parameter implement file.
  *
  * L7VSD: Linux Virtual Server for Layer7 Load Balancing
  * Copyright (C) 2009  NTT COMWARE Corporation.
@@ -51,7 +51,7 @@ static bool create_map_flag = false;
 //
 //! Initialize ParameterImpl class
 //! @return true    success
-//! @return false   failer
+//! @return false   fail
 bool l7vs::ParameterImpl::init()
 {
 
@@ -80,7 +80,7 @@ bool l7vs::ParameterImpl::init()
 //! @param[in]    COMPONENT TAG
 //! @param[in]    file name
 //! @return true  success
-//! @return false failer
+//! @return false fail
 bool l7vs::ParameterImpl::init(const l7vs::PARAMETER_COMPONENT_TAG comp,
                                const std::string &file_name)
 {
@@ -128,7 +128,7 @@ bool l7vs::ParameterImpl::read_file(const l7vs::PARAMETER_COMPONENT_TAG comp,
 
         std::string    section_string;
         while (std::getline(ifs, line)) {
-                // triming
+                // trimming
                 boost::algorithm::trim(line);
                 // zero line skip
                 if (line.size() == 0) continue;
@@ -208,9 +208,9 @@ bool l7vs::ParameterImpl::read_file(const l7vs::PARAMETER_COMPONENT_TAG comp,
                                 // check same key
                                 if (multistring_map.end() != multistring_map.find(key)) {
                                         // Only SSL component can designate more than one value.
-                                        // Other component overwrite tmp multimap
+                                        // Other component overwrite tmp multi map
 
-                                        // get compornent tag from section_string
+                                        // get component tag from section_string
                                         for (std::map<PARAMETER_COMPONENT_TAG, std::string>::iterator section_itr = tag_section_table_map.begin();
                                              section_itr != tag_section_table_map.end();
                                              ++section_itr) {
@@ -221,7 +221,7 @@ bool l7vs::ParameterImpl::read_file(const l7vs::PARAMETER_COMPONENT_TAG comp,
                                                 }
                                         }
                                 }
-                                // tmp multimap insert
+                                // tmp multi map insert
                                 multistring_map.insert(string_pair_type(key, strvalue));
                         }
                         // insert int value
@@ -259,7 +259,7 @@ bool l7vs::ParameterImpl::read_file(const l7vs::PARAMETER_COMPONENT_TAG comp,
                 }
         }
 
-        //convert temporaly map to global map.
+        //convert temporally map to global map.
         if (comp == PARAM_COMP_ALL) {
                 intMap.clear();
                 // all tmp int map copy
@@ -275,7 +275,7 @@ bool l7vs::ParameterImpl::read_file(const l7vs::PARAMETER_COMPONENT_TAG comp,
         // comp error
         else if (comp == PARAM_COMP_NOCAT) {
                 Logger::putLogError(logcat, 2,
-                                    "parameter_component_none is not suport",
+                                    "parameter_component_none is not support",
                                     __FILE__, __LINE__);
         }
         // TAG designation
index a2652a6..5a1fc32 100644 (file)
@@ -57,7 +57,7 @@ protocol_module_control::getInstance()
 /*!
  * initialize class.
  *
- * @param   filepath
+ * @param   file path
  * @return  void
  */
 void
@@ -84,8 +84,8 @@ protocol_module_control::finalize()
 /*!
  * load shared object.
  *
- * @param   modulename
- * @param   loggingfunction
+ * @param   module name
+ * @param   logging function
  * @return  pointer for protocol_module_base class instance
  */
 protocol_module_base*
@@ -144,7 +144,7 @@ protocol_module_control::load_module(const    std::string &modulename)
 /*!
  * unload shared object.
  *
- * @param   modulename
+ * @param   module name
  * @param   pointer for protocol_module_base class instance
  * @return  void
  */
index f78f64a..cccb891 100644 (file)
@@ -31,7 +31,7 @@
 namespace l7vs
 {
 
-//! emun States Type string
+//! enum States Type string
 static const char *replication_mode[] = {
         "REPLICATION_OUT",
         "REPLICATION_SINGLE",
@@ -142,8 +142,8 @@ int            replication::initialize()
         mutex_ptr    component_mutex;
 
         replication_mutex.clear();
-        // Conponent exists
-        // Get Component infomation
+        // Component exists
+        // Get Component information
         for (int i = 0; i < CMP_MAX; i++) {
                 key_id = boost::io::str(boost::format("cmponent_id_%02d") % i);
                 key_size = boost::io::str(boost::format("cmponent_size_%02d") % i);
@@ -218,7 +218,7 @@ int            replication::initialize()
                 // free memory
                 releaserpl();
                 releasecmp();
-                Logger::putLogError(LOG_CAT_L7VSD_SYSTEM_MEMORY, 3, "Surface infomation memory is NULL.", __FILE__, __LINE__);
+                Logger::putLogError(LOG_CAT_L7VSD_SYSTEM_MEMORY, 3, "Surface information memory is NULL.", __FILE__, __LINE__);
                 // Status Set
                 replication_state.service_status = REPLICATION_SINGLE;
                 return -1;
@@ -272,7 +272,7 @@ void        replication::finalize()
                 replication_thread_ptr->join();
         }
 
-        // Socket finalaize
+        // Socket finalize
         if (replication_send_socket.is_open()) {
                 replication_send_socket.close();
         }
@@ -335,7 +335,7 @@ void        replication::switch_to_master()
         switch (replication_state.service_status) {
         case REPLICATION_SLAVE:
         case REPLICATION_SLAVE_STOP:
-                // Set Mastre Mode
+                // Set Master Mode
                 ret = set_master();
                 if (0 != ret) {
                         replication_state.service_status = REPLICATION_SINGLE;
@@ -347,7 +347,7 @@ void        replication::switch_to_master()
                         buf = boost::io::str(boost::format("Switch to master NG. mode : %s") % replication_mode[(int)replication_state.service_status]);
                         Logger::putLogError(LOG_CAT_L7VSD_REPLICATION, 11, buf, __FILE__, __LINE__);
                 } else {
-                        // Copy from compornent area to replication area.
+                        // Copy from component area to replication area.
                         memcpy(replication_state.replication_memory, replication_state.component_memory, replication_state.total_block * DATA_SIZE);
 
                         if (REPLICATION_SLAVE == replication_state.service_status) {
@@ -445,7 +445,7 @@ void        replication::switch_to_slave()
                 }
         }
 
-        // Set Mastre Mode
+        // Set Master Mode
         ret = set_slave();
         if (0 != ret) {
                 replication_state.service_status = REPLICATION_SINGLE;
@@ -547,7 +547,7 @@ int        replication::set_slave()
 //! @param[in] component_id is the one to identify the component.
 //! @param[out] size of component use blocks
 //! @return Replication memory address
-//! @retval nonnull Replication memory address
+//! @retval non-null Replication memory address
 //! @retval NULL Error
 void        *replication::pay_memory(const std::string &inid, unsigned int &outsize)
 {
@@ -588,7 +588,7 @@ void        *replication::pay_memory(const std::string &inid, unsigned int &outs
                         }
                         // Pay memory address
                         ret = (char *)replication_state.component_memory + replication_info.component_info[i].block_head * DATA_SIZE;
-                        // Nnumber of blocks of ID was returned.
+                        // Number of blocks of ID was returned.
                         outsize = replication_info.component_info[i].block_size;
 
                         // LOG INFO
@@ -671,7 +671,7 @@ void        replication::dump_memory()
         Logger::putLogInfo(LOG_CAT_L7VSD_REPLICATION, 16, "Replication Dump End ------------------------------", __FILE__, __LINE__);
 }
 
-//! Chenge Status isActive
+//! Change Status isActive
 void        replication::start()
 {
         Logger    logger(LOG_CAT_L7VSD_REPLICATION, 7, "replication::start", __FILE__, __LINE__);
@@ -713,7 +713,7 @@ void        replication::start()
         }
 }
 
-//! Chenge Status isStop
+//! Change Status isStop
 void        replication::stop()
 {
         Logger    logger(LOG_CAT_L7VSD_REPLICATION, 8, "replication::stop", __FILE__, __LINE__);
@@ -859,7 +859,7 @@ void        replication::force_replicate()
         Logger::putLogInfo(LOG_CAT_L7VSD_REPLICATION, 23, "Replication compulsorily is success.", __FILE__, __LINE__);
 
 END:
-        // Thread rusume
+        // Thread resume
         {
                 boost::mutex::scoped_lock    lock(replication_thread_mutex);
                 if (replication_flag != EXIT) {
@@ -897,7 +897,7 @@ void        replication::reset()
 }
 
 //! Get Status
-//! @return REPLICATION_MODE_TAG enumration
+//! @return REPLICATION_MODE_TAG enumeration
 replication::REPLICATION_MODE_TAG    replication::get_status()
 {
         Logger    logger(LOG_CAT_L7VSD_REPLICATION, 11, "replication::get_status", __FILE__, __LINE__);
@@ -1264,7 +1264,7 @@ unsigned long long        replication::make_serial()
 
         // get time by clock_gettime
         if (clock_gettime(CLOCK_REALTIME, &current_time) == -1) {
-                // failre.
+                // failure.
                 Logger::putLogError(LOG_CAT_L7VSD_SYSTEM, 7, "You failed to get of time.", __FILE__, __LINE__);
                 serial_num = 0;
         } else {
@@ -1402,7 +1402,7 @@ int            replication::recv_data()
                         break;
                 }
                 if (i == replication_state.total_block - 2) {
-                        // Lock all compornent area
+                        // Lock all component area
                         for (itr = replication_mutex.begin(); itr != replication_mutex.end(); itr++) {
                                 itr->second->lock();
                         }
@@ -1410,7 +1410,7 @@ int            replication::recv_data()
                         // Synchronization is executed.
                         memcpy(replication_state.component_memory, replication_state.replication_memory, replication_state.total_block * DATA_SIZE);
 
-                        // Unlock all compornent area
+                        // Unlock all component area
                         for (itr = replication_mutex.begin(); itr != replication_mutex.end(); itr++) {
                                 itr->second->unlock();
                         }
index d21d6db..0c1a686 100644 (file)
@@ -57,7 +57,7 @@ schedule_module_control::getInstance()
 /*!
  * initialize class.
  *
- * @param   filepath
+ * @param   file path
  * @return  void
  */
 void
@@ -84,8 +84,8 @@ schedule_module_control::finalize()
 /*!
  * load shared object.
  *
- * @param   modulename
- * @param   loggingfunction
+ * @param   module name
+ * @param   logging function
  * @return  pointer for schedule_module_base class instance
  */
 schedule_module_base*
@@ -144,7 +144,7 @@ schedule_module_control::load_module(const    std::string &modulename)
 /*!
  * unload shared object.
  *
- * @param   modulename
+ * @param   module name
  * @param   pointer for schedule_module_base class instance
  * @return  void
  */
index 40e33b8..7c9eebb 100644 (file)
@@ -109,7 +109,7 @@ void    session_thread_control::upstream_run()
                         upthread_running_mutex.unlock();
                         upthread_condition.timed_wait(lock, wait);   // thread is condition wait( start at notify_all() )
                         upthread_running_mutex.lock();
-                } else if (state == EXIT) { // this state is vitrualservice end. thread is finishing.
+                } else if (state == EXIT) { // this state is virtualservice end. thread is finishing.
                         break;
                 } else { //state RUNNING
                         session->up_thread_run();    //session upstream thread looping.
@@ -172,7 +172,7 @@ void    session_thread_control::downstream_run()
                         downthread_running_mutex.unlock();
                         downthread_condition.timed_wait(lock, wait);   // thread is condition wait( start at notify_all() )
                         downthread_running_mutex.lock();
-                } else if (state == EXIT) { // this state is vitrualservice end. thread is finishing.
+                } else if (state == EXIT) { // this state is virtualservice end. thread is finishing.
                         break;
                 } else { //state RUNNING
                         session->down_thread_run();//session downstream thread looping.
index bb6bad8..2b56cc4 100644 (file)
@@ -157,9 +157,9 @@ namespace l7vs
         }
 
         /*!
-         *  get snmp infomation.
+         *  get snmp information.
          *
-         * @return         snmp infomation
+         * @return         snmp information
          */
         snmp_info  snmpagent::get_snmp_info()
         {
index 5cccfde..f649d53 100644 (file)
@@ -226,7 +226,7 @@ namespace l7vs
                                 trapfunc_map[trapmessage::INFO_LOG]              = &trap_info;
                                 trapfunc_map[trapmessage::DEBUG_LOG]             = &trap_debug;
 
-                                //init member varable
+                                //init member variables
                                 mib_collect_last_time = boost::posix_time::ptime(boost::posix_time::min_date_time);
                                 start_date = 0;
                                 request_last_date = 0;
@@ -269,14 +269,14 @@ namespace l7vs
 
                                 init_snmp("l7vsAgent");
 
-                                //regist snmp get item' handle
+                                //register snmp get item' handle
                                 init_snmp_handles(err);
 
                                 if (err) {
                                         return;
                                 }
 
-                                //set initializ flag true
+                                //set initialize flag true
                                 initialized = true;
 
                                 /*-------- DEBUG LOG --------*/
@@ -336,7 +336,7 @@ namespace l7vs
                                 {
                                         boost::mutex::scoped_lock lock(trap_msg_queue_condition_mutex);
 
-                                        //drap the message when the trap message queue is too large
+                                        //drop the message when the trap message queue is too large
                                         if( trap_msg_queue.size() < trap_queue_max_size.get())
                                         {
                                                 //push the message into trap message queue
@@ -465,7 +465,7 @@ namespace l7vs
                 enabled = FALSE;
 
                 if (!start_flag) {
-                        std::string  str =  "snmp function has already stoped.";
+                        std::string  str =  "snmp function has already stopped.";
                         Logger::putLogInfo(LOG_CAT_L7VSD_SNMPAGENT, 2, str, __FILE__, __LINE__);
                         return;
                 }
@@ -527,7 +527,7 @@ namespace l7vs
                         stop();
                 }
                 else {
-                        std::string  str =  "snmp function has already stoped.";
+                        std::string  str =  "snmp function has already stopped.";
                         Logger::putLogInfo(LOG_CAT_L7VSD_SNMPAGENT, 5, str, __FILE__, __LINE__);
                 }
         }
@@ -711,7 +711,7 @@ namespace l7vs
                                 /*------ DEBUG LOG END ------*/
 
                                 http_stats &httpstats = static_cast<http_stats&>(base_stats);
-                                //clear http statstics
+                                //clear http statistics
                                 httpstats.http_requests = 0ULL;
                                 httpstats.http_get_requests = 0ULL;
                                 httpstats.http_post_requests = 0ULL;
@@ -721,7 +721,7 @@ namespace l7vs
         }
 
         /*!
-         *  set vsd infomation.
+         *  set vsd information.
          *
          * @param[in]      vsd is vsd pointer.
          * @retrun         void
@@ -734,9 +734,9 @@ namespace l7vs
         }
 
         /*!
-         *  get snmp infomation.
+         *  get snmp information.
          *
-         * @retrun         snmp_info is snmp infomation.
+         * @retrun         snmp_info is snmp information.
          */
         snmp_info snmpagent_impl::get_snmp_info()
         {
index c8ebbf8..7006904 100644 (file)
@@ -37,7 +37,7 @@ netsnmp_table_data_set *rs_table;
 
 
 /*!
- * initialize snmp scaler and table data set handles.
+ * initialize snmp scalar and table data set handles.
  *
  * @param[in]      error_code& is trap error code
  * @retrun         void
@@ -128,7 +128,7 @@ handle_get_vstable_count(netsnmp_mib_handler *handler,
                         return SNMP_ERR_GENERR;
                 }
 
-                //get virtual serveice size
+                //get virtual service size
                 int rep_state = l7vs::mibdata::get_instance().get_vs_table_size();
 
                 //set value
index a641f34..6efe6ac 100644 (file)
@@ -50,7 +50,7 @@ IMPLEMENT_LOG4CXX_OBJECT(StrictTimeBasedRollingPolicy)
 
 /*!
  * default constructor.
- * initialize member valiables
+ * initialize member variables
  * @param   void
  * @return  void
  */
@@ -60,7 +60,7 @@ StrictTimeBasedRollingPolicy::StrictTimeBasedRollingPolicy() :
 }
 
 /*!
- * increase reffernce count
+ * increase reference count
  * @param   void
  * @return  void
  */
@@ -70,7 +70,7 @@ void StrictTimeBasedRollingPolicy::addRef() const
 }
 
 /*!
- * decrease reffernce count
+ * decrease reference count
  * @param   void
  * @return  void
  */
@@ -161,7 +161,7 @@ void StrictTimeBasedRollingPolicy::setOption(const LogString &option, const LogS
 /*!
  * rolling policy initialize
  * @param   filename of current use
- * @param   append or overWrite
+ * @param   append or overwrite
  * @param   memory pool
  * @return  Rollover information
  */
@@ -409,10 +409,10 @@ time_t StrictTimeBasedRollingPolicy::getNextCheck(time_t now_time)
 }
 
 /*!
- * log file rollover opration
+ * log file rollover operation
  * @param   name of current log file
  * @param   memory pool
- * @return  Rollover infomation
+ * @return  Rollover information
  */
 RolloverDescriptionPtr StrictTimeBasedRollingPolicy::rollover(
         const LogString &currentActiveFile,
index 02d9f88..418936d 100644 (file)
@@ -28,7 +28,7 @@
 namespace l7vs
 {
 
-//! construcor
+//! constructor
 tcp_realserver_connect_socket_list::tcp_realserver_connect_socket_list()
 {
 }
index 42808bc..1ca0b8b 100644 (file)
@@ -271,7 +271,7 @@ tcp_session::tcp_session(
         add_down_thread_vs_message_func.second = boost::bind(&tcp_session::down_thread_exit, this, _1);
         virtual_service_message_down_thread_function_map.insert(add_down_thread_vs_message_func);
 
-        // epoll impliment
+        // epoll implement
         up_client_epollfd = epoll_create(EVENT_NUM);
         up_realserver_epollfd = epoll_create(EVENT_NUM);
         up_sorryserver_epollfd = epoll_create(EVENT_NUM);
@@ -885,7 +885,7 @@ void tcp_session::up_thread_run()
                 }
         }
         if (likely(!exit_flag)) {
-                // set client socket options(recieve buffer size)
+                // set client socket options(receive buffer size)
                 if (upstream_buffer_size > 0) {
                         boost::asio::socket_base::receive_buffer_size opt(upstream_buffer_size);
 
@@ -898,7 +898,7 @@ void tcp_session::up_thread_run()
                                 // cannot set socket option
                                 std::stringstream buf;
                                 buf << "Thread ID[" << boost::this_thread::get_id() << "] ";
-                                buf << "cannot set client socket recieve buffer size: ";
+                                buf << "cannot set client socket receive buffer size: ";
                                 buf << ec.message();
                                 Logger::putLogError(LOG_CAT_L7VSD_SESSION, 12, buf.str(), __FILE__, __LINE__);
                                 {
@@ -1180,7 +1180,7 @@ void tcp_session::down_thread_run()
 
 }
 
-//! endpoint data to string infomation
+//! endpoint data to string information
 //! @param[in]        endpoint is target endpoint object
 std::string tcp_session::endpoint_to_string(
         const endpoint &target_endpoint)
@@ -1208,7 +1208,7 @@ std::string tcp_session::endpoint_to_string(
 }
 
 //! up thread accept client side
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_client_accept(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1233,7 +1233,7 @@ void tcp_session::up_thread_client_accept(const TCP_PROCESS_TYPE_TAG process_typ
                 } else {
                         if (ssl_handshake_timer_flag == false) {
                                 // set handshake timer
-                                //regist handshake timer event handler
+                                //register handshake timer event handler
                                 ssl_handshake_timer.reset(new boost::asio::deadline_timer(io));
                                 ssl_handshake_timer->expires_from_now(boost::posix_time::seconds(ssl_handshake_time_out));
                                 ssl_handshake_timer->async_wait(boost::bind(&tcp_session::handle_ssl_handshake_timer,
@@ -1295,7 +1295,7 @@ void tcp_session::up_thread_client_accept(const TCP_PROCESS_TYPE_TAG process_typ
 }
 
 //! up thread raise module event of handle_accept and do handshake
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_client_accept_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1367,7 +1367,7 @@ void tcp_session::handle_ssl_handshake_timer(const boost::system::error_code &er
 }
 
 //! up thread receive client side and raise module event of handle_client_recv
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_client_receive(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1397,7 +1397,7 @@ void tcp_session::up_thread_client_receive(const TCP_PROCESS_TYPE_TAG process_ty
         event.data.fd = !ssl_flag ? client_socket.get_socket().native()
                         : client_ssl_socket.get_socket().lowest_layer().native();
 
-        // epoll wailt codes
+        // epoll wait codes
         if (is_epoll_edge_trigger) {
                 event.events = EPOLLIN | EPOLLHUP | EPOLLET;
         } else {
@@ -1477,7 +1477,7 @@ void tcp_session::up_thread_client_receive(const TCP_PROCESS_TYPE_TAG process_ty
                 if (recv_size > 0) {
                         //----Debug log----------------------------------------------------------------------
                         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
-                                endpoint client_endpoint; // XXX redifined???
+                                endpoint client_endpoint; // XXX redefined???
                                 client_endpoint = !ssl_flag ? client_socket.get_socket().lowest_layer().remote_endpoint(ec)
                                                   : client_ssl_socket.get_socket().lowest_layer().remote_endpoint(ec);
                                 boost::format formatter("Thread ID[%d] up_thread_client_receive receive data size[%d] from [%d]");
@@ -1491,7 +1491,7 @@ void tcp_session::up_thread_client_receive(const TCP_PROCESS_TYPE_TAG process_ty
                         std::map<protocol_module_base::EVENT_TAG, UP_THREAD_FUNC_TYPE_TAG>::iterator func_type = up_thread_module_event_map.find(module_event);
                         if (unlikely(func_type == up_thread_module_event_map.end())) {
                                 //Error unknown protocol_module_base::EVENT_TAG return
-                                boost::format formatter("Thread ID[%d] protocol_module returnd illegal EVENT_TAG: %d");
+                                boost::format formatter("Thread ID[%d] protocol_module returned illegal EVENT_TAG: %d");
                                 formatter % boost::this_thread::get_id() % module_event;
                                 Logger::putLogError(LOG_CAT_L7VSD_SESSION, 20, formatter.str(), __FILE__, __LINE__);
                                 up_thread_exit(process_type);
@@ -1525,7 +1525,7 @@ void tcp_session::up_thread_client_receive(const TCP_PROCESS_TYPE_TAG process_ty
         }
 }
 //! up thread raise client respond send event message for up and down thread
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_client_respond(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1552,7 +1552,7 @@ void tcp_session::up_thread_client_respond(const TCP_PROCESS_TYPE_TAG process_ty
         }
 }
 //! up thread raise module event of handle_response_send_inform
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_client_respond_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1577,7 +1577,7 @@ void tcp_session::up_thread_client_respond_event(const TCP_PROCESS_TYPE_TAG proc
         }
 }
 //! up thread close client socket and raise client disconnect event message for up and down thread
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_client_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1602,7 +1602,7 @@ void tcp_session::up_thread_client_disconnect(const TCP_PROCESS_TYPE_TAG process
                 while (!down_thread_message_que.push(down_msg)) {}
         }
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
-                boost::format formatter("Thread ID[%d] FUNC_OUT up_thread_client_disconnect up_func[%s] donw_func[%s]");
+                boost::format formatter("Thread ID[%d] FUNC_OUT up_thread_client_disconnect up_func[%s] down_func[%s]");
                 formatter % boost::this_thread::get_id()
                 % func_tag_to_string(UP_FUNC_CLIENT_DISCONNECT_EVENT)
                 % func_tag_to_string(DOWN_FUNC_CLIENT_DISCONNECT_EVENT);
@@ -1610,7 +1610,7 @@ void tcp_session::up_thread_client_disconnect(const TCP_PROCESS_TYPE_TAG process
         }
 }
 //! up thread raise module event of handle_client_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_client_disconnect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1634,7 +1634,7 @@ void tcp_session::up_thread_client_disconnect_event(const TCP_PROCESS_TYPE_TAG p
         }
 }
 //! up thread send realserver and raise module event of handle_client_recv
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_realserver_send(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1769,7 +1769,7 @@ void tcp_session::up_thread_realserver_send(const TCP_PROCESS_TYPE_TAG process_t
 }
 
 //! up thread raise module event of handle_realserver_select
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_realserver_get_destination_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1807,7 +1807,7 @@ void tcp_session::up_thread_realserver_get_destination_event(const TCP_PROCESS_T
         }
 }
 //! up thread connect realserver
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_realserver_connect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1905,7 +1905,7 @@ out_tproxy:
                         }
                         parent_service.connection_active(server_endpoint);
                         if (unlikely(!new_socket->set_non_blocking_mode(ec))) {
-                                // socket set nonblocking mode error
+                                // socket set non-blocking mode error
                                 std::stringstream buf;
                                 buf << "Thread ID[" << boost::this_thread::get_id() << "] ";
                                 buf << "set non blocking socket error: " << ec.message();
@@ -1914,15 +1914,15 @@ out_tproxy:
                                 return;
                         }
 
-                        //set realserver_socket options(recieve buffer size)
+                        //set realserver_socket options(receive buffer size)
                         if (downstream_buffer_size > 0) {
                                 boost::asio::socket_base::receive_buffer_size opt1(downstream_buffer_size);
                                 new_socket->get_socket().set_option(opt1, ec);
                                 if (unlikely(ec)) {
-                                        // socket set nonblocking mode error
+                                        // socket set non-blocking mode error
                                         std::stringstream buf;
                                         buf << "Thread ID[" << boost::this_thread::get_id() << "] ";
-                                        buf << "realserver socket recieve buffer size error: " << ec.message();
+                                        buf << "realserver socket receive buffer size error: " << ec.message();
                                         Logger::putLogError(LOG_CAT_L7VSD_SESSION, 35, buf.str(), __FILE__, __LINE__);
                                         up_thread_exit(process_type);
                                         return;
@@ -1933,7 +1933,7 @@ out_tproxy:
                                 boost::asio::socket_base::send_buffer_size opt2(upstream_buffer_size);
                                 new_socket->get_socket().set_option(opt2, ec);
                                 if (unlikely(ec)) {
-                                        // socket set nonblocking mode error
+                                        // socket set non-blocking mode error
                                         std::stringstream buf;
                                         buf << "Thread ID[" << boost::this_thread::get_id() << "] ";
                                         buf << "realserver socket send buffer size error: " << ec.message();
@@ -1971,7 +1971,7 @@ out_tproxy:
         }
 }
 //! up thread raise module event of handle_realserver_connect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_realserver_connect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -1997,7 +1997,7 @@ void tcp_session::up_thread_realserver_connect_event(const TCP_PROCESS_TYPE_TAG
         }
 }
 //! up thread raise module event of handle_realserver_connection_fail
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_realserver_connection_fail_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2018,7 +2018,7 @@ void tcp_session::up_thread_realserver_connection_fail_event(const TCP_PROCESS_T
         }
 }
 //! up thread close realserver socket and raise realserver disconnect event message for up and down thread
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_realserver_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2052,7 +2052,7 @@ void tcp_session::up_thread_realserver_disconnect(const TCP_PROCESS_TYPE_TAG pro
         }
 }
 //! up thread raise module event of handle_client_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_realserver_disconnect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2080,7 +2080,7 @@ void tcp_session::up_thread_realserver_disconnect_event(const TCP_PROCESS_TYPE_T
 }
 
 //! up thread close all realserver socket and raise module event of handle_realserver_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_all_realserver_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2138,7 +2138,7 @@ void tcp_session::up_thread_all_realserver_disconnect(const TCP_PROCESS_TYPE_TAG
         }
 }
 //! up thread send sorryserver and raise module event of handle_sorryserver_send
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_send(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2249,7 +2249,7 @@ void tcp_session::up_thread_sorryserver_send(const TCP_PROCESS_TYPE_TAG process_
                                         //Error unknown protocol_module_base::EVENT_TAG return
                                         std::stringstream buf;
                                         buf << "Thread ID[" << boost::this_thread::get_id() << "] ";
-                                        buf << "protocol_module returnd illegal EVENT_TAG: " << module_event;
+                                        buf << "protocol_module returned illegal EVENT_TAG: " << module_event;
                                         Logger::putLogError(LOG_CAT_L7VSD_SESSION, 49, buf.str(), __FILE__, __LINE__);
                                         up_thread_exit(process_type);
                                         return;
@@ -2277,7 +2277,7 @@ void tcp_session::up_thread_sorryserver_send(const TCP_PROCESS_TYPE_TAG process_
         }
 }
 //! up thread raise module event of handle_sorryserver_select
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_get_destination_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2302,7 +2302,7 @@ void tcp_session::up_thread_sorryserver_get_destination_event(const TCP_PROCESS_
         }
 }
 //! up thread connect sorryserver
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_connect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2371,7 +2371,7 @@ out_tproxy:
                 bool bres = sorryserver_socket.second->connect(sorry_endpoint, ec);
                 if (likely(bres)) {
                         if (unlikely(!sorryserver_socket.second->set_non_blocking_mode(ec))) {
-                                // socket set nonblocking mode error
+                                // socket set non-blocking mode error
                                 std::stringstream buf;
                                 buf << "Thread ID[" << boost::this_thread::get_id() << "] ";
                                 buf << "set non blocking socket error: " << ec.message();
@@ -2398,7 +2398,7 @@ out_tproxy:
         }
 }
 //! up thread raise module event of handle_sorryserver_connect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_connect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2431,7 +2431,7 @@ void tcp_session::up_thread_sorryserver_connect_event(const TCP_PROCESS_TYPE_TAG
         }
 }
 //! up thread raise module event of handle_sorryserver_connection_fail
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_connection_fail_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2452,7 +2452,7 @@ void tcp_session::up_thread_sorryserver_connection_fail_event(const TCP_PROCESS_
         }
 }
 //! up thread close sorryserver socket and raise sorryserver disconnect event message for up and down thread
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2483,7 +2483,7 @@ void tcp_session::up_thread_sorryserver_disconnect(const TCP_PROCESS_TYPE_TAG pr
         }
 }
 //! up thread close sorryserver socket and raise module sorryserver disconnect event
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_mod_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2515,7 +2515,7 @@ void tcp_session::up_thread_sorryserver_mod_disconnect(const TCP_PROCESS_TYPE_TA
 }
 
 //! up thread raise module event of handle_sorryserver_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorryserver_disconnect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2540,7 +2540,7 @@ void tcp_session::up_thread_sorryserver_disconnect_event(const TCP_PROCESS_TYPE_
         }
 }
 //! up thread raise module event of handle_sorry_enable
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorry_enable_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2572,7 +2572,7 @@ void tcp_session::up_thread_sorry_enable_event(const TCP_PROCESS_TYPE_TAG proces
         }
 }
 //! up thread raise module event of handle_sorry_disable
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_sorry_disable_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2605,7 +2605,7 @@ void tcp_session::up_thread_sorry_disable_event(const TCP_PROCESS_TYPE_TAG proce
 }
 
 //! up thread exit main loop
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::up_thread_exit(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2663,7 +2663,7 @@ void tcp_session::up_thread_all_socket_close(void)
 }
 
 //! down thread receive from realserver and raise module event of handle_realserver_recv
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_realserver_receive(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2820,7 +2820,7 @@ void tcp_session::down_thread_realserver_receive(const TCP_PROCESS_TYPE_TAG proc
         }
 }
 //! down thread close realserver socket and raise realserver disconnect event message for up and down thread
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_realserver_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2863,7 +2863,7 @@ void tcp_session::down_thread_realserver_disconnect(const TCP_PROCESS_TYPE_TAG p
 }
 
 //! down thread raise module event of handle_realserver_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_realserver_disconnect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2900,7 +2900,7 @@ void tcp_session::down_thread_realserver_disconnect_event(const TCP_PROCESS_TYPE
         }
 }
 //! down thread close realserver socket and raise realserver disconnect event message for up and down thread
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_all_realserver_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2954,7 +2954,7 @@ void tcp_session::down_thread_all_realserver_disconnect(const TCP_PROCESS_TYPE_T
         }
 }
 //! down thread raise module event of handle_client_connection_check
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_client_connection_chk_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -2979,7 +2979,7 @@ void tcp_session::down_thread_client_connection_chk_event(const TCP_PROCESS_TYPE
 }
 
 //! down thread raise module event of handle_response_send_inform
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_client_respond_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3003,7 +3003,7 @@ void tcp_session::down_thread_client_respond_event(const TCP_PROCESS_TYPE_TAG pr
         }
 }
 //! down thread send for client and raise module event of handle_client_send
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_client_send(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3107,7 +3107,7 @@ void tcp_session::down_thread_client_send(const TCP_PROCESS_TYPE_TAG process_typ
                         parent_service.update_down_send_size(send_size);
                         //----Debug log----------------------------------------------------------------------
                         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
-                                endpoint client_endpoint // XXX redifined???
+                                endpoint client_endpoint // XXX redefined???
                                 = !ssl_flag ? client_socket.get_socket().lowest_layer().remote_endpoint(ec)
                                   : client_ssl_socket.get_socket().lowest_layer().remote_endpoint(ec);
                                 boost::format formatter("Thread ID[%d] down_thread_client_send send data size[%d] for [%d]");
@@ -3144,7 +3144,7 @@ void tcp_session::down_thread_client_send(const TCP_PROCESS_TYPE_TAG process_typ
         }
 }
 //! down thread close client socket and raise client disconnect event message for up and down thread
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_client_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3174,7 +3174,7 @@ void tcp_session::down_thread_client_disconnect(const TCP_PROCESS_TYPE_TAG proce
 }
 
 //! down thread raise module event of handle_client_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_client_disconnect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3200,7 +3200,7 @@ void tcp_session::down_thread_client_disconnect_event(const TCP_PROCESS_TYPE_TAG
         }
 }
 //! down thread receive from sorryserver and raise module event of handle_sorryserver_recv
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_sorryserver_receive(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3327,7 +3327,7 @@ down_thread_sorryserver_receive_out:
         }
 }
 //! down thread raise module event of handle_sorryserver_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_sorryserver_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3358,7 +3358,7 @@ void tcp_session::down_thread_sorryserver_disconnect(const TCP_PROCESS_TYPE_TAG
         }
 }
 //! down thread close sorryserver socket and raise module sorryserver disconnect event
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_sorryserver_mod_disconnect(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3391,7 +3391,7 @@ void tcp_session::down_thread_sorryserver_mod_disconnect(const TCP_PROCESS_TYPE_
         }
 }
 //! down thread raise module event of handle_sorryserver_disconnect
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_sorryserver_disconnect_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3417,7 +3417,7 @@ void tcp_session::down_thread_sorryserver_disconnect_event(const TCP_PROCESS_TYP
         }
 }
 //! down thread raise module event of handle_sorry_enable
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_sorry_enable_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3451,7 +3451,7 @@ void tcp_session::down_thread_sorry_enable_event(const TCP_PROCESS_TYPE_TAG proc
         }
 }
 //! down thread raise module event of handle_sorry_disable
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_sorry_disable_event(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
@@ -3484,7 +3484,7 @@ void tcp_session::down_thread_sorry_disable_event(const TCP_PROCESS_TYPE_TAG pro
         }
 }
 //! down thread exit main loop
-//! @param[in]        process_type is prosecess type
+//! @param[in]        process_type is process type
 void tcp_session::down_thread_exit(const TCP_PROCESS_TYPE_TAG process_type)
 {
         if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_SESSION))) {
index b3843a4..164139f 100644 (file)
@@ -228,7 +228,7 @@ bool tcp_socket::set_non_blocking_mode(boost::system::error_code &ec)
 }
 
 //! write socket
-//! @param[in]        buffers is wite data buffer
+//! @param[in]        buffers is write data buffer
 //! @param[out]        ec is reference error code object
 //! @return            write data size
 std::size_t tcp_socket::write_some(
index fdadb14..cf491b6 100644 (file)
@@ -31,7 +31,7 @@ namespace l7vs
 
 //! handshake socket
 //! @param[in]        handshake_type is handshaking as a server or client
-//! @return           true is handshaked
+//! @return           true is handshake success
 //! @return           false is handshake failure
 bool tcp_ssl_socket::handshake(boost::system::error_code &ec)
 {
@@ -190,7 +190,7 @@ bool tcp_ssl_socket::set_non_blocking_mode(boost::system::error_code &ec)
 }
 
 //! write socket
-//! @param[in]         buffers is wite data buffer
+//! @param[in]         buffers is write data buffer
 //! @param[out]        ec is reference error code object
 //! @return            write data size
 std::size_t tcp_ssl_socket::write_some(
index 8dfabef..ff1971a 100644 (file)
@@ -45,7 +45,7 @@ IMPLEMENT_LOG4CXX_OBJECT(TimeAndSizeBasedRollingPolicy)
 
 /*!
  * default constructor.
- * initialize member valiables
+ * initialize member variables
  * @param   void
  * @return  void
  */
index 53bc837..1809e95 100644 (file)
@@ -42,7 +42,7 @@
 
 #define    BPS_DEFAULT_INTERVAL_USEC    500000ULL
 
-// imprementation for virtualservice_base
+// implementation for virtualservice_base
 /*!
  * virtualservice_base class constructor.
  */
@@ -108,7 +108,7 @@ void    l7vs::virtualservice_base::load_parameter(l7vs::error_code &err)
         Parameter            param;
         int                    int_val;
         std::string            str_val;
-        //get realserver_side networkI/F card name
+        //get realserver_side network I/F card name
         str_val    = param.get_string(l7vs::PARAM_COMP_VIRTUALSERVICE, PARAM_RS_SIDE_NIC_NAME, vs_err);
         if (!vs_err) {
                 param_data.nic_realserver_side    = str_val;
index 3aee48c..c52e3ed 100644 (file)
@@ -38,7 +38,7 @@
 #include "utility.h"
 #include "logger_access_manager.h"
 
-// imprementation for virtualservice_tcp
+// implementation for virtualservice_tcp
 /*!
  * virtualservice_tcp class constructor.
  */
@@ -131,7 +131,7 @@ void l7vs::virtualservice_tcp::handle_replication_interrupt(const boost::system:
                 return;
         }
 
-        //check maxdatasize
+        //check max data size
         if ((rep_size * DATA_SIZE) <
             ((sizeof(replication_data) * MAX_REPLICATION_DATA_NUM) + sizeof(replication_header))) {
                 Logger::putLogWarn(LOG_CAT_L7VSD_VIRTUALSERVICE, 2, REP_AREA_SIZE_ERR_MSG,
@@ -235,7 +235,7 @@ void l7vs::virtualservice_tcp::read_replicationdata()
                 return;
         }
 
-        //check maxdatasize
+        //check max data size
         if ((rep_size * DATA_SIZE) <
             ((sizeof(replication_data) * MAX_REPLICATION_DATA_NUM) + sizeof(replication_header))) {
                 Logger::putLogWarn(LOG_CAT_L7VSD_VIRTUALSERVICE, 4, REP_AREA_SIZE_ERR_MSG,
@@ -269,7 +269,7 @@ void l7vs::virtualservice_tcp::read_replicationdata()
 
         //find vs(loop)
         for (unsigned int i = 0; i < loop_cnt; ++i) {
-                //get tcp endpointdata
+                //get tcp endpoint data
                 std::string tmpstr = rep_data_ptr->tcp_endpoint;
                 std::string ipaddr;
                 unsigned short portno;
@@ -494,7 +494,7 @@ void l7vs::virtualservice_tcp::handle_accept(const l7vs::session_thread_control
                 Logger::putLogDebug(LOG_CAT_L7VSD_VIRTUALSERVICE, 38, fmt4.str(), __FILE__, __LINE__);
         }
 
-        //regist accept event handler
+        //register accept event handler
         if (!ssl_virtualservice_mode_flag) {
                 acceptor_.async_accept(stc_ptr_register_accept->get_session()->get_client_socket(),
                         boost::bind(&virtualservice_tcp::handle_accept, this, stc_ptr_register_accept,
@@ -516,7 +516,7 @@ void l7vs::virtualservice_tcp::handle_accept(const l7vs::session_thread_control
 /*!
  * initialize virtualservice(TCP)
  *
- * @param erro_code
+ * @param error_code
  * @return void
  */
 void l7vs::virtualservice_tcp::initialize(l7vs::error_code &err)
@@ -730,7 +730,7 @@ void l7vs::virtualservice_tcp::initialize(l7vs::error_code &err)
                 access_log_flag = true;
         }
 
-        // access log rotation infomation set.
+        // access log rotation information set.
         if (element.access_log_rotate_key_info == "") {
                 element.access_log_rotate_key_info = "none";
                 element.access_log_rotate_verbose_info = logger_access_manager::getInstance().get_rotate_default_verbose_displayed_contents();
@@ -847,7 +847,7 @@ void l7vs::virtualservice_tcp::initialize(l7vs::error_code &err)
 /*!
  * finalize virtualservice(TCP)
  *
- * @param erro_code
+ * @param error_code
  * @return void
  */
 void l7vs::virtualservice_tcp::finalize(l7vs::error_code &err)
@@ -900,7 +900,7 @@ void l7vs::virtualservice_tcp::finalize(l7vs::error_code &err)
                 delete stc;
                 stc = NULL;
                 if (unlikely(LOG_LV_DEBUG == Logger::getLogLevel(LOG_CAT_L7VSD_VIRTUALSERVICE))) {
-                        boost::format fmt("join pool sessin: pool_sessions.size = %d");
+                        boost::format fmt("join pool session: pool_sessions.size = %d");
                         fmt % pool_sessions.size();
                         Logger::putLogDebug(LOG_CAT_L7VSD_VIRTUALSERVICE, 55, fmt.str(),
                                 __FILE__, __LINE__);
@@ -946,7 +946,7 @@ void l7vs::virtualservice_tcp::finalize(l7vs::error_code &err)
                         replication_status = false;
                 }
 
-                //check maxdatasize
+                //check max data size
                 if ((rep_size * DATA_SIZE) <
                     ((sizeof(replication_data) * MAX_REPLICATION_DATA_NUM) + sizeof(replication_header))) {
                         err.setter(true, REP_AREA_SIZE_ERR_MSG);
@@ -1026,7 +1026,7 @@ bool l7vs::virtualservice_tcp::operator!=(const l7vs::virtualservice_base &in)
 }
 
 /*!
- * add VirtualService( not-imprement )
+ * add VirtualService( not-implement )
  *
  * @param virtualservice_element
  * @param err
@@ -1069,7 +1069,7 @@ void l7vs::virtualservice_tcp::edit_virtualservice(const l7vs::virtualservice_el
                 return;
         }
 
-        //if change ScueduleModule Name, unload old ScheduleModule and load new ScheduleModule
+        //if change ScheduleModule Name, unload old ScheduleModule and load new ScheduleModule
         if ((element.schedule_module_name != elem.schedule_module_name) && ("" != elem.schedule_module_name)) {
                 schedule_module_control::getInstance().unload_module(schedmod);
                 schedmod = schedule_module_control::getInstance().load_module(elem.schedule_module_name);
@@ -1567,7 +1567,7 @@ void l7vs::virtualservice_tcp::run()
                 if (!stc_ptr) {
                         return;
                 }
-                //regist accept event handler
+                //register accept event handler
                 waiting_sessions.insert(stc_ptr->get_session().get(), stc_ptr);
         }
         if (!ssl_virtualservice_mode_flag) {
@@ -1579,7 +1579,7 @@ void l7vs::virtualservice_tcp::run()
                         boost::bind(&virtualservice_tcp::handle_accept, this, stc_ptr,
                                 boost::asio::placeholders::error));
         }
-        //regist timer event handler
+        //register timer event handler
         calc_bps_timer->expires_from_now(boost::posix_time::milliseconds(param_data.bps_interval));
         calc_bps_timer->async_wait(boost::bind(&virtualservice_tcp::handle_throughput_update,
                                                this, boost::asio::placeholders::error));
@@ -1910,7 +1910,7 @@ std::string l7vs::virtualservice_tcp::get_ssl_password()
 }
 
 //!
-//! Convert verify option string to intger(#define).
+//! Convert verify option string to integer(#define).
 //!
 //! @param[in] opt_string option string
 //! @retval ret option value
@@ -1969,7 +1969,7 @@ int l7vs::virtualservice_tcp::conv_verify_option(std::string opt_string)
 }
 
 //!
-// Convert SSL option string to intger(#define).
+// Convert SSL option string to integer(#define).
 //
 // @param[in] opt_string option string
 // @retval ret option value
index e8023fb..250d3ce 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "virtualservice.h"
 
-// imprementation for virtualservice_udp
+// implementation for virtualservice_udp
 /*!
  * virtualservice_udp class constructor.
  */
index 10fa918..62a29b7 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 8050e01..0ab0b55 100755 (executable)
@@ -51,7 +51,7 @@ if [ $? -ne 0 ]
 then
        LOG_ERR "Cannot move ${L7DIRECTORD_CONF_DIR}/* files."
 else
-       LOG "${L7DIRECTORD_CONF_DIR}/* files were moved to ${TMP_DIR}/l7direcotr directory."
+       LOG "${L7DIRECTORD_CONF_DIR}/* files were moved to ${TMP_DIR}/l7director directory."
 fi
 
 if [ -n ${L7VS_LOG_DIR} -a ${L7VS_LOG_DIR} != "/" ]
index b79fa88..d3f4fab 100755 (executable)
@@ -60,7 +60,7 @@ check_uml7 (){
        fi
 }
 
-# check Lighty installed
+# check lighttpd installed
 check_http_server (){
         LIGHTTPD=`which lighttpd`
        if [ $? -ne 0 ]
index 324b0c7..d404089 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-#Collect configfiles and logfiles.
+#Collect config files and log files.
 LOG "collect_file start."
 
 if [ -n ${L7VSD_CONF_DIR} -a ${L7VSD_CONF_DIR} != "/" ]
index 39fd98a..0aed2d5 100755 (executable)
@@ -69,7 +69,7 @@ make_lighttpd_tmpdir (){
        fi
 }
 
-#make lighhtpd_configfile
+#make lighttpd_configfile
 start_lighttpd (){
 #Set default value
 template_file=${DEFAULT_CONF_DIR}/default.conf
index 2dd70d4..aa3d29b 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 . ${SET_DEFAULT_CONF}
-# Set l7directorc config file
+# Set l7directord config file
 echo "virtual=127.0.0.1:50000
 virtual=127.0.0.1:50001
     module=ip
@@ -44,7 +44,7 @@ then
 fi
 sleep 5
 
-# Edit l7directorc config file
+# Edit l7director config file
 echo "virtual=127.0.0.1:50000
 virtual=127.0.0.1:50001
     module=ip
index dd8f7e1..1303c12 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 . ${SET_DEFAULT_CONF}
-# Set l7directorc config file
+# Set l7director config file
 echo "virtual=127.0.0.1:50000" > ${L7DIRECTORD_CONF_DIR}/l7directord.cf
 
 # Start l7vsd
index 61dfb9f..6b81a14 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 callback         = XXX
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 61dfb9f..6b81a14 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 callback         = XXX
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 61dfb9f..6b81a14 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 callback         = XXX
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index e7d9dc3..70c2c5b 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index b63a121..66048d2 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 651f4ec..b46a268 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index b41573f..c6563fc 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 30652ac..fe7bf8e 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index a28e238..aefdc5d 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 52ba108..fcc7372 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index e082133..56aef73 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 8f8d7e6..797de6d 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 5d94453..3df0537 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 30d12c0..38cd24b 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index b72ea48..236b451 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 2bbf55b..06bdd77 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 9603ba9..8353b81 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index a28dde9..a32f8e6 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index a684ffa..ee5c7da 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 55a809b..d7ed171 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index d1bd7a2..653c7fe 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index c2d9984..e52125c 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index a2780ea..68c1c50 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index 7e0c4b0..c030164 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index 57cf5d0..9900bf6 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index 29d3eb4..feb73e5 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index b26b9a3..e541f8d 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index dc87b2d..10424bc 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index aae60aa..18c80c6 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = yes
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 
 virtual=127.0.0.1:50000
index b16e8c1..f23ed1c 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checktimeout     = 0
index 4c45d68..9f33013 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 915ac69..6d269b2 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index ba9d180..7b7ad02 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index ce81b90..a3dffc7 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index bb15720..2d1cad0 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index ceff751..9c4d24f 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 75d01b5..f7e2ada 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 39fe412..19719f0 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 5ad6523..fc1a5ed 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 2ac8c78..27ca2c3 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checktimeout     = 1
index 15202d6..d6f3f89 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checktimeout     = -1
index f838a56..2b963a0 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 7a80490..ce32421 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 25deae2..46c2df3 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 7e9ba0f..519b740 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 77ec8a6..2636092 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index e2b0652..f74276f 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      checktimeout     = 5
index 5cff4e2..cf037d5 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checkport=0
index b37c952..c0c8825 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checkport=1
index 27bc14c..4cfa3e8 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checkport=-1
index f72f873..5ec305f 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checkport=65535
index 14bb07c..e06b9c8 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        checkport=65536
index e2d9abb..ec81d64 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 38336ba..2bf1dcb 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 3a0bc99..01c2a36 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index ac7aa93..9eda430 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index c59579c..90b4a21 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index e279cb3..70a06cd 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index ac0806f..f957164 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 5b1412c..d5b36b1 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index baff3ab..af7ae09 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index a0ff21d..80d4c1c 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 5337443..726e3a7 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 0bcfd05..0634f01 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index c0a6de9..2dc08d2 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 9f0fd34..ddbe1e8 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 65caeef..06300ac 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 54a309b..e92aa89 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        protocol=tcp
index 215c166..de1e4bb 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        protocol=udp
index 64c49fa..c56e148 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        protocol=icmp
index ddd84fa..83f6cd8 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        protocol=0
index 98f6e8e..b1ed9a4 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        protocol=1
index ced37aa..a1ae039 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        protocol=aaa
index 4831e5e..e5ec475 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index e28f6d4..e7f04ad 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 7de8f19..2cf18f2 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 69b2cb7..c5e0dbb 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 8e9f72e..4bf8ad5 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 19747b4..7ba1054 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index fe6e070..cbe1fb3 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 4935812..87c4be9 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 0c9107d..31d8d9d 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 56d924b..cb866e1 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index f746c76..756922a 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 6bdebaf..2373200 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index f78b61e..eb61209 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 6f6070c..0805e26 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index dea3c9e..389e790 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 7fd97f9..0c96873 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index c88a481..1f17a36 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 236bada..49d29da 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 664e490..7a09a98 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index e9cf07b..35212e8 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 7d3a4f2..0c0aed2 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        fallback         = 127.0.0.1:50001
index dda7dba..ddddec6 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        fallback         = localhost:http
index 5b51713..628ec6a 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        fallback         = aaa
index 10fa918..62a29b7 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 7c182c4..bcb6371 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = aaa
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index aeccbe5..3fdd7f8 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index abbdb51..3eda1c9 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 8de7e05..f05030c 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index fa8b129..604ebaa 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 3ea53c0..5b0ad51 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = yes
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 10fa918..62a29b7 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 27c6cb7..31b6905 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = 0
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index b0bbd0e..3b01615 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = 1
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 6dc83f8..a97b5f9 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        quiescent        = yes
index d37f1ef..843225c 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        quiescent        = no
index a3a49c3..6475f45 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        quiescent        = 0
index 3c0cf1a..c385260 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        quiescent        = 1
index 357cb4e..2860def 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        quiescent        = aaa
index 4598125..fa8fb67 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 435200e..1b60041 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 35b5deb..bbe5ae5 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index f0a3ef4..381f0a1 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index a3d517d..fcbd68d 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        sorryserver         = 127.0.0.1:50001
index 444bae8..6279d48 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        sorryserver         = localhost:http
index 9c9fd2f..3ebdcc1 100644 (file)
@@ -26,7 +26,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        sorryserver         = aaa
index 3e9c5a7..726ced7 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index c1ed3eb..e5fb709 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 7b911cd..3b1a8b4 100644 (file)
@@ -26,7 +26,7 @@ configinterval   = 10
 autoreload       = no
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        real = 127.0.0.1:50001
index 14280e1..ef663c6 100644 (file)
@@ -26,7 +26,7 @@ configinterval   = 10
 autoreload       = no
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
        real = 127.0.0.1:50001
index 0c2394d..77a0b9f 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index b78d37a..46e5341 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index d1464de..3b8f5a6 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = 127.0.0.1:40001
 #      real = 192.168.0.51:80 masq 1
index 61dfb9f..6b81a14 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 callback         = XXX
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index b039b87..99ed715 100644 (file)
@@ -29,7 +29,7 @@ autoreload       = no
 execute = XXX
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 5055342..4f0b4e0 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 884f366..dc72d05 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual  = XXX
 #      real = 192.168.0.51:80 masq 1
index 6bd13ca..e91e14d 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual=127.0.0.1:40001
     real=127.0.0.1:50001
index c31ecd2..28fb35e 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = yes
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 virtual=127.0.0.1:10000
        real=127.0.0.1:10001
index 10fa918..62a29b7 100644 (file)
@@ -27,7 +27,7 @@ autoreload       = no
 #callback         = /opt/config_change.sh
 
 # = VIRTUAL DIRECTIVES
-# - A sample virual section with a sorry server.
+# - A sample virtual section with a sorry server.
 # - checkcount and quiescent settings are override the global settings.
 #virtual  = 192.168.0.50:80
 #      real = 192.168.0.51:80 masq 1
index 6693ad6..9cc56e5 100755 (executable)
@@ -57,13 +57,13 @@ Commands:
 
 Options:
   --tcp-service      -t service-address     service-address is host:port
-  --proto-module     -m proto-module        protocol module name and module argment
+  --proto-module     -m proto-module        protocol module name and module argument
                         [module-args]
   --scheduler        -s scheduler           one of rr,lc,wrr
   --upper            -u connection-count    maximum number of connections
   --bypass           -b sorry-server        sorry server address is host:port
   --tproxy           -T                     set sorry server connection to IP transparent mode.
-  --masq             -M                     set sorry server connection to IP masquarade mode.
+  --masq             -M                     set sorry server connection to IP masquerade mode.
   --flag             -f sorry-flag          sorry status set to virtual service
   --qos-up           -Q QoSval-up           QoS Threshold(bps) set to real server direction
   --qos-down         -q QoSval-down         QoS Threshold(bps) set to client direction
@@ -75,7 +75,7 @@ Options:
   --real-server      -r server-address      server-address is host:port
   --weight           -w weight              scheduling weight set to real server
   --tproxy           -T                     set real server connection to IP transparent mode.
-  --masq             -M                     set real server connection to IP masquarade mode.
+  --masq             -M                     set real server connection to IP masquerade mode.
   --switch           -s replication-switch  start or stop replication
   --force            -f                     force replication start
   --dump             -d                     dump replication memory
index f06e135..f4e0016 100755 (executable)
@@ -56,13 +56,13 @@ Commands:
 
 Options:
   --tcp-service      -t service-address     service-address is host:port
-  --proto-module     -m proto-module        protocol module name and module argment
+  --proto-module     -m proto-module        protocol module name and module argument
                         [module-args]
   --scheduler        -s scheduler           one of rr,lc,wrr
   --upper            -u connection-count    maximum number of connections
   --bypass           -b sorry-server        sorry server address is host:port
   --tproxy           -T                     set sorry server connection to IP transparent mode.
-  --masq             -M                     set sorry server connection to IP masquarade mode.
+  --masq             -M                     set sorry server connection to IP masquerade mode.
   --flag             -f sorry-flag          sorry status set to virtual service
   --qos-up           -Q QoSval-up           QoS Threshold(bps) set to real server direction
   --qos-down         -q QoSval-down         QoS Threshold(bps) set to client direction
@@ -74,7 +74,7 @@ Options:
   --real-server      -r server-address      server-address is host:port
   --weight           -w weight              scheduling weight set to real server
   --tproxy           -T                     set real server connection to IP transparent mode.
-  --masq             -M                     set real server connection to IP masquarade mode.
+  --masq             -M                     set real server connection to IP masquerade mode.
   --switch           -s replication-switch  start or stop replication
   --force            -f                     force replication start
   --dump             -d                     dump replication memory
index c7cbf1f..7524fa1 100755 (executable)
@@ -13,7 +13,7 @@ usleep 100000
 kill -SIGUSR1 `pgrep l7vsd`
 if [ $? -ne 0 ]
 then
-        echo "Test failed: kill -SIGUSER1"
+        echo "Test failed: kill -SIGUSR1"
         exit 1
 fi
 usleep 100000
index 5bc38e4..8334166 100755 (executable)
@@ -13,7 +13,7 @@ usleep 100000
 kill -SIGUSR2 `pgrep l7vsd`
 if [ $? -ne 0 ]
 then
-        echo "Test failed: kill -SIGUSER2"
+        echo "Test failed: kill -SIGUSR2"
         exit 1
 fi
 usleep 100000
index 0972820..b8d736b 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-121-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log bs=1024 count=63
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log.1 bs=1024 count=63
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log.2 bs=1024 count=63
index 17bcda7..42e6f33 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-142-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log bs=1024 count=63
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log.1 bs=1024 count=63
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log.2 bs=1024 count=63
index 6b19334..718756d 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-159-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log bs=1024 count=63
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log.1 bs=1024 count=63
 
index 154f6b0..6784bbd 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-42-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log bs=1024 count=63
 
 #Add Service
index caeb6e4..b8e47c6 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-43-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log bs=1024 count=63
 
 #Add Service
index ba5f9a9..fab4cda 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-44-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log bs=1024 count=1023
 
 #Add Service
index 87a99f3..866d16a 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-45-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log bs=1024 count=1048575
 
 #Add Service
index 761c264..3c5fb97 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-46-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log bs=1024 count=63
 
 #Add Service
index eb0bc7d..71413f2 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-47-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log bs=1024 count=63
 
 #Add Service
index 2d3ddf6..efd7586 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-48-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log bs=1024 count=1023
 
 #Add Service
index c68547f..ac0017b 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-49-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log bs=1024 count=1048575
 
 #Add Service
index 2d74a96..b9e664e 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-50-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log bs=1024 count=63
 
 #Run http server
index db3ea7e..fa1723f 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-51-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log bs=1024 count=63
 
 #Run http server
index d94cdf9..22eacf2 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-52-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log bs=1024 count=1023
 
 #Run http server
index 08d7d39..0bfdff5 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-53-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log bs=1024 count=1048575
 
 #Run http server
index fe9af3f..fca75ac 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%m/%d %H:%M'`
 
 sed "s|l7vsd_rotation_timing_value = \"XXX\"|l7vsd_rotation_timing_value = \"$PARM\"|" materials/logger-54-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsd.log
 
 #Add Service
index 2e193cb..6d854a9 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%d %H:%M'`
 
 sed "s|l7vsd_rotation_timing_value = \"XXX\"|l7vsd_rotation_timing_value = \"$PARM\"|" materials/logger-55-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsd.log
 
 #Add Service
index a922f23..74eac71 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`LANG=en date -d '1 minute' +'%a %H:%M' | tr A-Z a-z`
 
 sed "s|l7vsd_rotation_timing_value = \"XXX\"|l7vsd_rotation_timing_value = \"$PARM\"|" materials/logger-56-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsd.log
 
 #Add Service
index e9d873c..a9e0a70 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%H:%M'`
 
 sed "s|l7vsd_rotation_timing_value = \"XXX\"|l7vsd_rotation_timing_value = \"$PARM\"|" materials/logger-57-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsd.log
 
 #Add Service
index aec2258..18a0ac6 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%M'`
 
 sed "s|l7vsd_rotation_timing_value = \"XXX\"|l7vsd_rotation_timing_value = \"$PARM\"|" materials/logger-58-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsd.log
 
 #Add Service
index f5845f2..ce6a0cd 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%m/%d %H:%M'`
 
 sed "s|l7vsadm_rotation_timing_value = \"XXX\"|l7vsadm_rotation_timing_value = \"$PARM\"|" materials/logger-59-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsadm.log
 
 #Add Service
index c2c1f95..127cedf 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%d %H:%M'`
 
 sed "s|l7vsadm_rotation_timing_value = \"XXX\"|l7vsadm_rotation_timing_value = \"$PARM\"|" materials/logger-60-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsadm.log
 
 #Add Service
index 280137c..75beb66 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`LANG=en date -d '1 minute' +'%a %H:%M' | tr A-Z a-z`
 
 sed "s|l7vsadm_rotation_timing_value = \"XXX\"|l7vsadm_rotation_timing_value = \"$PARM\"|" materials/logger-61-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsadm.log
 
 #Add Service
index d344f2e..04d17d9 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%H:%M'`
 
 sed "s|l7vsadm_rotation_timing_value = \"XXX\"|l7vsadm_rotation_timing_value = \"$PARM\"|" materials/logger-62-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsadm.log
 
 #Add Service
index 41fbfe3..5f5716c 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%M'`
 
 sed "s|l7vsadm_rotation_timing_value = \"XXX\"|l7vsadm_rotation_timing_value = \"$PARM\"|" materials/logger-63-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vsadm.log
 
 #Add Service
index 1e2d733..049cc89 100755 (executable)
@@ -2,7 +2,7 @@
 
 # set config file
 . ${SET_DEFAULT_CONF}
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vs-access.log
 
 #Run http server
index 555fbfd..21e0cd7 100755 (executable)
@@ -2,7 +2,7 @@
 
 # set config file
 . ${SET_DEFAULT_CONF}
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vs-access.log
 
 #Run http server
index 298a766..298ed9b 100755 (executable)
@@ -2,7 +2,7 @@
 
 # set config file
 . ${SET_DEFAULT_CONF}
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vs-access.log
 
 #Run http server
index 5d7471f..2fbae64 100755 (executable)
@@ -2,7 +2,7 @@
 
 # set config file
 . ${SET_DEFAULT_CONF}
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vs-access.log
 
 #Run http server
index d29d582..9357284 100755 (executable)
@@ -2,7 +2,7 @@
 
 # set config file
 . ${SET_DEFAULT_CONF}
-# set dumy log file
+# set dummy log file
 touch ${L7VS_LOG_DIR}/l7vs-access.log
 
 #Run http server
index 7db17fc..f5caf08 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%m/%d %H:%M'`
 
 sed "s|l7vsd_rotation_timing_value = \"XXX\"|l7vsd_rotation_timing_value = \"$PARM\"|" materials/logger-69-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log bs=1024 count=63
 
 #Add Service
index 4b00dc8..5446e0a 100755 (executable)
@@ -5,7 +5,7 @@ PARM=`date -d '1 minute' +'%m/%d %H:%M'`
 
 sed "s|l7vsadm_rotation_timing_value = \"XXX\"|l7vsadm_rotation_timing_value = \"$PARM\"|" materials/logger-70-l7vs.cf > ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsadm.log bs=1024 count=63
 
 #Add Service
index 04812e9..04f49af 100755 (executable)
@@ -2,7 +2,7 @@
 
 # set config file
 . ${SET_DEFAULT_CONF}
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vs-access.log bs=1024 count=63
 
 #Run http server
index f452d50..9fdbb66 100755 (executable)
@@ -3,7 +3,7 @@
 # set config file
 cp materials/logger-99-l7vs.cf ${L7VSD_CONF_DIR}/l7vs.cf
 
-# set dumy log file
+# set dummy log file
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log bs=1024 count=63
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log.1 bs=1024 count=63
 dd if=/dev/zero of=${L7VS_LOG_DIR}/l7vsd.log.2 bs=1024 count=63
index 1a1df95..e09d1e1 100755 (executable)
@@ -17,7 +17,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched,rtprio | awk 'NR==2 {print $5,$6}
 EXPECT="1 50"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede,rtprio"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched,rtprio"
         exit 1
 fi
 
index acf6c0c..c7c69f9 100755 (executable)
@@ -16,7 +16,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched | awk 'NR==2 {print $4,$5}'`
 EXPECT="TS 0"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched"
         exit 1
 fi
 
index f5b981d..7228b8a 100755 (executable)
@@ -16,7 +16,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched | awk 'NR==2 {print $4,$5}'`
 EXPECT="TS 0"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched"
         exit 1
 fi
 
index dafc4f4..4518476 100755 (executable)
@@ -16,7 +16,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched | awk 'NR==2 {print $4,$5}'`
 EXPECT="TS 0"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched"
         exit 1
 fi
 
index acc6ea4..27d2fb7 100755 (executable)
@@ -16,7 +16,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched | awk 'NR==2 {print $4,$5}'`
 EXPECT="TS 0"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched"
         exit 1
 fi
 
index a781a5b..9858f4a 100755 (executable)
@@ -16,7 +16,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched | awk 'NR==2 {print $4,$5}'`
 EXPECT="TS 0"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched"
         exit 1
 fi
 
index 27cfb94..571be72 100755 (executable)
@@ -16,7 +16,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched | awk 'NR==2 {print $4,$5}'`
 EXPECT="TS 0"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched"
         exit 1
 fi
 
index c03dae6..a9535e6 100755 (executable)
@@ -16,7 +16,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched | awk 'NR==2 {print $4,$5}'`
 EXPECT="TS 0"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched"
         exit 1
 fi
 
index 1a1df95..e09d1e1 100755 (executable)
@@ -17,7 +17,7 @@ RET=`ps -p ${PID} -o pid,user,args,class,sched,rtprio | awk 'NR==2 {print $5,$6}
 EXPECT="1 50"
 if [ "${RET}" != "${EXPECT}" ]
 then
-        echo "Test failed: ps -p ${PID} -o pid,user,args,class,schede,rtprio"
+        echo "Test failed: ps -p ${PID} -o pid,user,args,class,sched,rtprio"
         exit 1
 fi
 
index 8d70430..46208a4 100755 (executable)
@@ -36,7 +36,7 @@ usleep 100000
 $L7VSADM -A -t 127.0.0.1:40001 -m ip --timeout 10
 if [ $? -ne 0 ]
 then
-       echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --timout 10"
+       echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --timeout 10"
         exit 1
 fi
 
index 41d3191..2517f80 100755 (executable)
@@ -36,7 +36,7 @@ usleep 100000
 $L7VSADM -A -t 127.0.0.1:40001 -m ip --timeout 10
 if [ $? -ne 0 ]
 then
-       echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --timout 10"
+       echo "Test failed: $L7VSADM -A -t 127.0.0.1:40001 -m ip --timeout 10"
         exit 1
 fi
 
index e3eb18f..58e11ad 100755 (executable)
@@ -72,7 +72,7 @@ then
         exit 1
 fi
 
-#Add IPaliasing
+#Add IP aliasing
 ifconfig lo:0 add ::2
 ifconfig lo:1 add ::3
 
@@ -119,7 +119,7 @@ then
        exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 ifconfig lo:0 del ::2
 ifconfig lo:1 del ::3
 
index 2ff9f41..5d469d1 100755 (executable)
@@ -55,7 +55,7 @@ then
 fi
 
 
-#Coneect
+#Connect
 RET=`LANG=C $WGET -t 1 -O- http://127.0.0.1:40001/ 2>&1`
 if [ $? -eq 0 ]
 then
index 24d485b..fa21a40 100755 (executable)
@@ -19,7 +19,7 @@ then
         exit 1
 fi
 
-#Coneect
+#Connect
 RET=`LANG=C $WGET -t 1 -O- http://127.0.0.1:40001/ 2>&1`
 if [ $? -eq 0 ]
 then
index cf1b5c4..9ae67b5 100755 (executable)
@@ -55,7 +55,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 
 exit 0
index 0c2da0c..9185942 100755 (executable)
@@ -45,7 +45,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 
 exit 0
index 6474ed7..0fd202e 100755 (executable)
@@ -72,7 +72,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 stop_lighttpd $RealServer2
 
index 4ebf927..9e26399 100755 (executable)
@@ -68,7 +68,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 stop_lighttpd $RealServer2
 
index 6cf873c..43c603c 100755 (executable)
@@ -63,7 +63,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 
 exit 0
index c79d835..b041a98 100755 (executable)
@@ -68,7 +68,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 stop_lighttpd $RealServer2
 
index 413f572..14645da 100755 (executable)
@@ -74,7 +74,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 stop_lighttpd $RealServer2
 
index c0c8c7d..112dd75 100755 (executable)
@@ -45,7 +45,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 
 exit 0
index c3d0107..84d17f0 100755 (executable)
@@ -72,7 +72,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 stop_lighttpd $RealServer2
 
index 664b601..51e8d74 100755 (executable)
@@ -68,7 +68,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 stop_lighttpd $RealServer2
 
index 9738f2c..d49913a 100755 (executable)
@@ -63,7 +63,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 
 exit 0
index 2454188..d47f82c 100755 (executable)
@@ -50,7 +50,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 
 exit 0
index 37db674..b1af36b 100755 (executable)
@@ -43,7 +43,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 
 exit 0
index f641845..5218141 100755 (executable)
@@ -68,7 +68,7 @@ then
         exit 1
 fi
 
-#Del IPaliasing
+#Del IP aliasing
 stop_lighttpd $RealServer1
 stop_lighttpd $RealServer2
 
index e601452..5647287 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 975e8c8..9545ffe 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 5684fbc..99c1d7d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 443b45a..21cc7b9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index c0e532d..e20379a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 4a7a960..e598271 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 296a3c0..79169e6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 640806a..031e11b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 7514b7d..fc88c6b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index e6c79e8..5306998 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index d493ca0..fbdfce9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index d5984a0..86ade2d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index f5378ff..20687ea 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 000a974..8f4d93f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 36b4536..c2e751c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 93148dc..ddf05ca 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 9bdf571..3fffb5f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 56a076c..1d5228b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 2644c14..a27b40a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 7b9f73e..b1bd649 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 6e4c509..6f9c5c1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
index 3d82a23..2cbd1dd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
@@ -123,13 +123,13 @@ fi
 RET=`wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --no-check-certificate`
 if [ $? -eq 0 ]
 then
-        echo "Test failed: wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --no-check-certificat"
+        echo "Test failed: wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --no-check-certificate"
         exit 1
 fi
 
 if [ -n "${RET}" ]
 then
-        echo "Test failed: wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --certificate=newcert.pem --private-key=newkey.pem --no-check-certificat"
+        echo "Test failed: wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --certificate=newcert.pem --private-key=newkey.pem --no-check-certificate"
         exit 1
 fi
 
index 71f5815..4780c3c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bashgg
+#!/bin/bash
 
 # set config file
 . ${SET_DEFAULT_CONF}
@@ -129,7 +129,7 @@ fi
 
 if [ -n "${RET}" ]
 then
-        echo "Test failed: wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --certificate=newcert.pem --private-key=newkey.pem --secure-protocol=SSLv2 --no-check-certificat"
+        echo "Test failed: wget -qO- -t 1 -T 1 https://127.0.0.1:40001/ --certificate=newcert.pem --private-key=newkey.pem --secure-protocol=SSLv2 --no-check-certificate"
         exit 1
 fi
 
index c85a38c..9b543e2 100755 (executable)
@@ -51,7 +51,7 @@ DEBUG_FLAG=""
 
 # Functions
 usage (){
-       echo "usage : umtest [DIR|TESTSCRIPT]"
+       echo "usage : $0 [DIR|TEST-SCRIPT]"
 }
 
 check_option (){
index e59d02d..2db01a8 100644 (file)
@@ -18,7 +18,7 @@ AutoReqProv: no
 %define hb2_tempdir    /usr/share/doc/%{name}-%{version}-%{release}/heartbeat-ra
 
 %description
-Layer-7 load balancer daemon
+Layer-7 load balancing daemon
 
 %prep
 %setup -q