]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg/HttpDxe: TlsChildHandle is not cleared when reset
authorAbner Chang <abner.chang@hpe.com>
Mon, 28 Sep 2020 06:29:34 +0000 (14:29 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 9 Oct 2020 09:38:13 +0000 (09:38 +0000)
commit5df413119ec80cb462bf9c888ef5574f8ce8ae2e
tree6441658a52bb9b4e63bc6db45b393d2eeb696618
parent091ab12b340a05c99ce0e31d29293ce58c7014e2
NetworkPkg/HttpDxe: TlsChildHandle is not cleared when reset

BZ #2909,
https://bugzilla.tianocore.org/show_bug.cgi?id=2909

When Http->Configure() is invoked with HttpConfigData set to
NULL to reset the EFI HTTP instance, TLS child instance is
destroyed but HttpInstance->TlsChildHandle is not set to
NULL. After reconfiguring HTTP through Http->Configure()
and sending the HTTP request to HTTPS URL, TLS child
instance is not recreated because
HttpInstance->TlsChildHandle is not NULL.

Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Wu Jiaxin <jiaxin.wu@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Cc: Nickle Wang <nickle.wang@hpe.com>
Signed-off-by: Abner Chang <abner.chang@hpe.com>
Reviewed-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
NetworkPkg/HttpDxe/HttpProto.c