You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found time again to revisit the CLOSE_WAIT. Although most CLOSE_WAIT problems are already fixed, roscpp nodes still have always one port in CLOSE_WAIT. This can be easily reproduced by just starting a roscore. The rosout process then has one port in CLOSE_WAIT.
As already addressed in #371, the xmlrpc server used in rosmaster does not use HTTP/1.1. Activating it still leads to the same behavior as reported back then.
Surprisingly, the xmlrpc_manager in roscpp tries to reuse the connections even if the server replies with HTTP/1.0 and closes the connection. Adding the keep-alive flag to the request doesn't help - the server will always close the connection.
I found time again to revisit the CLOSE_WAIT. Although most CLOSE_WAIT problems are already fixed, roscpp nodes still have always one port in CLOSE_WAIT. This can be easily reproduced by just starting a roscore. The rosout process then has one port in CLOSE_WAIT.
As already addressed in #371, the xmlrpc server used in rosmaster does not use HTTP/1.1. Activating it still leads to the same behavior as reported back then.
Surprisingly, the xmlrpc_manager in roscpp tries to reuse the connections even if the server replies with HTTP/1.0 and closes the connection. Adding the keep-alive flag to the request doesn't help - the server will always close the connection.
I see three solutions to this problem:
I have a working solution for solution 2 which I'll upload in a bit.
The text was updated successfully, but these errors were encountered: