Comments (3)
有个macro 用来计算 websocket_server_encoded_header_length
不过返回没有坏处
from websockify-nginx-module.
问个问题,为什么不补充当数据长度大于65535的情况呢,我在基于nginx-http-flv-module模块扩展websocket-flv功能时借鉴了websockify-nginx-module模块,遇到了数据长度大于65535,把这个函数做了修改让他支持数据长度大于65535的情况
from websockify-nginx-module.
多于65535 会自动拆成 多个 websocket frame 自动
实践上 如果过大 浏览器 端 也不好处理 容易出现卡顿
这个值相当于MTU 个人觉得目前的大小足够了
from websockify-nginx-module.
Related Issues (19)
- ngx_http_websockify_send_with_encode: encode error! HOT 16
- help me HOT 1
- Dockerfile HOT 1
- 单独使用websockify和nginx内置websockify的不同效果(代理转发失败) HOT 7
- 配置后不能用,返回400 HOT 2
- 内存问题 HOT 1
- websocket trans tcp? HOT 1
- websockify 模块主动断开同前后端的连接 HOT 7
- Will this work as a Dynamic module for nginx? HOT 1
- expose port 5901 if start with docker
- 通过websockify-nginx能不能实现二次转发 HOT 1
- can i stream my rtsp over this HOT 1
- can not work with http2 ssl enabled! HOT 3
- server send ping time duration! HOT 1
- fails to work with spice-html5 HOT 11
- WSS? HOT 2
- unix socket HOT 3
- Build fails with nginx 1.6.3 and 1.8.1 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from websockify-nginx-module.