Git Product home page Git Product logo

Comments (3)

tg123 avatar tg123 commented on June 15, 2024

有个macro 用来计算 websocket_server_encoded_header_length 不过返回没有坏处

from websockify-nginx-module.

wangyongxiao avatar wangyongxiao commented on June 15, 2024

问个问题,为什么不补充当数据长度大于65535的情况呢,我在基于nginx-http-flv-module模块扩展websocket-flv功能时借鉴了websockify-nginx-module模块,遇到了数据长度大于65535,把这个函数做了修改让他支持数据长度大于65535的情况

from websockify-nginx-module.

tg123 avatar tg123 commented on June 15, 2024

多于65535 会自动拆成 多个 websocket frame 自动
实践上 如果过大 浏览器 端 也不好处理 容易出现卡顿

这个值相当于MTU 个人觉得目前的大小足够了

from websockify-nginx-module.

Related Issues (19)

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.