DoctorMcKay / node-steam-client

API-compatible fork of node-steam's SteamClient
https://steamcommunity.com/groups/SteamRE/discussions/1/
MIT License
52 stars 19 forks source link

proxy timeout does not used here #21

Open MaplerStory opened 6 years ago

MaplerStory commented 6 years ago

the timeout in cm_client may be too short ?

https://github.com/DoctorMcKay/node-steam-client/blob/f949d1876cfe230400d1c9d47397cb8c0668dd6f/lib/cm_client.js#L175

typically, connect with the proxy. if the proxy network is not so good, when the client login, it would disconnect and reconnect frequently, at that time the client seems like to be blocked, and no error emit.

maybe, change it like the timeout in TCPConnection https://github.com/DoctorMcKay/node-steam-client/blob/f949d1876cfe230400d1c9d47397cb8c0668dd6f/lib/tcp_connection.js#L58