PromyLOPh/pianobar — pull request #198 by darkraven (2012-01-01 08:47:09+00:00)
Title: Fix 'TLS read error' when using pianobar with some buggy(?) proxy

If the proxy close the connection to server too early, gnutls_record_recv() will result in a GNUTLS_E_PREMATURE_TERMINATION thus pianobar exit with 'TLS read error', regardless of the fact that all the data has been received.
This commit is a workaround for this situation.