EnriqCG / rcon-srcds

A zero-dependency Typescript library for the Source/Minecraft RCON Protocol
https://www.npmjs.com/package/rcon-srcds
MIT License
60 stars 20 forks source link

Add support for Multi-Packet Responses and fix listener-leak fixes #1 #3

Closed EnriqCG closed 4 years ago

EnriqCG commented 4 years ago

This change adds support for Responses that are too long for a single Packet. The code checks for the mirrored request at the end of eacht response.

Also the listener for the response was not deleted correctly leading to more and more listeners to be registered. See: https://github.com/EnriqCG/rcon-srcds/issues/1