Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Abort TCP connection request on .end() #15

Merged
merged 1 commit into from
Apr 24, 2018
Merged

Abort TCP connection request on .end() #15

merged 1 commit into from
Apr 24, 2018

Conversation

Aareksio
Copy link
Contributor

Test:

const Steam = require('./');

const httpProxy = 'http://98.76.54.32';

const client = new Steam.CMClient();

client.on('debug', (...data) => console.log(...data));

client.setHttpProxy(httpProxy);

client.connect();
client.connect();

Before:

TypeError: self._connection.setTimeout is not a function
    at node-steam-client\lib\cm_client.js:175:21

After:

No error

Fixes #14

@DoctorMcKay DoctorMcKay merged commit 0aa0530 into DoctorMcKay:master Apr 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants