hessian
Here are 63 public repositories matching this topic...
-
Updated
Aug 29, 2020 - Python
-
Updated
Oct 13, 2020 - Java
-
Updated
Aug 11, 2020 - Java
-
Updated
Jul 29, 2020 - Python
-
Updated
Nov 8, 2020 - Python
-
Updated
Sep 17, 2020 - JavaScript
背景
在 service mesh环境下,需要在 sidecar 中解析dubbo的attachment,并根据需求添加一些自定义的参数进去,就像SetHeader一样,然后重新构建 dubbo 包
问题
如果使用hessian.NewDecoder,传递的参数没有对象是可以的,如果参数中有对象会报错,参考 #163 的解决办法,使用 hessian.NewDecoderWithSkip可以解决,但是重新构建的时候arg类型是interface{},值是nil
解决
能否多提供一个Decode方法,直接返回[]byte内容,重新构建的时候直接encode.Append(arg)就可以重新构建dubbo包
免责声明 [disclaimer]
Hessian 是一种二进制序列化协议。
由于 Hessian 自身实现关系,通过构造特定的序列化流,经过反序列化后可能会造成任意代码执行,存在安全风险,建议用户配置黑名单或白名单的方式来解决该问题。
本项目内置的黑名单来自内部实践和外部贡献,仅供参考,不做主动更新。如需要更严格的校验,请使用白名单功能。
Hessian is a binary serialization protocol.
Because of the implement of Hessian, by constructing a specific serialization stream, it may cause arbitrary code execution when doing deserialization. It is recommended that users configure
-
Updated
Oct 24, 2020 - Python
-
Updated
Oct 7, 2020 - Python
-
Updated
May 20, 2020 - R
-
Updated
Dec 6, 2017 - HTML
-
Updated
Jun 3, 2020 - Java
-
Updated
Nov 22, 2017 - Python
-
Updated
Oct 9, 2019 - Python
-
Updated
Sep 10, 2018 - JavaScript
-
Updated
Sep 30, 2018 - Java
-
Updated
Nov 27, 2014 - MATLAB
-
Updated
Nov 8, 2020 - Java
Improve this page
Add a description, image, and links to the hessian topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the hessian topic, visit your repo's landing page and select "manage topics."
非常感谢大家对 SOFAStack 开源的关注和支持,这是我们前进最大的动力。
收集目的
收集方式
请按如下参考格式回复本 Issue 进行登记:
展示
我们会定期同步信息至「Awesome SOFA」的用户列表中。
服务