Skip to content
#

hessian

Here are 63 public repositories matching this topic...

ujjboy
ujjboy commented Nov 27, 2018

非常感谢大家对 SOFAStack 开源的关注和支持,这是我们前进最大的动力。

收集目的

  • 了解 SOFAStack 的使用场景以便更好的规划技术路线
  • 聆听社区的不同声音,让 SOFAStack 变得更好
  • 吸引更多的开源爱好者参与贡献,共同打造 SOFAStack

收集方式

请按如下参考格式回复本 Issue 进行登记:

* 公司/组织名称:蚂蚁金服
* 地点:中国杭州
* 网址:http://www.antfin.com
* 使用组件及场景:全套金融级分布式中间件
* 联系方式:zhanggeng.zg@antfin.com

展示

我们会定期同步信息至「Awesome SOFA」的用户列表中。

服务

PyTorch implementation of Advantage Actor Critic (A2C), Proximal Policy Optimization (PPO), Scalable trust-region method for deep reinforcement learning using Kronecker-factored approximation (ACKTR) and Generative Adversarial Imitation Learning (GAIL).

  • Updated Aug 29, 2020
  • Python
champly
champly commented May 15, 2020

背景

service mesh环境下,需要在 sidecar 中解析dubboattachment,并根据需求添加一些自定义的参数进去,就像SetHeader一样,然后重新构建 dubbo

问题

如果使用hessian.NewDecoder,传递的参数没有对象是可以的,如果参数中有对象会报错,参考 #163 的解决办法,使用 hessian.NewDecoderWithSkip可以解决,但是重新构建的时候arg类型是interface{},值是nil

解决

能否多提供一个Decode方法,直接返回[]byte内容,重新构建的时候直接encode.Append(arg)就可以重新构建dubbo

ujjboy
ujjboy commented Feb 28, 2019

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

Lnk RPC是一款基于Netty实现RPC通讯协议,支持同步,异步和异步回调三种RPC调用方式,支持参数和返回值多态。支持多种负载均衡方式,支持调用流量控制,支持zookeeper和consul等服务注册发现方式,服务端口支持开发人员,运维人员配置以及动态分配,支持服务依赖关系梳理以及调用链路跟踪。支持spring配置。在服务端通过分组策略将来自不同组别的请求处理资源隔离,该思路借鉴与RocketMQ的实现思想。

  • Updated Dec 6, 2017
  • HTML

Improve this page

Add a description, image, and links to the hessian topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hessian topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.