<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
Thanks Maciej.</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255, 255, 255); text-align: left;" dir="auto">
Abner</div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
Get <a href="https://aka.ms/ghei36">Outlook for Android</a></div>
<div id="id-4ffcdd94-81bc-4536-be40-c66c98d41a22" class="ms-outlook-mobile-reference-message">
<div style="font-family: sans-serif; font-size: 12pt; color: rgb(0, 0, 0);"><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg"><strong>From:</strong> Rabeda, Maciej <maciej.rabeda@linux.intel.com><br>
<strong>Sent:</strong> Friday, October 9, 2020, 5:39 PM<br>
<strong>To:</strong> devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist)<br>
<strong>Cc:</strong> Wu Jiaxin; Fu Siyuan; Wang, Nickle (HPS SW)<br>
<strong>Subject:</strong> Re: [edk2-devel] [PATCH] NetworkPkg/HttpDxe: TlsChildHandle is not cleared when reset<br>
</div>
<br>
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Merged:<br>
<a href="https://github.com/tianocore/edk2/commit/5df413119ec80cb462bf9c888ef5574f8ce8ae2e">https://github.com/tianocore/edk2/commit/5df413119ec80cb462bf9c888ef5574f8ce8ae2e</a><br>
<a href="https://github.com/tianocore/edk2/pull/995">https://github.com/tianocore/edk2/pull/995</a><br>
<br>
On 08-Oct-20 18:17, Maciej Rabeda wrote:<br>
> Hi Abner,<br>
><br>
> Waiting for review on a different patch on NetworkPkg, else CI likely <br>
> fires in my face when I try to integrate yours.<br>
><br>
> <a href="https://edk2.groups.io/g/devel/message/65833">https://edk2.groups.io/g/devel/message/65833</a>
<br>
><br>
> Thanks,<br>
> Maciej<br>
><br>
> On 08-Oct-20 15:50, Abner Chang wrote:<br>
>> Hi Maciej,<br>
>> Could you please help to merge this patch? Thanks!<br>
>> Abner<br>
>><br>
>>> -----Original Message-----<br>
>>> From: Rabeda, Maciej [<a href="mailto:maciej.rabeda@linux.intel.com">mailto:maciej.rabeda@linux.intel.com</a>]<br>
>>> Sent: Tuesday, September 29, 2020 9:47 PM<br>
>>> To: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>;<br>
>>> devel@edk2.groups.io<br>
>>> Cc: Wu Jiaxin <jiaxin.wu@intel.com>; Fu Siyuan <siyuan.fu@intel.com>;<br>
>>> Wang, Nickle (HPS SW) <nickle.wang@hpe.com><br>
>>> Subject: Re: [PATCH] NetworkPkg/HttpDxe: TlsChildHandle is not cleared<br>
>>> when reset<br>
>>><br>
>>> Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com><br>
>>><br>
>>> On 28-Sep-20 08:29, Abner Chang wrote:<br>
>>>> BZ #2909,<br>
>>>> INVALID URI REMOVED<br>
>>>> e.org_show-5Fbug.cgi-3Fid-<br>
>>> 3D2909&d=DwICaQ&c=C5b8zRQO1miGmBeVZ2LFWg&r=_<br>
>>> SN6FZBN4Vgi4Ulkskz6qU3NYRO03nHp9P7Z5q59A3E&m=gVilLut38Vw51w0YX<br>
>>> bkL2XI7A<br>
>>>> ieZI7M-<br>
>>> u7_bYls4zQo&s=eavHqEkeSVmQnn5EYDmq9TnEyjp8MS3_hdpPDgG9hSY&e=<br>
>>>> When Http->Configure() is invoked with HttpConfigData set to NULL to<br>
>>>> reset the EFI HTTP instance, TLS child instance is destroyed but<br>
>>>> HttpInstance->TlsChildHandle is not set to NULL. After reconfiguring<br>
>>>> HTTP through Http->Configure() and sending the HTTP request to HTTPS<br>
>>>> URL, TLS child instance is not recreated because<br>
>>>> HttpInstance->TlsChildHandle is not NULL.<br>
>>>><br>
>>>> Signed-off-by: Abner Chang <abner.chang@hpe.com><br>
>>>><br>
>>>> Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com><br>
>>>> Cc: Wu Jiaxin <jiaxin.wu@intel.com><br>
>>>> Cc: Fu Siyuan <siyuan.fu@intel.com><br>
>>>> Cc: Nickle Wang <nickle.wang@hpe.com><br>
>>>> ---<br>
>>>>    NetworkPkg/HttpDxe/HttpProto.c | 1 +<br>
>>>>    1 file changed, 1 insertion(+)<br>
>>>><br>
>>>> diff --git a/NetworkPkg/HttpDxe/HttpProto.c<br>
>>>> b/NetworkPkg/HttpDxe/HttpProto.c index 3c7c6ff9f0c..afc7db5a726<br>
>>> 100644<br>
>>>> --- a/NetworkPkg/HttpDxe/HttpProto.c<br>
>>>> +++ b/NetworkPkg/HttpDxe/HttpProto.c<br>
>>>> @@ -873,6 +873,7 @@ HttpCleanProtocol (<br>
>>>>        // Destroy the TLS instance.<br>
>>>>        //<br>
>>>>        HttpInstance->TlsSb->DestroyChild (HttpInstance->TlsSb,<br>
>>>> HttpInstance->TlsChildHandle);<br>
>>>> +    HttpInstance->TlsChildHandle = NULL;<br>
>>>>      }<br>
>>>><br>
>>>>      if (HttpInstance->Tcp4ChildHandle != NULL) {<br>
>><br>
>><br>
>><br>
>><br>
>><br>
><br>
><br>
><br>
> <br>
><br>
><br>
<br>
</div>
</span></font><br>
</div>
</body>
</html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr> Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/66061">View/Reply Online (#66061)</a> |    |  <a target="_blank" href="https://groups.io/mt/77169386/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>