From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=203.199.198.232; helo=imsva.in.megatrends.com; envelope-from=sivaramann@amiindia.co.in; receiver=edk2-devel@lists.01.org Received: from IMSVA.IN.MEGATRENDS.COM (Webmail.amiindia.co.in [203.199.198.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 665942118C51B for ; Thu, 8 Nov 2018 00:38:02 -0800 (PST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6C6BD82060; Thu, 8 Nov 2018 14:12:58 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5FB3A8205E; Thu, 8 Nov 2018 14:12:58 +0530 (IST) Received: from webmail.amiindia.co.in (venus1.in.megatrends.com [10.0.0.5]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Thu, 8 Nov 2018 14:12:58 +0530 (IST) Received: from VENUS2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b]) by VENUS1.in.megatrends.com ([::1]) with mapi id 14.01.0438.000; Thu, 8 Nov 2018 14:07:57 +0530 From: Sivaraman Nainar To: "Fu, Siyuan" , "edk2-devel@lists.01.org" Thread-Topic: reg: Help on Error Handling Thread-Index: AdR3PX8OVIcfxjpwSlmdI68gtzcz0Q== Date: Thu, 8 Nov 2018 08:37:56 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.84.32] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1817-8.2.0.1013-24210.005 X-TM-AS-Result: No--20.963-5.0-31-10 X-imss-scan-details: No--20.963-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1817-8.2.1013-24210.005 X-TMASE-Result: 10--20.963100-10.000000 X-TMASE-MatchedRID: LnxbTdQvtGa76tKgVbUZ2KDH6drx3JPVKx5ICGp/WtFaW2Ktn+I8/j+o Kb+VMrbtJTkHOlKUexwuqKKqdUbdyKgZIrutfM9NXMo/Oicf1k5Pv24cOujK3sOtrkhuZC9WfMr dD3NIUvtgpAgQMa32MfwcnP9OIj54R1vveBQPCRfCtSG/SQAC8eq9xwosX7inHOK4uESVf9Ulnj h4pS9Fhz+ZqQbT6/3uAWTrDhhyqaFI5aNiVPKgsZhyXgGCpXKTcbVmJQ7kUKWPaLJ/Ca3ST59P6 0UPZK0REZ0nh5LG4hj3JpeE+GdRnYIiDu0n/+6xi+m1DDPm2yIz2D5h92okobLLTvamG8BJo8WM kQWv6iXgT2zXYa9/nT3qzHKAhsUYIAcCikR3vq8vEtSbehVSsupvHy76UcJ9SzO5Sk3qPRCKkoD HAukRPlVH/S78KNyH X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: reg: Help on Error Handling X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2018 08:38:03 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello All, We are seeing an issue in HTTPDxe module when there is a hot unplug of a US= B Network device while HTTP Post is happening. Details: An application tries to post the data to HTTPS Server using an USB Network = device in UEFI environment. When the HTTP Post request Initiated there was = a sudden disconnection happening in USB End and In HttpCloseConnection() Ex= ception occurs in HttpInstance->Tcp6->Close . !!!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - 00000= 000 !!!! ExceptionData - 0000000000000000 RIP - 00000000657026F8, CS - 0000000000000038, RFLAGS - 0000000000010212 RAX - 0000000062D22E38, RCX - 0000000062D22E38, RDX - 0000000062D22110 RBX - 0000000000000007, RSP - 000000006BDCE0F0, RBP - 0000000000000000 RSI - 0000000000000004, RDI - 0000000000000000 R8 - 000000000000000A, R9 - 0000000000000000, R10 - 0000000062D42298 R11 - 000000006BC48918, R12 - 0000000000000004, R13 - 0000000000000000 R14 - 8000000000000003, R15 - 0000000000000007 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 0000000080000013, CR2 - 0000000000000000, CR3 - 000000006BC4E000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 0000000065D9D6A0 0000000000000047, LDTR - 0000000000000000 IDTR - 0000000063064018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 000000006BDCDD50 Any idea how this case can be handled without exception in the environment = where dynamic unplug of a network device which performs UNDI operation. Thanks Siva