View definition

(Sock).StreamReqLimit

Defined in github.com/rsms/gotalk/sock.go

Description

Enable streaming requests and set the limit for how many streaming requests this socket can handle at the same time. Setting this to `0` disables streaming requests alltogether (the default) while setting this to a large number might be cause for security concerns as a malicious peer could send many "start stream" messages, but never sending any "end stream" messages, slowly exhausting memory.

StreamReqLimit is referenced in 0 repositories