Giter Club home page Giter Club logo

Comments (5)

qipengpai avatar qipengpai commented on September 14, 2024

非常的细致全面 ,但是http服务器的端口建议调大一些

from netty-handbook.

qipengpai avatar qipengpai commented on September 14, 2024

CONTENT_TYPE 最好加上字符集不然乱码 "text/plain;charset=utf-8"

from netty-handbook.

dongzl avatar dongzl commented on September 14, 2024

非常的细致全面 ,但是http服务器的端口建议调大一些

@qipengpai 谢谢你的建议,这个端口调大一些,没太理解是什么意思。

CONTENT_TYPE 最好加上字符集不然乱码 "text/plain;charset=utf-8"

这个是需要在哪里加呢,你方便直接 PR 一下,或者给出需要修改的文件,谢谢!

from netty-handbook.

Yexiaomo avatar Yexiaomo commented on September 14, 2024

3.6.6 关于 Buffer 和 Channel 的注意事项和细节4. Scattering和Gathering的示例代码有一个小错误

byteRead += 1; //累计读取的字节数 应该累加的是l不是自增1。

应改为
byteRead += l; //累计读取的字节数

from netty-handbook.

dongzl avatar dongzl commented on September 14, 2024

3.6.6 关于 Buffer 和 Channel 的注意事项和细节4. Scattering和Gathering的示例代码有一个小错误

byteRead += 1; //累计读取的字节数 应该累加的是l不是自增1。

应改为
byteRead += l; //累计读取的字节数

已修改,感谢指正错误。

from netty-handbook.

Related Issues (4)

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.