Github user ajs6f commented on the issue:
https://github.com/apache/jena/pull/151
Erm, good/bad news.
1. I can fix the problem @afs found.
2. I don't want to, because I realize now that I did this whole PR wrong.
If you read up this page, you'll see where both @afs and I remark that it's
odd that `HttpClient`s can't be built from extant `HttpClient`s. It took me
until now to understand why. You can call `build()` on an `HttpClientBuilder`
as many times as you want for as many clients as you want with the exact same
config. I should never have rethreaded the call hierarchies with `HttpClient`.
It should have been `HttpClientBuilder` all the time, all the way down to
`HttpOp` which, within `exec()`, should build and close a client, leaving the
builder for infinite reuse.
{sigh}
So in order to do this right, I need to redo a good piece of it. That will
get rid of a lot of subtle things I had to add in the test code to make this
work in its current form (should have realized something was wrong). This is
now my top priority because this saga has gone on too long already (yay
all-volunteer projects :) ). I will write a further comment when I have an ETA,
hopefully not long.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---