Preben Asmussen
Preben Asmussen
Yep - would be nice.
Why has there not been any progress/response on this bug ?
Hi There is some talk about this issue her http://stackoverflow.com/questions/4767553/safe-use-of-httpurlconnection http://stackoverflow.com/questions/3352424/httpurlconnection-openconnection-fails-second-time A easy way of trying to solve the issue you could add conn.setRequestProperty("connection", "close"); in https://github.com/iron-io/iron_mq_java/blob/master/src/main/java/io/iron/ironmq/Client.java#L161 That should close...
@Stephenitis It would be best if it could be configurable. Actually closing the connection would prevent the connection from being reused as a read it. Maybe the problem it is...
Just tried it out on a load test with 1 producer and 1 consumer, with and without conn.setRequestProperty("connection", "close"). I can not reproduce the issue with jdk 7 on osx,...