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.web10.3837.1646818199456333361 for ; Wed, 09 Mar 2022 01:29:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gEB9Yf6V; spf=pass (domain: redhat.com, ip: 170.10.129.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1646818198; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YMy54uxtv2jjsa/dN4d5jdGe39Ei5OMR1Vjvdkh1wQQ=; b=gEB9Yf6VYi/0JRqRNYqTwOmEISQg3iglRy/MPRhur3S/kI0D1kn8CLb/k4dOgCEzjpqJQA 5GQeSawLbqFTVBMFkX1xitl5cW6m2gKUQmLjR4aoZSj+YJOWAoNkUgtL1MJh5kxP/YBnra mrxcnAN7VlbuMkyKq5n/BjOEm9R3xz4= 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-491-uE1z2DvjNJ-utZ9xobEW7A-1; Wed, 09 Mar 2022 04:29:54 -0500 X-MC-Unique: uE1z2DvjNJ-utZ9xobEW7A-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CBA2F80EDA2 for ; Wed, 9 Mar 2022 09:29:53 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.192.99]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A3CA4753F2; Wed, 9 Mar 2022 09:29:49 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 2A91A1800098; Wed, 9 Mar 2022 10:29:42 +0100 (CET) Date: Wed, 9 Mar 2022 10:29:42 +0100 From: "Gerd Hoffmann" To: devel@edk2.groups.io, osteffen@redhat.com Subject: Re: [edk2-devel] [PATCH v2 1/4] NetworkPkg/HttpDxe: Decofigure Tcp4 before reconfiguring Message-ID: <20220309092942.ngppp4tykdchpcpg@sirius.home.kraxel.org> References: <20220304130403.47832-1-osteffen@redhat.com> <20220308132104.407800-1-osteffen@redhat.com> <20220308132104.407800-2-osteffen@redhat.com> MIME-Version: 1.0 In-Reply-To: <20220308132104.407800-2-osteffen@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 08, 2022 at 02:21:01PM +0100, Oliver Steffen wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2720 > > Check if the state of the HTTP instance is HTTP_STATE_TCP_CONNECTED, or > HTTP_STATE_TCP_CLOSED and de-configure the Tcp4 instance before > configuring it again. > > Signed-off-by: Oliver Steffen Reviewed-by: Gerd Hoffmann