Closed tmatynia closed 10 years ago
I've actually moved from Jetty HttpClient to Apache HttpClient as I find this more resilient. Once I have completed full load testing I will do a release, probably in the next four or five days. I have already uploaded this as a SNAPSHOT to Sonatype (https://oss.sonatype.org/index.html#nexus-search;quick~mockserver) in the 2.5-SNAPSHOT.
Please let me know if this doesn't fix the issue and re-open the ticket.
Also if you notice any further issues a pull request would be much appreciated.
Thanks,
James
In case of running MockServerClient in a standalone application, Jetty HttpClient's threads prevent application from quitting, despite of the fact that main thread has ended its work.
Extending API (with httpClient.stop() call) would solve the problem, as it works for me (I did that with use of reflection).