diff options
author | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-07-31 13:36:37 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2017-08-02 15:31:54 +0800 |
commit | 45ea8a0c4550e1bb357d9e1d7fe653cd79cacaf5 (patch) | |
tree | 62c177d3953ad3069bc2519112a1d8e4b53a4d9c /NetworkPkg/HttpDxe/HttpProto.h | |
parent | 6aac2db4a11432b11ba92a0d1652d6ec3d81f353 (diff) | |
download | edk2-45ea8a0c4550e1bb357d9e1d7fe653cd79cacaf5.tar.gz edk2-45ea8a0c4550e1bb357d9e1d7fe653cd79cacaf5.tar.bz2 edk2-45ea8a0c4550e1bb357d9e1d7fe653cd79cacaf5.zip |
NetworkPkg/HttpDxe: Destroy the TLS instance when cleaning up the HTTP child
During clean up the HTTP child, all resources used by it should be cleaned. But
currently, TLS instance is not destroyed.
This patch is to fix this issue.
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>
Diffstat (limited to 'NetworkPkg/HttpDxe/HttpProto.h')
-rw-r--r-- | NetworkPkg/HttpDxe/HttpProto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/NetworkPkg/HttpDxe/HttpProto.h b/NetworkPkg/HttpDxe/HttpProto.h index 95fb4843ce..04d36aaca0 100644 --- a/NetworkPkg/HttpDxe/HttpProto.h +++ b/NetworkPkg/HttpDxe/HttpProto.h @@ -166,7 +166,8 @@ typedef struct _HTTP_PROTOCOL { // Https Support
//
BOOLEAN UseHttps;
-
+
+ EFI_SERVICE_BINDING_PROTOCOL *TlsSb;
EFI_HANDLE TlsChildHandle; /// Tls ChildHandle
TLS_CONFIG_DATA TlsConfigData;
EFI_TLS_PROTOCOL *Tls;
|