> 22. des. 2020 kl. 11:23 skrev Andrea Aime <andrea.a...@geo-solutions.it>: > > On Tue, Dec 22, 2020 at 9:05 AM Roar Brænden <roar.brenden...@gmail.com > <mailto:roar.brenden...@gmail.com>> wrote: > > Another point has been the usage of commons-httpclient. This is an old, > unmaintained library that today are used by gt-wms and gt-wfs in their own > MultithreadedHttpClients. I was looking a bit on this, but I see no advantage > of using it, so I reverted all my changes. > > No advantage compared to the Java 8 client? Performs better as far as I know. > I always have it on in GeoServer deploys, leaving the Java 8 client for > cases where
My assumption was based on a little test case. If you have experienced something else, I wan't argue with that. > > There are some bugs related to these two clients, so it would make sense to > introduce a new unsupported plugin gt-http-commons with the > MultithreadedHttpClient from gt-wms. I'm open for doing this, but maybe in a > new PR when this is done. > > Having a module for it would make sense indeed. I will incorporate it in the PR. Which is having trouble with the Github checks. > > What I do want to work on is the new HttpClient in JDK 11. My initial plan > has been to introduce a new plugin gt-http-ng, but that will be introduced in > a new Jira / PR. > > For this to work, we need to discuss switching to JDK 11 as the minimum > supported version (release packages are built with Java 8, Java 11 is in the > builds > to make sure projects work with it, though we have issues with modularity as > no one of core devs is really using it). > Normally the discussion open when the next LTS is released, which will be > Java 17 in September 2021... historically, we do a code sprint a few months > later to > add support for the new LTS and drop the old one (so the switch would be from > Java 8 and Java 11, to Java 11 and Java 17). > At the same time, Java 8 is supported until 2026, and Java 11 only up to > 2024*, which is not ideal, a switch would actually reduce the time the > servers deploying > those versions can stay up without an overhaul. Would it make sense to make a plugin with a HTTPClient based on Apache HttpComponents then? Regards, Roar Brænden
_______________________________________________ GeoTools-Devel mailing list GeoTools-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel