From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web11.7007.1646400925666936875 for ; Fri, 04 Mar 2022 05:35:26 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BPEaoxcn; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646400924; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=x8d0SeUQQ0wF6PMLvRVrojJzWtpH/NFCMvwVCrPMNTQ=; b=BPEaoxcnvyDa3gCej7JuCvXdK5UZU82KUS2YkrEMyC2qGQ+vOR0+kmon6hM9JrcOEIqwqg XTe1esHbK7lwpkeqTdmnlFCsC1eiqgGpCWLlsmUpPLwTgRpnQnQOfxMkmReJwSmbEXggD/ iTT3xJtV8dbH4uK5ZVSXhCb6XAjUY8U= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-557-3T4Ffj1SMZuhuBnVD0Gn1Q-1; Fri, 04 Mar 2022 08:35:21 -0500 X-MC-Unique: 3T4Ffj1SMZuhuBnVD0Gn1Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B609C824FA7 for ; Fri, 4 Mar 2022 13:35:20 +0000 (UTC) Received: from osteffen-laptop.redhat.com (unknown [10.39.194.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1113E7B5F4; Fri, 4 Mar 2022 13:35:19 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: Oliver Steffen Subject: [PATCH 0/4] Http Fixes Date: Fri, 4 Mar 2022 14:34:27 +0100 Message-Id: <20220304133431.53378-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=osteffen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2720 This set of patches fixes booting from HTTP/1.0 servers. It also improves the interaction with HTTP/1.1 servers by recognizing the 'Connection: close' header field, which fixes a problem with servers that close the connection after a 404-error is encountered. It also prevents triggering the TCP issue described in https://bugzilla.tianocore.org/show_bug.cgi?id=3735 when booting from HTTP/1.0 servers. PR: https://github.com/tianocore/edk2/pull/2564 Oliver Steffen (4): NetworkPkg/HttpDxe: Decofigure Tcp4 before reconfiguring NetworkPkg/HttpDxe: Add ConnectionClose flag fo HTTP_PROTOCOL NetworkPkg/HttpDxe: Detect 'Connection: close' header NetworkPkg/HttpDxe: Detect non-HTTP/1.1 servers NetworkPkg/HttpDxe/HttpImpl.c | 25 ++++++++++++++++++++++++- NetworkPkg/HttpDxe/HttpProto.c | 12 ++++++++++++ NetworkPkg/HttpDxe/HttpProto.h | 2 ++ 3 files changed, 38 insertions(+), 1 deletion(-) -- 2.35.1