Comments (4)
Did you set flood
flag to true
?
https://github.com/lesismal/nbio_examples/blob/master/websocket_tls/nbioclient/client.go#L74
go run ./nbioclient/ -flood=true
I think we should remove floodLargeMessage
and noEcho
and test it by default.
from nbio.
We can log the length but not the data itself, becaulse the data is huge:
# https://github.com/lesismal/nbio_examples/blob/master/websocket_tls/nbioclient/client.go#L34
log.Println("onEcho:", len(data))
from nbio.
yeah, this might be the case. I just wanted to block any release until I have some free time to look into it
from nbio.
Sorry, this is not an issue.
The problem was I had to move the mux to inside the nbioconfig on my server. This is the reason I don't like Vararg in most cases.
from nbio.
Related Issues (20)
- Does this library take an advantage of zero-copy upgrade in Websocket? HOT 25
- Reduce the number of calls to time.Now in setdeadline HOT 9
- WebSocket 服务器使用IOModMixed,client正常关闭,OnClose里的err不为nil HOT 36
- Using nbhttp for server-sent events HOT 7
- Use cases of MaxLoad and MaxBlockingOnline configurations HOT 14
- 请教几个参数的问题 HOT 6
- What happens when multiple goroutines send a message to single websocket connection? HOT 16
- 日志打印建议 HOT 3
- Question: writeBuffer HOT 7
- ondata HOT 2
- what's the config of LockPoller and LockPoller use for ? HOT 1
- wss的发包问题 HOT 5
- wss运行一段时间后无法关闭 HOT 21
- export uniqueId from websocket.Conn HOT 5
- 求助:nbio + gin,下载不了文件? HOT 15
- Windows: Based on std net, for debugging only,请问这是表明在windows下不能用嘛?我们的程序是在windows下运行的 HOT 7
- ResetPollerEvent HOT 3
- taskpool 可否延迟回收? HOT 4
- Hi I'm Dizz , from zhihu.com
- accept sleep and error handling HOT 93
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 nbio.