EvoEsports / GbxRemote.Net

Trackmania dedicated server XML-RPC async task library for .NET
Apache License 2.0
11 stars 8 forks source link

Fix connection blocking issue #28

Closed iLillie closed 2 years ago

iLillie commented 2 years ago

Connecting to the remote XMLRPC server is blocking if no connection header is recieved.

https://github.com/EvoTM/GbxRemote.Net/blob/48450185f6cd6cde10f62eaf0ef9f12c57519b32/GbxRemote.Net/XmlRpc/Packets/ConnectHeader.cs#L20-L25

iLillie commented 2 years ago

This issue can be reproduced when XMLRPC Remote access is not allowed and trying to connect to client with ip 127.0.0.1 and running on a Docker container (WSL2).