Charmander 41017814d3 Avoid infinite loop on malformed message (#1208)
* Avoid infinite loop on malformed message

If handling of such messages is deemed unimportant, `indexOf` is still faster (~40%) and cleaner than a manual loop.

Addresses #1048 to an extent.

* Use indexOf fallback for Node ≤0.12
2017-02-21 11:19:03 -06:00
..
2016-12-16 09:44:19 -06:00
2016-07-19 10:16:48 -05:00
2016-12-13 07:50:07 -06:00
2016-12-13 07:50:07 -06:00