Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbo-rpc-hessian:1.0.1 is incompatible with dubbo:3.2.3 #270

Open
1 task done
WangXiaoJin opened this issue Jul 5, 2023 · 5 comments
Open
1 task done

dubbo-rpc-hessian:1.0.1 is incompatible with dubbo:3.2.3 #270

WangXiaoJin opened this issue Jul 5, 2023 · 5 comments

Comments

@WangXiaoJin
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Environment

  • Dubbo version: 3.2.3
  • Operating System version: win10
  • Java version: 1.8

Steps to reproduce this issue

The HessianProtocol.HessianHandler class in dubbo-rpc-hessian:1.0.1 is incompatible with dubbo:3.2.3,please upgrade the dubbo-rpc-hessian jar.

Actual Behavior

HttpHandler interface definition in Dubbo3.2.3

public interface HttpHandler<REQUEST, RESPONSE> {

    /**
     * invoke.
     *
     * @param request  request.
     * @param response response.
     * @throws IOException
     */
    void handle(REQUEST request, RESPONSE response) throws IOException;

}

org.apache.dubbo.rpc.protocol.hessian.HessianProtocol.HessianHandler implementation in dubbo-rpc-hessian:1.0.1

private class HessianHandler implements HttpHandler {

        @Override
        public void handle(HttpServletRequest request, HttpServletResponse response)
                throws IOException, ServletException {
            ......
        }

    }
@AlbumenJ
Copy link
Member

@suncairong163 PTAL

@zjutbang
Copy link

什么时候能解决,直接hessian协议卡住了,或者有没有别的方案

@WangXiaoJin
Copy link
Author

什么时候能解决,直接hessian协议卡住了,或者有没有别的方案

我是通过改写源码兼容的

@AlbumenJ
Copy link
Member

AlbumenJ commented Nov 1, 2023

什么时候能解决,直接hessian协议卡住了,或者有没有别的方案

我是通过改写源码兼容的

Could you pls submit a PR?

@CrazyHZM CrazyHZM transferred this issue from apache/dubbo Dec 27, 2023
@aofall
Copy link
Contributor

aofall commented Apr 10, 2024

dubbo-spi-extensions has been released the version of 3.2.0, compatible with Dubbo 3.2.x
You can find the extension in maven central repository what you need and try it.

<dependency>
    <groupId>org.apache.dubbo.extensions</groupId>
    <artifactId>dubbo-rpc-hessian</artifactId>
    <version>3.2.0</version>
</dependency>

https://central.sonatype.com/artifact/org.apache.dubbo.extensions/dubbo-rpc-hessian/overview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants