Skip to content

Commit

Permalink
Merge pull request joewalnes#210 from Photonios/master
Browse files Browse the repository at this point in the history
Fixed doubling binary frames in size
  • Loading branch information
asergeyev committed May 25, 2016
2 parents 9602821 + eee5350 commit 709c499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libwebsocketd/process_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (pe *ProcessEndpoint) process_binout() {
}
break
}
pe.output <- append(make([]byte, n), buf[:n]...) // cloned buffer
pe.output <- append(make([]byte, 0, n), buf[:n]...) // cloned buffer
}
close(pe.output)
}
Expand Down

0 comments on commit 709c499

Please sign in to comment.