“-1 error loading URL” on Android

This beautifully descriptive error was thrown back to me last night on every second http¬†connection that I made. It was happening both through JSoup and the regular Android httpclient. ¬†After much fruitless digging around it became apparent that there was something going wrong in the connection pool when it came to handling cookies. To cut […]