From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 85ED1D80186 for ; Wed, 6 Sep 2023 22:41:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=8GDm3yMNoYKRpblLoz1rAM9UOHrtX7F4GuQGV1AgurE=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1694040079; v=1; b=h8mAJxrlnTCIFGoV2lVgALcazAC/YVCMSSU6zXcF35zxHleZg/g8vFbcPAaGC6Et9WaOLA/C rOCmf7S44tp4Mu3/HXLWfyPKKmCnOiOfsWfqXfnAnXS9ThpyYzo283au9iWpg8DbgXfFr+Z77mU lnOHbcs+dtBqzPPmJmiUQ2vY= X-Received: by 127.0.0.2 with SMTP id z8H8YY7687511xKFV1mLY6p0; Wed, 06 Sep 2023 15:41:19 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) by mx.groups.io with SMTP id smtpd.web10.31.1694040078034433807 for ; Wed, 06 Sep 2023 15:41:18 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="367424174" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="367424174" X-Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2023 15:41:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10825"; a="776806975" X-IronPort-AV: E=Sophos;i="6.02,233,1688454000"; d="scan'208";a="776806975" X-Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga001.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Sep 2023 15:41:17 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.32; Wed, 6 Sep 2023 15:41:16 -0700 X-Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Wed, 6 Sep 2023 15:41:16 -0700 X-Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Wed, 6 Sep 2023 15:41:16 -0700 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.104) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Wed, 6 Sep 2023 15:41:15 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ijc6TlAeevb0Xd3cz4NusXva9Sc20F/ChrZsl/+jTJtYvsWHjOwogIKxgy3bugzi2NGE2u7DA5y+ZCf8+RHKtCIW3eGt6dv1fsh+gBHgkpTYqDAXfOPLEEAWY+eBzSgTUQsmrUgBe92+mHjmFPXOF2V4NJMbVM5v9tvYByIVs7kIr9hGLfkAMKBSEOKhsPYMzdOPsb/+3sVR7+JVG50NM6qGmAbO3AO5X0led6l/zB16945jSOgEP/rnl1YLknHUpVfdX9sbR0KrhbNyD0hgZ1bVYGgCSzSpxlVcpMzk6plfpM653GVRBo6Gj60ioZjJBZzteSwvUEFp34Nc1yjJFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=0D3SO0yM4U3PsemGgw5kk/UbhwN/a9cFAtk1C2GSFHE=; b=kdJuy6a+x3my5653Yls/ll9RrQ3B0DhXOLoSpn2Ox5HpJ9AREe+U6TUAJE/m2pHpYnSfWmRuTUgJoOzLO30Uq0lVkxPc9fknK2QCsLMYADJN8QBGs4ShCbZ/Q4EMd5l5T4VJyF9c18ito4ImEUhn5uhnAyvGXt6xqzm0EEzQaDrYq2Qth+Ia8LDWgnIPfVfFSFh4Skfal7Rz3T73l24qJDIRX0WSSNUQ77cEC4wzTamXWWzx4G+CfPaeQd7qaoTKWPKi8N3SH8F2s17B0Qxe6m9H0nG5cECAt50r97rgGQAHDgEVIhcy8jIDi3ceq7PEBedFGAFQNCXDTzOBs5X4JQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none X-Received: from BY5PR11MB3861.namprd11.prod.outlook.com (2603:10b6:a03:18d::13) by SA3PR11MB7536.namprd11.prod.outlook.com (2603:10b6:806:320::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6745.34; Wed, 6 Sep 2023 22:41:14 +0000 X-Received: from BY5PR11MB3861.namprd11.prod.outlook.com ([fe80::1cbb:35cf:6019:5aeb]) by BY5PR11MB3861.namprd11.prod.outlook.com ([fe80::1cbb:35cf:6019:5aeb%7]) with mapi id 15.20.6745.034; Wed, 6 Sep 2023 22:41:13 +0000 From: "Saloni Kasbekar" To: "Li, Yi1" , "devel@edk2.groups.io" , "Kinney, Michael D" CC: "Otcheretianski, Andrei" , "Clark-williams, Zachary" , "Luo, Heng" Subject: Re: [edk2-devel] [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP window scaling Thread-Topic: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP window scaling Thread-Index: AQHZu5LEJMuQSGNgu0GsWl69dDkJ96/J5owggEPhBoCAAOelEA== Date: Wed, 6 Sep 2023 22:41:13 +0000 Message-ID: References: <20230721051759.7021-1-yi1.li@intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR11MB3861:EE_|SA3PR11MB7536:EE_ x-ms-office365-filtering-correlation-id: 959ecd9a-4757-41ec-30f9-08dbaf2a5ffe x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: WiWLdgB/8DwPplHTshbMS+x3u5qmDLOjbP/OE+eb2nP0a+SnXx3G0aY4JQSDFgKJMbMbAcNVxj6IIJtVzOwX+6/SR5CbQebMZVJCu3mz16T+GwfOY4zFsUivUxpx4ksCo1fUG2aGtOuQMu7e4XubykOo60U5EMsZkIRG5K5ydZc7yAjb1MSP6cggIKM99pioUp8lLwHkryBTMMYvPtIlH4v/sgS44ejqT9MlQaxf0W3NeNzmFqcuBJCLZotzDHBmc112L611ROtwNtz34jhvPnOV8Q6sX5eSXRPnzBm5RiBdfQOczSBUaR9V2v3Mm3tswc8dU+pRgTHFVtHNyN6DjZUO861v4Nghl9odpUtgTFkHwqb8c4eONizn8MCqGfbPB9xG5Z2lZid4XSX8ev+s847zkbcIcDOJ+lLWJ1kkxq1Kg3OfZXI91eeFpbt+QvCOsmIqQu66sIWy1G42XctiivpFKA0M619XtVPaAdJaPgzlTXATygId7ctHzpqjSvVJwHnov9pcBCrKhjeqgS5uLOyFm/r7nKi/6eilXtmvG4XMErf6PdkEhCTa0dOn8vq4OcaBkVFImUGhA9tK7YDfYp7SWEkcWuI0HPkZb6Yy9kk= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?w7qwV39xFx+Qz+Ob8yoXblxvESE3Y5OtIS7MlLVMBESy1N+Xb3+AoRcgm/k/?= =?us-ascii?Q?gxVwt65UFKi4S9qBiTfvXcOJuJcEbdArc8+0vzqWuhYFzquEZm8qCFloEd+5?= =?us-ascii?Q?IDj8FhWo6ypfDdZr+6Pd3KbbCRxkRLoKA/sPxZkGRuot+02Jev0pCOobuo6C?= =?us-ascii?Q?xyqgwqf4jmKqFdF8JOsV0K+FXtderQzGkZbERhSTeQc4llj7rqkTYHNl0FI6?= =?us-ascii?Q?4UtJf0E4/3770g1Ncil6OzySA1AZyHweBf/yKx8M5vRyxglUPLwb6//s7wd4?= =?us-ascii?Q?tQHM7nDXVSA7xATOLh7qszzvvx5X9A8zrLaU94G/UZIPFNNGr4ezkx9p/bjy?= =?us-ascii?Q?EaXZ2SSk+XUiLQSVByzFwvJNABeF7ByG+PY071fINLFo6ad2eR7lViugmnfJ?= =?us-ascii?Q?P/FJd2VBjTUVnF6jXd4lZ+IECWKHsmubMNv9aN3FPrOSQEHbsH4xdTlUQbWx?= =?us-ascii?Q?7k27g15mOHQSnhr1yR82bq0FR1QhyEBycMnoCiU7FVcXbzs6IZOToZ08hPDd?= =?us-ascii?Q?qUjL1Pphd3oRKayHafWS5BC7AcvXPizd8k2ru5/CZxM8oV2PqMsqKXKVPvyb?= =?us-ascii?Q?AFCsrH3f6LSzSLh4X/vScDH9S4598AO+t5sm+5ajeueu9qi6uFPAltxaiK5p?= =?us-ascii?Q?mH6WfKGvnANhQDQSuW8HQ1q2JTsKTForMOZtXDCm73eGvyU+SzUgtAO/2B8k?= =?us-ascii?Q?PejosQTNRRyAV65OF2j6/+pJP79zzQML6Bgk0RSfiNxfW5rEja5B2+0z59qk?= =?us-ascii?Q?bKFM7+FtopwEki5mU0kEbMdB3H5zZvHgRN6HlU6esYcqMrWUc6lE1E8fcHYY?= =?us-ascii?Q?zUO4IsgUiHVDMnFBOJOyZf2GINW95CPZW/C4UGDCxshs93AqL6HeQSCW+NH7?= =?us-ascii?Q?y+zD2eZTf58hVPXz+4E/RthRgFCXQy0N7zO+oSLoZil74D+c3JqCtppClcmH?= =?us-ascii?Q?rVpOC/29a7yWJYNCbd1K3gvPHIEe4dhlEBijyUZxa/AObKL0x3BhBmAuiGTk?= =?us-ascii?Q?8NFel2H/Ef3fx0exedFKvUkU3m6H2iAW3WEVrd9Eu+T8uXU6QnKayJqIQzjv?= =?us-ascii?Q?uKVbCnG6JpeF913ljfqrqQoLa3nR4tDrjAduB30CW1ga+DLl6h1H20wC+uVg?= =?us-ascii?Q?Cf3nNwgXDKK7C2W3FociZjBh02GUQPZnw8g03SegVS0VVH0aBcDEvHu1bs+S?= =?us-ascii?Q?up54+RnMUip0f/3TR6f3Xu6BRuyUiZRIw7N5VeBTBcNVHXWBnYqZ0TZfyk7w?= =?us-ascii?Q?e3StUYvcJr2qEnkbSqd9yCUrX3rAawYXw7DaZivcNW1s2YdM8yBDCAqFwqPN?= =?us-ascii?Q?uJKveH23CYFM3hKy9YTGz4aAF7gxcIHETL6/JHjckquCnZHTQtmFseJ8gf5t?= =?us-ascii?Q?oYG8R3AIHL26l6MB2QpY7gG6P+XCIhVBMe8QHo2YkZUzExfbo3waCvVd6sT9?= =?us-ascii?Q?AnffIhaQbzVDIU0GGxfchx1yin1z1qYGfmeofof9XRJpBJMiSspNyvOlMXc0?= =?us-ascii?Q?UkP0LXF0BFcUSLiVQDOBqbkukSOHnpfMnToMsLceqHhlANY6wpg+rrKPpILf?= =?us-ascii?Q?LnZZ889yyilZPVoORz6BBiCMkZ0T3Au5KOzQrH9w?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR11MB3861.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 959ecd9a-4757-41ec-30f9-08dbaf2a5ffe X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Sep 2023 22:41:13.6845 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: tQc/l22ynm0GMTNUMS4yFc0FIzaJZ4xeoQVOiMEyYVg9db+gRgvFsskKWrFACo33lfemgDga5MISbPFIiChvgTFv9E3CtPzJO5mfkbJHWZk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR11MB7536 X-OriginatorOrg: intel.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,saloni.kasbekar@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: PDtfEElgvpZNFM1hybtA7g3Ex7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=h8mAJxrl; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Mike, Could you help us merge the patch? Thanks, Saloni -----Original Message----- From: Li, Yi1 =20 Sent: Wednesday, September 6, 2023 1:52 AM To: Kasbekar, Saloni ; devel@edk2.groups.io Cc: Otcheretianski, Andrei ; Clark-william= s, Zachary ; Luo, Heng Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP w= indow scaling Hi Saloni and Zachary, can you help to merge this patch? It got reviewed-b= y but not check-in, Thanks! -----Original Message----- From: Kasbekar, Saloni =20 Sent: Tuesday, July 25, 2023 12:18 PM To: Li, Yi1 ; devel@edk2.groups.io Cc: Otcheretianski, Andrei ; Clark-william= s, Zachary Subject: RE: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP w= indow scaling Reviewed-by: Saloni Kasbekar -----Original Message----- From: Li, Yi1 =20 Sent: Thursday, July 20, 2023 10:18 PM To: devel@edk2.groups.io Cc: Li, Yi1 ; Otcheretianski, Andrei ; Kasbekar, Saloni ; Clark-williams= , Zachary Subject: [PATCH] NetworkPkg: Increase HTTP buffer size and enable TCP windo= w scaling REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4505 This gives something like ~3 fold throughput boost. Signed-off-by: Andrei Otcheretianski Cc: Saloni Kasbekar Cc: Zachary Clark-williams --- NetworkPkg/HttpBootDxe/HttpBootClient.h | 2 +- NetworkPkg/HttpDxe/HttpProto.c | 48 +++++++++++++------------ NetworkPkg/HttpDxe/HttpProto.h | 2 +- 3 files changed, 27 insertions(+), 25 deletions(-) diff --git a/NetworkPkg/HttpBootDxe/HttpBootClient.h b/NetworkPkg/HttpBootD= xe/HttpBootClient.h index 2fba713679..86a28bc91a 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootClient.h +++ b/NetworkPkg/HttpBootDxe/HttpBootClient.h @@ -10,7 +10,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent #ifndef __E= FI_HTTP_BOOT_HTTP_H__ #define __EFI_HTTP_BOOT_HTTP_H__ =20 -#define HTTP_BOOT_BLOCK_SIZE 1500 +#define HTTP_BOOT_BLOCK_SIZE 32000 #define HTTP_USER_AGENT_EFI_HTTP_BOOT "UefiHttpBoot/1.0" #define HTTP_BOOT_AUTHENTICATION_INFO_MAX_LEN 255 =20 diff --git a/NetworkPkg/HttpDxe/HttpProto.c b/NetworkPkg/HttpDxe/HttpProto.= c index 33ae622c3f..7dfb82dd2e 100644 --- a/NetworkPkg/HttpDxe/HttpProto.c +++ b/NetworkPkg/HttpDxe/HttpProto.c @@ -1073,18 +1073,19 @@ HttpConfigureTcp4 ( Tcp4AP->ActiveFlag =3D TRUE; IP4_COPY_ADDRESS (&Tcp4AP->RemoteAddress, &HttpInstance->RemoteAddr); =20 - Tcp4Option =3D Tcp4CfgData->ControlOption; - Tcp4Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; - Tcp4Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; - Tcp4Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; - Tcp4Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; - Tcp4Option->DataRetries =3D HTTP_DATA_RETRIES; - Tcp4Option->FinTimeout =3D HTTP_FIN_TIMEOUT; - Tcp4Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; - Tcp4Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; - Tcp4Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; - Tcp4Option->EnableNagle =3D TRUE; - Tcp4CfgData->ControlOption =3D Tcp4Option; + Tcp4Option =3D Tcp4CfgData->ControlOption; + Tcp4Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; + Tcp4Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; + Tcp4Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; + Tcp4Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; + Tcp4Option->DataRetries =3D HTTP_DATA_RETRIES; + Tcp4Option->FinTimeout =3D HTTP_FIN_TIMEOUT; + Tcp4Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; + Tcp4Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; + Tcp4Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; + Tcp4Option->EnableNagle =3D TRUE; + Tcp4Option->EnableWindowScaling =3D TRUE; + Tcp4CfgData->ControlOption =3D Tcp4Option; =20 if ((HttpInstance->State =3D=3D HTTP_STATE_TCP_CONNECTED) || (HttpInstance->State =3D=3D HTTP_STATE_TCP_CLOSED)) @@ -1156,17 +115= 7,18 @@ HttpConfigureTcp6 ( IP6_COPY_ADDRESS (&Tcp6Ap->StationAddress, &HttpInstance->Ipv6Node.Local= Address); IP6_COPY_ADDRESS (&Tcp6Ap->RemoteAddress, &HttpInstance->RemoteIpv6Addr)= ; =20 - Tcp6Option =3D Tcp6CfgData->ControlOption; - Tcp6Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; - Tcp6Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; - Tcp6Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; - Tcp6Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; - Tcp6Option->DataRetries =3D HTTP_DATA_RETRIES; - Tcp6Option->FinTimeout =3D HTTP_FIN_TIMEOUT; - Tcp6Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; - Tcp6Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; - Tcp6Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; - Tcp6Option->EnableNagle =3D TRUE; + Tcp6Option =3D Tcp6CfgData->ControlOption; + Tcp6Option->ReceiveBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; + Tcp6Option->SendBufferSize =3D HTTP_BUFFER_SIZE_DEAULT; + Tcp6Option->MaxSynBackLog =3D HTTP_MAX_SYN_BACK_LOG; + Tcp6Option->ConnectionTimeout =3D HTTP_CONNECTION_TIMEOUT; + Tcp6Option->DataRetries =3D HTTP_DATA_RETRIES; + Tcp6Option->FinTimeout =3D HTTP_FIN_TIMEOUT; + Tcp6Option->KeepAliveProbes =3D HTTP_KEEP_ALIVE_PROBES; + Tcp6Option->KeepAliveTime =3D HTTP_KEEP_ALIVE_TIME; + Tcp6Option->KeepAliveInterval =3D HTTP_KEEP_ALIVE_INTERVAL; + Tcp6Option->EnableNagle =3D TRUE; + Tcp6Option->EnableWindowScaling =3D TRUE; =20 if ((HttpInstance->State =3D=3D HTTP_STATE_TCP_CONNECTED) || (HttpInstance->State =3D=3D HTTP_STATE_TCP_CLOSED)) diff --git a/Net= workPkg/HttpDxe/HttpProto.h b/NetworkPkg/HttpDxe/HttpProto.h index 620eb391= 58..012f1f4b46 100644 --- a/NetworkPkg/HttpDxe/HttpProto.h +++ b/NetworkPkg/HttpDxe/HttpProto.h @@ -37,7 +37,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // #define HTTP_TOS_DEAULT 8 #define HTTP_TTL_DEAULT 255 -#define HTTP_BUFFER_SIZE_DEAULT 65535 +#define HTTP_BUFFER_SIZE_DEAULT 0x200000 #define HTTP_MAX_SYN_BACK_LOG 5 #define HTTP_CONNECTION_TIMEOUT 60 #define HTTP_DATA_RETRIES 12 -- 2.31.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#108344): https://edk2.groups.io/g/devel/message/108344 Mute This Topic: https://groups.io/mt/100271527/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-