]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- fix comment about rndc port, that referred to the old port number.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 30 Jun 2011 12:13:55 +0000 (12:13 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 30 Jun 2011 12:13:55 +0000 (12:13 +0000)
- fix that the listening socket is not closed when too many remote
  control connections are made at the same time.

git-svn-id: file:///svn/unbound/trunk@2446 be551aaa-1e26-0410-a405-d3ace91eadb9

daemon/remote.c
doc/Changelog
doc/unbound.conf.5.in
smallapp/unbound-control-setup.sh

index 35dd0fa430b329aeef42c9201eefb7241458282e..f79888707933c2d29b2af1247edd83ff47fc3b14 100644 (file)
@@ -395,7 +395,6 @@ int remote_accept_callback(struct comm_point* c, void* arg, int err,
        /* create new commpoint unless we are servicing already */
        if(rc->active >= rc->max_active) {
                log_warn("drop incoming remote control: too many connections");
-               comm_point_stop_listening(c);
        close_exit:
 #ifndef USE_WINSOCK
                close(newfd);
index 57760e1ec391001288073ca47105bbc8d84afe15..dee62521151773fee866ac92bd320ef2233e6a97 100644 (file)
@@ -4,6 +4,9 @@
        - fix bug#395: id bits of other query may leak out under conditions
        - fix replyaddr count wrong after jostled queries, which leads to
          eventual starvation where the daemon has no replyaddrs left to use.
+       - fix comment about rndc port, that referred to the old port number.
+       - fix that the listening socket is not closed when too many remote
+         control connections are made at the same time.
 
 23 June 2011: Wouter
        - Changed -flto check to support clang compiler.
index 5341a28ef00fd6a0bc28764bb190d497d10cd2b9..ac48dcd88fba84f487da07ba453e0462b5d10e1a 100644 (file)
@@ -894,10 +894,9 @@ By default localhost (127.0.0.1 and ::1) is listened to.
 Use 0.0.0.0 and ::0 to listen to all interfaces.
 .TP 5
 .B control\-port: <port number>
-The port number to listen on for control commands, default is 8953
-(that is the same port number named uses to listen to rndc).
-If you change this port number, and permissions have been dropped, a
-reload is not sufficient to open the port again, you must then restart.
+The port number to listen on for control commands, default is 8953.
+If you change this port number, and permissions have been dropped,
+a reload is not sufficient to open the port again, you must then restart.
 .TP 5
 .B server\-key\-file: "<private key file>"
 Path to the server private key, by default unbound_server.key.
index ed78250aa7695627005cc85cc5cfeb4ae503c700..aca62ac8cdf5cbf8c24eebaeed6e395dcd8a4709 100755 (executable)
@@ -81,7 +81,7 @@ while test $# -ne 0; do
        echo "  -d dir  use directory to store keys and certificates."
        echo "          default: $DESTDIR"
        echo "please run this command using the same user id that the "
-       echo "unboun daemon uses, it needs read privileges."
+       echo "unbound daemon uses, it needs read privileges."
        exit 1
        ;;
        esac