Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkPkg/HttpDxe: TlsChildHandle is not cleared when reset #995

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

mrabeda
Copy link
Contributor

@mrabeda mrabeda commented Oct 9, 2020

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

BZ tianocore#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>
@mrabeda mrabeda added the push Auto push patch series in PR if all checks pass label Oct 9, 2020
@mergify mergify bot merged commit 5df4131 into tianocore:master Oct 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant