Does undertow support keep-alive yet? I'm using Apache HC Client 4.2.1
and am getting a "ConnectionManager has been shutdown" exception after
trying to read a 0 length response body from a 200, ok status. So it
seems that Undertow is closing the connection after the response returns.
Before you say, "well don't read from a 0 length response", the JAX-RS
2.0 spec requires that we throw a certain exception on an empty response
when trying to read an actual response. Undertow is setting a
Content-Length of "0", so I can workaround this problem by checking for
this condition, but closing the connection isn't really great for
performance....
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com