From: Ingo B. <in...@ji...> - 2020-05-28 13:07:38
|
> I've been testing out concurrency with dnsjava. I've noticed errors when a > bunch of threads try to use the same SimpleResolver for the first time. > > > > If I send 1 request, wait for a response, and then start all the threads, > everything is fine. There's a bug in 3.0.x which is fixed in 3.1.0. See the changelog [1] or bug 104 [2]. > Is the SimpleResolver thread safe? Yes. Ingo [1] https://github.com/dnsjava/dnsjava/blob/master/Changelog [2] https://github.com/dnsjava/dnsjava/issues/104 |