$OpenBSD: patch-main_http_c,v 1.1 2013/06/05 00:57:18 sthen Exp $

see https://issues.asterisk.org/jira/browse/ASTERISK-21789

--- main/http.c.orig	Fri May 24 15:05:50 2013
+++ main/http.c	Fri May 24 15:06:07 2013
@@ -843,7 +843,7 @@ struct ast_variable *ast_http_get_cookies(struct ast_v
 	struct ast_variable *v, *cookies=NULL;
 
 	for (v = headers; v; v = v->next) {
-		if (!strncasecmp(v->name, "Cookie", 6)) {
+		if (!strcasecmp(v->name, "Cookie")) {
 			char *tmp = ast_strdupa(v->value);
 			if (cookies) {
 				ast_variables_destroy(cookies);
