From 3e8da9e540cc08cccf60c98c7255bcfc81b7e510 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 11 Apr 2018 23:02:10 +0200 Subject: [PATCH] fix delay in blackhole --- proxy/blackhole/blackhole.go | 1 - 1 file changed, 1 deletion(-) diff --git a/proxy/blackhole/blackhole.go b/proxy/blackhole/blackhole.go index d7d6197c..da98efd1 100644 --- a/proxy/blackhole/blackhole.go +++ b/proxy/blackhole/blackhole.go @@ -34,7 +34,6 @@ func (h *Handler) Process(ctx context.Context, outboundRay ray.OutboundRay, dial // Sleep a little here to make sure the response is sent to client. time.Sleep(time.Second) outboundRay.OutboundOutput().CloseError() - time.Sleep(time.Second * 2) return nil }