From 00839eb6350627c6272dea242b85ea24544cea33 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 8 Aug 2018 20:52:00 -0400 Subject: Add optional hostname param to LLSocket::create() for testing. This allows the io.cpp test to listen only on the localhost loopback, avoiding the macOS 10.13.6 "allow listening for incoming connections" popup while running build-time tests that might halt an unattended TeamCity build. --- indra/test/io.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/test') diff --git a/indra/test/io.cpp b/indra/test/io.cpp index ff900ab96b..40243a8ad6 100644 --- a/indra/test/io.cpp +++ b/indra/test/io.cpp @@ -914,7 +914,8 @@ namespace tut mSocket = LLSocket::create( mPool, LLSocket::STREAM_TCP, - SERVER_LISTEN_PORT); + SERVER_LISTEN_PORT, + "127.0.0.1"); } ~pipe_and_pump_fitness() -- cgit v1.2.3 From 236f986d352c60d489868fe0755b33394348340f Mon Sep 17 00:00:00 2001 From: AndreyL ProductEngine Date: Tue, 28 Aug 2018 22:26:12 +0300 Subject: Backed out changeset: 871c2923afce --- indra/test/io.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/test') diff --git a/indra/test/io.cpp b/indra/test/io.cpp index 40243a8ad6..ff900ab96b 100644 --- a/indra/test/io.cpp +++ b/indra/test/io.cpp @@ -914,8 +914,7 @@ namespace tut mSocket = LLSocket::create( mPool, LLSocket::STREAM_TCP, - SERVER_LISTEN_PORT, - "127.0.0.1"); + SERVER_LISTEN_PORT); } ~pipe_and_pump_fitness() -- cgit v1.2.3 From 88e04ab2ab2a13cd660f33e64c52ad3375144d2a Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Thu, 30 Aug 2018 16:25:45 -0400 Subject: Restore the ability for sockets to specify the interface to listen on --- indra/test/io.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/test') diff --git a/indra/test/io.cpp b/indra/test/io.cpp index ff900ab96b..40243a8ad6 100644 --- a/indra/test/io.cpp +++ b/indra/test/io.cpp @@ -914,7 +914,8 @@ namespace tut mSocket = LLSocket::create( mPool, LLSocket::STREAM_TCP, - SERVER_LISTEN_PORT); + SERVER_LISTEN_PORT, + "127.0.0.1"); } ~pipe_and_pump_fitness() -- cgit v1.2.3