[jetty-users] The resolve() function in SocketAddressResolver is called twice in https request in Jetty9.4.7
Hi, I use Jetty 9.4.7 to write the https client to send the POST request. In my test, I found that sometime the log "customize socketAddressResolver, new host:port" printed twice, it is not always twice, sometime it is once. Could you please help investigate is there is any issue in Jetty 9.4.7? My scenario: The original POST request FQDN uri is a SRV FQDN. It has 2 targets, and each target has 2 IPs. only one IP is available for the request handling. So most time, the program will have the sending retry since only 1/4 IPs is good. Sometime, the twice calling on resolve() occurred in the good IP, sometime occurred in the bad IP. InetAddress ipAddr = ...; client.setSocketAddressResolver(new SocketAddressResolver() { @Override public void resolve(String host, int port, Promise> promise) { try { InetSocketAddress ipSocketAddr = new InetSocketAddress(ipAddr, port); List result = Collections.singletonList(ipSocketAddr); if (mydebug.isDebugEnabled()) { mydebug.debug("customize socketAddressResolver, new host:port " + ipAddr.getHostAddress() + ":" + port); } if (result.isEmpty()) promise.failed(new UnknownHostException()); else promise.succeeded(result); } catch (Throwable x) { promise.failed(x); } }); Regards, William ___ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users
Re: [jetty-users] Jetty 10
I guess the biggest 'highlight'? is that it will be using the Jakarta licensed Servlet 4.0 which was the latest excuse for not releasing it. cheers, Jesse -- jesse mcconnell jesse.mcconn...@gmail.com On Wed, Feb 26, 2020 at 9:26 AM Greg Wilkins wrote: > > Josh, > > To our embarrassment, Jetty-10 has been expected release next month for > the last 18 months! > There is nothing really holding it up, other than a lack of demand for a > 4.0 container. and the fact that we keep taking the opportunity to review > and renew some internal APIs > > It will no longer support java-8, it will be servlet-4.0 > There will be some API changes, but mostly for embedded usage rather than > webapps. > > Our project plan has been out of date, so we do need to get a page on this. > > It is our intention to release next month and I would like to see an alpha > out in the next few days. > > regards > > > > > > > > On Wed, 26 Feb 2020 at 16:09, Josh Spiegel wrote: > >> Hi, >> >> What is the expected timeline for Jetty 10? >> >> What versions of Java will it support? >> >> Are there expected to be any major backwards incompatible changes? >> >> I apologize in advance if there is a page that answers all these >> questions - I wasn't able to find it. >> >> Thank you, >> Josh >> ___ >> jetty-users mailing list >> jetty-users@eclipse.org >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://www.eclipse.org/mailman/listinfo/jetty-users > > > > -- > Greg Wilkins CTO http://webtide.com > ___ > jetty-users mailing list > jetty-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/jetty-users ___ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users
Re: [jetty-users] Jetty 10
Josh, To our embarrassment, Jetty-10 has been expected release next month for the last 18 months! There is nothing really holding it up, other than a lack of demand for a 4.0 container. and the fact that we keep taking the opportunity to review and renew some internal APIs It will no longer support java-8, it will be servlet-4.0 There will be some API changes, but mostly for embedded usage rather than webapps. Our project plan has been out of date, so we do need to get a page on this. It is our intention to release next month and I would like to see an alpha out in the next few days. regards On Wed, 26 Feb 2020 at 16:09, Josh Spiegel wrote: > Hi, > > What is the expected timeline for Jetty 10? > > What versions of Java will it support? > > Are there expected to be any major backwards incompatible changes? > > I apologize in advance if there is a page that answers all these questions > - I wasn't able to find it. > > Thank you, > Josh > ___ > jetty-users mailing list > jetty-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/jetty-users -- Greg Wilkins CTO http://webtide.com ___ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users
[jetty-users] Jetty 10
Hi, What is the expected timeline for Jetty 10? What versions of Java will it support? Are there expected to be any major backwards incompatible changes? I apologize in advance if there is a page that answers all these questions - I wasn't able to find it. Thank you, Josh ___ jetty-users mailing list jetty-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users