You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "beiwei30 (GitHub)" <gi...@apache.org> on 2018/11/08 09:25:35 UTC

[GitHub] [incubator-dubbo] beiwei30 commented on issue #2006: consumer 抛出Dubbo client can not supported string message原因分析

@renlei413326889 @fingthinking, dubbo 现在代码里的:

```java
        } catch (Throwable t) {
            // clear buffer
            buffer.writerIndex(savedWriteIndex);
            // send error message to Consumer, otherwise, Consumer will wait till timeout.
            if (!res.isEvent() && res.getStatus() != Response.BAD_RESPONSE) {
```

`buffer.writerIndex(savedWriteIndex);` 已经解决了这个问题了吧?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2006 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org