tordam

A library for peer discovery inside the Tor network
git clone https://git.parazyd.org/tordam
Log | Files | Refs | README | LICENSE

commit 8c81d3a726ed9475be1e68d20ad565c5f99eaaf9
parent 7b6b654a957562857bbfd910ff957ea3883f5fa6
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 29 Oct 2018 17:56:23 +0100

Change bufsize for zenroom to 1M.

Diffstat:
Mpkg/damlib/zenroom.go | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/damlib/zenroom.go b/pkg/damlib/zenroom.go @@ -40,7 +40,8 @@ func ZenroomExec(script, conf, keys, data string, verbosity int) int { // ZenroomExecToBuf is Zenroom's simple API call with buffers. It will return // stdout and stderr. func ZenroomExecToBuf(script, conf, keys, data string, verbosity int) (int, []byte, []byte) { - var bufsize = 1024 * 8 + //var bufsize = 1024 * 8 + var bufsize = 1024 outbuf := make([]byte, bufsize) errbuf := make([]byte, bufsize)