1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 05:11:06 +02:00
This commit is contained in:
Zack Scholl 2019-04-11 09:58:32 -07:00
parent 625741a7a9
commit 55b6eb3802
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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
)