From ec679d5e6bdd1ab8f00cf7ffe69399ebe09e2cb1 Mon Sep 17 00:00:00 2001 From: gohumble <55599638+gohumble@users.noreply.github.com> Date: Thu, 6 Oct 2022 09:48:23 +0200 Subject: [PATCH] removed connection keep alive header (#421) --- internal/api/lightning.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/api/lightning.go b/internal/api/lightning.go index 940d18d..ed84adc 100644 --- a/internal/api/lightning.go +++ b/internal/api/lightning.go @@ -144,7 +144,6 @@ func (s Service) InvoiceStream(w http.ResponseWriter, r *http.Request) { user := telegram.LoadUser(r.Context()) w.Header().Set("Content-Type", "application/stream+json") w.Header().Set("Cache-Control", "no-cache") - w.Header().Set("Connection", "keep-alive") flusher, err := w.(http.Flusher) if !err { http.Error(w, "Streaming unsupported!", http.StatusInternalServerError)