commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 29/50: controlport: changing the default po


From: git
Subject: [Commit-gnuradio] [gnuradio] 29/50: controlport: changing the default port number on the Thrift interface to zero.
Date: Wed, 15 Apr 2015 21:07:55 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch master
in repository gnuradio.

commit 58f09d65209c54ed5ae9c471d71ee6168bfeaf32
Author: Nate Goergen <address@hidden>
Date:   Tue Mar 3 21:03:47 2015 -0600

    controlport: changing the default port number on the Thrift interface to 
zero.
    
    This allows allows the OS - specifically bind() - to select an
    ephemeral / unused port number.
    
    Next, going to investigate using getsockname() to determine the port
    number selected by the OS and ensure that the Thrift endpoint string
    reflects the correct port number.
    
    Also going to see if we can publish the actual hostname of the machine
    from either the uname() or gethostname() functions.
---
 gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc 
b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
index 4be978b..b76ce77 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcserver_booter_thrift.cc
@@ -58,7 +58,7 @@ rpcserver_booter_thrift::endpoints()
 }
 
 template<typename TserverBase, typename TserverClass>
-const unsigned int thrift_application_base<TserverBase, 
TserverClass>::d_default_thrift_port(9090U);
+const unsigned int thrift_application_base<TserverBase, 
TserverClass>::d_default_thrift_port(0U);
 
 template<typename TserverBase, typename TserverClass>
 const unsigned int thrift_application_base<TserverBase, 
TserverClass>::d_default_num_thrift_threads(10U);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]