From 64a173bd514d9c8199c0ed48d95fc7578732a9e2 Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 12 Nov 2009 01:54:45 +0000 Subject: [PATCH] * Fix one more spot where we could close an aleady-closed socket. --- upnphttp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/upnphttp.c b/upnphttp.c index 2836f61..7e6f6ed 100644 --- a/upnphttp.c +++ b/upnphttp.c @@ -715,6 +715,7 @@ ProcessHttpQuery_upnphttp(struct upnphttp * h) { DPRINTF(E_WARN, L_HTTP, "Invalid request, responding ERROR 400. (No Host specified in HTTP headers?)\n"); Send400(h); + return; } #if 1 /* 7.3.33.4 */ else if( ((h->reqflags & FLAG_TIMESEEK) || (h->reqflags & FLAG_PLAYSPEED)) &&