mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 05:11:06 +02:00
fix file
This commit is contained in:
parent
625741a7a9
commit
55b6eb3802
2 changed files with 1 additions and 2 deletions
|
@ -398,7 +398,6 @@ func (c *Client) processMessage(m Message) (err error) {
|
|||
err = c.redisdb.Publish(c.nameOutChannel, Message{
|
||||
Type: "close-sender",
|
||||
}.String()).Err()
|
||||
os.Exit(1)
|
||||
case "datachannel-answer":
|
||||
c.log.Debug("got answer:", m.Message)
|
||||
// Apply the answer as the remote description
|
||||
|
|
|
@ -22,7 +22,7 @@ const (
|
|||
// Must be <= 16384
|
||||
// 8 bytes for position
|
||||
// 3000 bytes for encryption / compression overhead
|
||||
senderBuffSize = 13376
|
||||
senderBuffSize = 8192
|
||||
bufferThreshold = 512 * 1024 // 512kB
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue