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 0A319210C1B9E for ; Wed, 25 Jul 2018 02:28:59 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4DB3682055; Wed, 25 Jul 2018 15:03:21 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4082A8204A; Wed, 25 Jul 2018 15:03:21 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS; Wed, 25 Jul 2018 15:03:21 +0530 (IST) Received: from VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5]) by Venus2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b%14]) with mapi id 14.03.0248.002; Wed, 25 Jul 2018 14:58:54 +0530 From: Sivaraman Nainar To: "Ye, Ting" , Laszlo Ersek , "edk2-devel@lists.01.org" Thread-Topic: [edk2] reg: HTTP Request Failure over Internet Thread-Index: AdQjRfAWnSCx4+HvRV6Kq9SvrqNFLf//hc4A//41h0D//FOIIA== Date: Wed, 25 Jul 2018 09:28:54 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.84.81] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1817-8.2.0.1013-23990.005 X-TM-AS-Result: No--17.622-5.0-31-10 X-imss-scan-details: No--17.622-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1817-8.2.1013-23990.005 X-TMASE-Result: 10--17.621800-10.000000 X-TMASE-MatchedRID: 6otD/cJAac1jDV//SvkH3k3dRRsh/h6ywJjn8yqLU6K13HaVceMXUqe7 nmhJA6kzTuYGkXJDi8jRi4mCIuNUJllI6xHHUEo5ma6DzXaohvMS12tj9Zvd84PwsVfJeRq11fc e4C9pfzLUVzrVUIa+HUpY97kEFGEI/hT35Pu956hkDU/SFO0V7lF5adRR2Ej1tpFrxGBtFVDnNj FOgqAt5MRM8R9ToUYScmFtbNDqkisjC5wW0aMJWLMjW/sniEQKCt4iaV1DkEMbVUVEY6U/r4DLN jPWeFqkHaiGb5vNTTwR5SmdCrQGiOY7NbYhCSEsqbg9uWhLYLd1k+gP1XamtJsoi2XrUn/Jzz3j ehzeneyJSt7i5EtAR7xAi7jPoeEQftwZ3X11IV0= X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0 Subject: Re: reg: HTTP Request Failure over Internet X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2018 09:29:01 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Ting: Please find the patch for reference. Index: HttpProto.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- HttpProto.c +++ HttpProto.c @@ -622,12 +622,20 @@ Status =3D HttpInstance->Tcp4->Configure (HttpInstance->Tcp4, Tcp4CfgDat= a); if (EFI_ERROR (Status)) { DEBUG ((EFI_D_ERROR, "HttpConfigureTcp4 - %r\n", Status)); return Status; } =20 + HttpInstance->Tcp4->Routes ( + HttpInstance->Tcp4, + FALSE, + &HttpInstance->RemoteAddr, + &Tcp4AP->SubnetMask, + &HttpInstance->RouterAddr + ); + =20 Status =3D HttpCreateTcp4ConnCloseEvent (HttpInstance); if (EFI_ERROR (Status)) { return Status; } =20 Status =3D HttpCreateTcp4TxEvent (Wrap); -Siva -----Original Message----- From: Ye, Ting [mailto:ting.ye@intel.com]=20 Sent: Wednesday, July 25, 2018 1:36 PM To: Laszlo Ersek; Sivaraman Nainar; edk2-devel@lists.01.org Subject: RE: [edk2] reg: HTTP Request Failure over Internet Hi Siva, I didn't receive your patch either. Thanks for reporting the issue, we will= try to reproduce it firstly. Thanks, Ting -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Lasz= lo Ersek Sent: Tuesday, July 24, 2018 8:43 PM To: Sivaraman Nainar ; edk2-devel@lists.01.org Subject: Re: [edk2] reg: HTTP Request Failure over Internet On 07/24/18 14:05, Sivaraman Nainar wrote: > Hello all, >=20 > When an application tried to download the remote file over internet with = the HTTP Get Request it getting failed. If we try via the Intranet then app= lication downloads the target file. >=20 > The remote file is available in the Apache server. With the attached patc= h the download works fine in Internet and Intranet. >=20 > Could you review the solution and feedback? The edk2-devel list software does not reflect attachments to subscribers. While I disagree with that practice in general -- it breaks conversations w= here people justifiedly post small attachments, such as PNG screenshots, co= mpressed log files and such --, for posting patches specifically, please us= e git-format-patch and git-send-email. The patch should be in the body of t= he email (please do not copy&paste the patch though; that is guaranteed not= to work -- please use the git tools). Official guidelines: https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-Development-Pr= ocess Personal ones from yours truly: https://github.com/tianocore/tianocore.github.io/wiki/Laszlo's-unkempt-git-= guide-for-edk2-contributors-and-maintainers Thanks, Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel