Git Product home page Git Product logo

Comments (3)

qinzuoyan avatar qinzuoyan commented on July 19, 2024

谢谢你的反馈。

我觉得不会有这个问题,因为这里的send只是一次单独发送一批数据,并不要求是一个完整的message,可能只是message的一部分,注意_sending_message和_sent_size都是类变量,所以在on_write_some()中会接着发后面的部分,直到整个message都发送出去。

请问你是在使用中遇到你所说的**_“数据可能会发不完就被丢弃掉了”**_的情况了吗?

from sofa-pbrpc.

 avatar commented on July 19, 2024

多谢耐心回复。之前看代码没有太仔细,忽略该异步调用的完成函数,我应该实际跟踪运行下再考虑发起Issue,真的很抱歉。

from sofa-pbrpc.

qinzuoyan avatar qinzuoyan commented on July 19, 2024

不客气,有什么问题随时提出来

from sofa-pbrpc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.