Skip to content

Jetty10RequestUpgradeStrategy use an old jetty 9 class HandshakeRFC6455 #27121

Closed
@leonchen83

Description

@leonchen83

Affects: <Spring Framework version>
5.3.8

spring framework version
5.3.8

jetty version
10.0.5

jetty dependency

        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-server</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-webapp</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-servlet</artifactId>
        </dependency>
        <dependency>
            <groupId>org.eclipse.jetty.websocket</groupId>
            <artifactId>websocket-jetty-server</artifactId>
        </dependency>

class Jetty10RequestUpgradeStrategy use an old jetty 9 class HandshakeRFC6455 following

private static final String[] SUPPORTED_VERSIONS = new String[] { String.valueOf(HandshakeRFC6455.VERSION) };

the code should be

private static final String[] SUPPORTED_VERSIONS = new String[] { "13" };

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions