You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2019/07/23 09:02:26 UTC

[GitHub] [dubbo-samples] beiwei30 commented on a change in pull request #104: 新增了一个 使用 protosubff的demo 并解决了心跳问题

beiwei30 commented on a change in pull request #104: 新增了一个 使用 protosubff的demo 并解决了心跳问题
URL: https://github.com/apache/dubbo-samples/pull/104#discussion_r306206757
 
 

 ##########
 File path: dubbo-samples-protosubff/dubbo-samples-protosubff-api/src/main/java/org/dubbo/samples/protosubff/patch/ProtosubffPatch.java
 ##########
 @@ -0,0 +1,103 @@
+package org.dubbo.samples.protosubff.patch;
+
+import java.io.IOException;
+
+import org.apache.dubbo.common.Version;
+import org.apache.dubbo.common.serialize.ObjectInput;
+import org.apache.dubbo.common.serialize.ObjectOutput;
+import org.apache.dubbo.common.serialize.protostuff.utils.WrapperUtils;
+import org.apache.dubbo.common.utils.ClassHelper;
+import org.apache.dubbo.common.utils.StringUtils;
+import org.apache.dubbo.remoting.Channel;
+import org.apache.dubbo.remoting.exchange.Request;
+
+import javassist.ClassPool;
+import javassist.CtClass;
+import javassist.CtMethod;
+import javassist.LoaderClassPath;
+
+/**
+ * 一个临时解决的办法
+ * 主要描述了问题的产生
+ * 环境
+ * dubbo 2.7.1
+ * protocol 使用 dubbo 序列化设置为 protosubff
+ * 别的为默认
+ * 
+ * 
+ * @author: chenyu
+ * @date:   2019年7月16日 上午10:23:58 
+ *
+ */
+public class ProtosubffPatch {
 
 Review comment:
   would you mind to submit pull request for the issue you found to dubbo: https://github.com/apache/dubbo/pulls

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org