Merge branch 'poco-1.11.0' of github.com:pocoproject/poco into poco-1.11.0

This commit is contained in:
Günter Obiltschnig 2021-06-18 08:51:53 +02:00
commit 2855595729

View File

@ -160,8 +160,8 @@ void PollSetTest::testPollClosedServer()
StreamSocket ss1;
StreamSocket ss2;
ss1.connectNB(SocketAddress("127.0.0.1", echoServer1.port()));
ss2.connectNB(SocketAddress("127.0.0.1", echoServer2.port()));
ss1.connect(SocketAddress("127.0.0.1", echoServer1.port()));
ss2.connect(SocketAddress("127.0.0.1", echoServer2.port()));
PollSet ps;
assertTrue(ps.empty());
ps.add(ss1, PollSet::POLL_READ);