From c3bd527b6207ea4e9dce76faf327584788b366be Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 4 Aug 2016 22:03:16 +0200 Subject: Fix bug: length header should be "ignored" silently MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/servers/master.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/servers') diff --git a/src/servers/master.c b/src/servers/master.c index be21b95..094d853 100644 --- a/src/servers/master.c +++ b/src/servers/master.c @@ -78,6 +78,7 @@ static int dispatch_message(size_t conn, struct message* restrict msg) else if (strstr(header, "Class: ") == header) class = value; else if (strstr(header, "Lifespan: ") == header) lifespan = value; else if (strstr(header, "Message ID: ") == header) message_id = value; + else if (strstr(header, "Length: ") == header) ;/* Handled transparently */ else fprintf(stderr, "%s: ignoring unrecognised header: %s\n", argv0, header); } -- cgit v1.2.3-70-g09d2