diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-08-08 20:52:00 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-08-08 20:52:00 -0400 |
commit | 00839eb6350627c6272dea242b85ea24544cea33 (patch) | |
tree | 3c328a3d9757e54fc0b203538acafa762ebbdc4c /indra/test/io.cpp | |
parent | 09f97172bb478a2c977d8b7b0958196e7e98c433 (diff) |
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.
Diffstat (limited to 'indra/test/io.cpp')
-rw-r--r-- | indra/test/io.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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() |