Issue #6728 - QUIC and HTTP/3

- Trying to replicate test failures.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
This commit is contained in:
Simone Bordet 2021-11-09 11:52:43 +01:00
parent d0af388ab4
commit a587b42ba7
3 changed files with 25 additions and 15 deletions

View File

@ -34,7 +34,6 @@ public abstract class QuicheConnection
static
{
LOG.info("found quiche binding implementations: {}", TypeUtil.serviceStream(ServiceLoader.load(QuicheBinding.class)).sorted(Comparator.comparingInt(QuicheBinding::priority)).collect(Collectors.toList()));
if (LOG.isDebugEnabled())
{
List<QuicheBinding> bindings = TypeUtil.serviceStream(ServiceLoader.load(QuicheBinding.class))
@ -48,7 +47,6 @@ public abstract class QuicheConnection
.orElseThrow(() -> new IllegalStateException("no quiche binding implementation found"));
if (LOG.isDebugEnabled())
LOG.debug("using quiche binding implementation: {}", QUICHE_BINDING.getClass().getName());
LOG.info("using quiche binding implementation: {}", QUICHE_BINDING.getClass().getName());
}
public static QuicheConnection connect(QuicheConfig quicheConfig, InetSocketAddress peer) throws IOException

View File

@ -13,7 +13,6 @@
<properties>
<bundle-symbolic-name>${project.groupId}.client.http</bundle-symbolic-name>
<org.eclipse.jetty.http.client.AbstractTest.Transports></org.eclipse.jetty.http.client.AbstractTest.Transports>
</properties>
<build>
@ -26,20 +25,33 @@
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<systemPropertyVariables>
<org.eclipse.jetty.http.client.AbstractTest.Transports>
${org.eclipse.jetty.http.client.AbstractTest.Transports}
</org.eclipse.jetty.http.client.AbstractTest.Transports>
</systemPropertyVariables>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>jdk17</id>
<activation>
<jdk>[17,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>
@{argLine}
${jetty.surefire.argLine}
--add-modules jdk.incubator.foreign
--enable-native-access ALL-UNNAMED
</argLine>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>

View File

@ -9,4 +9,4 @@ org.eclipse.jetty.http2.hpack.LEVEL=INFO
#org.eclipse.jetty.http3.LEVEL=DEBUG
org.eclipse.jetty.http3.qpack.LEVEL=INFO
#org.eclipse.jetty.quic.LEVEL=DEBUG
org.eclipse.jetty.quic.quiche.LEVEL=INFO
org.eclipse.jetty.quic.quiche.LEVEL=DEBUG