Browse Source

[5318] Minor corrections.

Tomek Mrugalski 7 years ago
parent
commit
7c296923c6
2 changed files with 5 additions and 5 deletions
  1. 1 1
      doc/guide/ctrl-channel.xml
  2. 4 4
      src/lib/config/command_mgr.cc

+ 1 - 1
doc/guide/ctrl-channel.xml

@@ -69,7 +69,7 @@
     <note>
       <simpara>Kea 1.2.0 release and earlier had a limitation of 64kB
       on the maximum size of a command and a response sent over the unix
-      domain socket. This limitation has been removed after Kea 1.2.0
+      domain socket. This limitation has been removed in Kea 1.3.0
       release.
       </simpara>
     </note>

+ 4 - 4
src/lib/config/command_mgr.cc

@@ -54,7 +54,7 @@ public:
     /// for data transmission.
     /// @param connection_pool Reference to the connection pool to which this
     /// connection belongs.
-    /// @param timeout Connection timeout.
+    /// @param timeout Connection timeout (in seconds).
     Connection(const IOServicePtr& io_service,
                const boost::shared_ptr<UnixDomainSocket>& socket,
                ConnectionPool& connection_pool,
@@ -151,7 +151,7 @@ public:
 
     /// @brief Handler invoked when the data is sent over the control socket.
     ///
-    /// If there are still data to be sent another asynchronous send is
+    /// If there are still data to be sent, another asynchronous send is
     /// scheduled. When the entire command is sent, the connection is shutdown
     /// and closed.
     ///
@@ -162,7 +162,7 @@ public:
 
     /// @brief Handler invoked when timeout has occurred.
     ///
-    /// Asynchrnously Sends a response to the client indicating that the
+    /// Asynchronously sends a response to the client indicating that the
     /// timeout has occurred.
     void timeoutHandler();
 
@@ -174,7 +174,7 @@ private:
     /// @brief Interval timer used to detect connection timeouts.
     IntervalTimer timeout_timer_;
 
-    /// @brief Connection timeout.
+    /// @brief Connection timeout (in seconds)
     unsigned short timeout_;
 
     /// @brief Buffer used for received data.