Title
[networking.ts] net::basic_socket_streambuf::connect(Args&&...) effects are wrong
Status
new
Section
[socket.streambuf.members]
Submitter
Jonathan Wakely

Created on 2020-05-14.00:00:00 last changed 45 months ago

Messages

Date: 2020-07-15.00:00:00

[ 2020-07-17; Priority set to 2 in telecon ]

Jonathan to provide wording.

Date: 2020-05-14.00:00:00

Addresses: networking.ts

The effects in [socket.streambuf.members] p3 say that the function loops through every endpoint in the sequence, attempting to establish a connection. It needs to say that as soon as a connection is successfully established it returns. Otherwise even if a connection is made, it closes the socket and tries the next endpoint in the sequence. That means it will always be left in whatever state resulted from trying the last endpoint in the sequence (or from timing out if the expiry time was reached before iterating through all endpoints).

History
Date User Action Args
2020-07-17 22:37:26adminsetmessages: + msg11384
2020-05-14 00:00:00admincreate