mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-12 08:37:25 -05:00
* Resolves #502 Resolves issue with connecting to icecast http streaming server. The issue stems from Icecast HTTP (2.4+) servers not sending a full HTTP OK response (missing header tokens) to a connection request. Prior to the upgrade to apache mina 2.0.19, we received a specific exception and handled it and set the status to connected. After the upgrade, apache mina is now sending an array index out of bounds exception when it decodes the incomplete http response. So, we now catch that specific exception, inspect the http response hex bytes and set the status to connected.