From a925e9b9438f2d6b9c00ab84c3c1a4089fef2d28 Mon Sep 17 00:00:00 2001 From: Ebus-at-dockstar Date: Sun, 10 May 2015 00:31:25 +0200 Subject: close inputport --- ebus-racket/inserter.rkt | 1 + 1 file changed, 1 insertion(+) (limited to 'ebus-racket') diff --git a/ebus-racket/inserter.rkt b/ebus-racket/inserter.rkt index c4a693b..c068e1c 100755 --- a/ebus-racket/inserter.rkt +++ b/ebus-racket/inserter.rkt @@ -47,6 +47,7 @@ (log-inserter-info (format "influxdb: ~a~n" (jsexpr->string data))) (define input-port (post-impure-port (string->url (influxurl?)) (string->bytes/utf-8 (jsexpr->string data)))) (define server-response (read-line input-port)) + (close-input-port input-port) (log-inserter-info "Response: ~a" server-response)))) (define (handle-packet packet) -- cgit v1.2.1