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 436AC740039 for ; Tue, 25 Jul 2023 04:17:40 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Z0iZh4EqcLZyz3cqu/fuD1gYh4Zxp5DjnR3rOxks8eo=; c=relaxed/simple; d=groups.io; h=X-Received:X-Received:X-IronPort-AV:X-IronPort-AV:X-Received:X-ExtLoop1:X-IronPort-AV:X-IronPort-AV:X-Received:X-Received:X-Received:X-Received:ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:X-Received:X-Received:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:x-ms-publictraffictype:x-ms-traffictypediagnostic:x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck:x-ms-exchange-antispam-relay:x-microsoft-antispam-message-info:x-ms-exchange-antispam-messagedata-chunkcount:x-ms-exchange-antispam-messagedata-0:MIME-Version:X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-Network-Message-Id:X-MS-Exchange-CrossTenant-originalarrivaltime:X-MS-Exchange-CrossTenant-fromentityheader:X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype:X-MS-Exchange-CrossTenant-userprincipalname:X-MS-Exchange-Transport-CrossTenantHeaders Stamped:X-OriginatorOrg:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:X-Gm-Message-State:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1690258658; v=1; b=Zy2dskcpN2uI1ngPMWKVUP2EkjilX7oyHDyyS37c1KC37D/JQDItCBM0Bxfr1H7MNUPYqbmo rl1Rsi0VvnXyT2OmT/WGfZuIlliHeQoLDGzHDsUPpR+IU9AEvuk4VJ1PGW0nCM53XpFYSHkkke1 UTIXquGHobQ2zkvJ2LcXJtts= X-Received: by 127.0.0.2 with SMTP id BainYY7687511xhO7GXv39xX; Mon, 24 Jul 2023 21:17:38 -0700 X-Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.13440.1690258658013082065 for ; Mon, 24 Jul 2023 21:17:38 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10781"; a="365071100" X-IronPort-AV: E=Sophos;i="6.01,229,1684825200"; d="scan'208";a="365071100" X-Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jul 2023 21:17:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10781"; a="796005836" X-IronPort-AV: E=Sophos;i="6.01,229,1684825200"; d="scan'208";a="796005836" X-Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga004.fm.intel.com with ESMTP; 24 Jul 2023 21:17:36 -0700 X-Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Mon, 24 Jul 2023 21:17:36 -0700 X-Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Mon, 24 Jul 2023 21:17:36 -0700 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Mon, 24 Jul 2023 21:17:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VC0NX4dtSe6lZG+VBt85DW/sT5Uh6/eKPmxZFLwYlhMRgLc0JbNPoaVw13o51QCUhenhPZlgmpeFbVBbBG4vQhmJpr+u7MjwKFIlTWcyGtO6eyi4gtu5IEUuG1Tb/DWndig5DGoRudiBD93c838lkf8jM0vuP1nwtZA1iivfB3DCTfG3MRnE690nvoDG2N3F1uwWnRqdE+dpduePEAK27b3eQxbmRfcnSzVFsNk3+io0QggLHfAJDx4DveZCsGvl/e2qBEoRuO7forxZ5xeJ3EjcxMEpydzkpWzYFS6+OzTDPh5NUHsgjSAYohp+NnlR9+P0mO2YrCvHTeAPT+GtuA== 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=53Hn8IFog97h3Qyt5CUatDp6zkuRzrqxFI8nntvIahc=; b=GVPB7/+7OKwtY4aB3d2nWiY7QE3SWHjo9/QjJ1nVmpklAs2zxoWrYju0FHbycEEd8q1JoKxJ1J1cAhWOJMHlYVlzh3cSBUqh4a/JZ9+/lOlrv4w5wDZjbpaq8uu3nsUwf/8vVnBqYKO3oF1jkpTLF/S5lkFNh8AhsWbDl/eXuda3Rs9Dcmw1aOr0TUawd4UP/bbHfS/CMW9a4hMMljPb+TUqLxFsg+KsSPBRp0+Yrzx+qyFsGBi1drZ9fknhGOb0PCD2XmvWe5MbbpY3UKOZwaPnSVlTF2IvMqiS6kqEKAORFKg8WdEagL0kU/OqBaWOOnJtq2WocSYT3vPCrBGB9A== 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 LV3PR11MB8553.namprd11.prod.outlook.com (2603:10b6:408:1b8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6609.32; Tue, 25 Jul 2023 04:17:33 +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.6609.032; Tue, 25 Jul 2023 04:17:33 +0000 From: "Saloni Kasbekar" To: "Li, Yi1" , "devel@edk2.groups.io" CC: "Otcheretianski, Andrei" , "Clark-williams, Zachary" 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/J5owg Date: Tue, 25 Jul 2023 04:17:33 +0000 Message-ID: References: <20230721051759.7021-1-yi1.li@intel.com> In-Reply-To: <20230721051759.7021-1-yi1.li@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BY5PR11MB3861:EE_|LV3PR11MB8553:EE_ x-ms-office365-filtering-correlation-id: 82df447d-350c-4bfd-3a30-08db8cc611ab x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: x+r8QZx8d/iGjcnllCZ98Ur+QFYepMk4X+PpG0JooRGR5Tv+zFkV/qjiQQZit+cS+sTVAeO/hboQrNvBHUDRqVO8nOCBY9B1rz3xqYe9EfyN/vhEEbja8dT+ZQE6OyXzC6ogz065pcmTNIfGlyty3lmxlRk6qqM1LmMEpLUwH4QmcRjM53zwS3JIcfgsR3i1ZrEOcRRCFziZSxhfMEd67dyiOGIlA9ngBUdVmt1ncnFbyg5emQwMF1iT9HqZRbkaoRH8SA2k/Nk1pmRXffhnYzNq73HLtilCM7U4nLqTQRaVq5TFb/6Mp4qMERYdW+RhxkUVyMWU4LG4th7KmPjXf4N8ESQ4DbZpUbOOEodaV+Srl+c+ZesMoDtgk1VaanVWaBlQGbVh1E8tlj/hr+Q55SUg8biZZvINqkGzv5pY+AouewBhVW+H4YOYMq/JgDQXnABcZzY2deC/o8yybboaN04m1fT40cThJj33IlVgRZUm2dPEQI3UmDW0mH15S5tnOjLZwcoYN72Ei0FAx8psY4U8vYXv0RO23qQ4LR/ewZX2dymzV1QSIq6zo9xsYNU5HfpXCKmNZPnx+WWYayUPqFf//1tdVleTJWJtNXhuRNI= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?VAsfKXgtWd7LV5IGvnzhqy2O+gfqLwir/bSCjxGnyeWTZXiqzei8m6mKuoAi?= =?us-ascii?Q?BhWgl4iinXjYLFU92nGP84geYjPApXPZ40p892wbjdowGLuOhzfS7lhNffUr?= =?us-ascii?Q?biSoVgFu8vt4dzPGzwH2bXAAmbRRK+swnXqOjXEOWRWoMRzCwg/YtaIfhLkY?= =?us-ascii?Q?cwL1TOGbcW1BlnQr0nh2p2VojjdeVx7E+zchUjgsrUAqDD+MEgGH5/rhvZeR?= =?us-ascii?Q?dUKe4kitokDZCJTboJgK0BRFXi1sOgct0oiMPwcyTmctH1FJywrkzdI65vYZ?= =?us-ascii?Q?58mGfK1Y0lBkwWKGw0a0nHAKTL/kuWnE4GIa8mLimXeeoa6UoDAXs0qPVcga?= =?us-ascii?Q?B5ijg8QSA7cv6W/s7llbvQXjHjuwQGEnnRvz37IsjioUtCloXleAhGYpz/eA?= =?us-ascii?Q?6jS/t6eYU0WSMsHE0gskxjIEvOYtET9uO/zpkhmNNNBUByUAiMaxMlItsWEh?= =?us-ascii?Q?Ym18EBHaoIXEK+miGiy4QQQUgRBPnilNrv0284c+hSAHb07BOhHC/+QYSgTm?= =?us-ascii?Q?SwEt/y4/QH42rAq9HDClTFqHbfruG7msZ6tiZMHEll8o0wkyqnqfE9ZvSO5R?= =?us-ascii?Q?C91LTH6gnWsXX4BoTjmVLFxG3DhL0D9ET0eXf79bAZnDHDMA9o/+gbG8lAZG?= =?us-ascii?Q?iqW2XKuC4pdIA3yTt9BZj12JUxTsIHZJQDByUe6BCFcdJIX1Vt/5ICPEbOyw?= =?us-ascii?Q?4HyQeqeA3PEw+v5P9BbqIBafBSqy+yBtQ27/2nsjpdE9rlzEK+29VNX7kIPd?= =?us-ascii?Q?A1mVMRkhQqe5xO7vvHRE6IHIgCp8VWdiOpKZewvOmPABpeoDWyQ6PqmGEvW6?= =?us-ascii?Q?mo5oX/YD1afKNwVqZoFttX2tsPoh7p06Hj3LwnqrKKOxKozUm7/keHHpzBHO?= =?us-ascii?Q?Q2peSKtStHpZ5gWrY1P4rgmoHz4dpWQNiVNrUO83D/Z8BSC6OprwY3ICJJ9f?= =?us-ascii?Q?lOgBO6qOKW22TJ1WM+iyYbaJKoOg32YmDoaIEPGl7LCt18RGa4TSWsm5GSt3?= =?us-ascii?Q?7HuELunEbwYlPaPdMeEx4PKOglv4OxmtB07FJXg2ez7Z5TVT2Nhfk1FyYPSg?= =?us-ascii?Q?edjK/mBQKlNFlg70x6xazhjhPV8EMNTGAqP50ryXQpV3pJaVMAjoZlTFnnjL?= =?us-ascii?Q?9fcxeGzaCCcTATvCumIqfcAZKzEod4rYgBO5CtIkdq7nqd7aqJyzdjsLuHGD?= =?us-ascii?Q?nQzzkUituV5aQNJ+Hk36OwtS4fSreTny3jGWd9w4y0MxTIwEQ5Hg7jkL++6m?= =?us-ascii?Q?7waM7OBnEGGJ1BVh+DThWT8BYKG80n36aYPkJ9FjLPk61EhXI8w+o9/9ujyX?= =?us-ascii?Q?wTCn8Z6Dn1ydeJRcI4ckdzF137IWZw7M8cA8wrp7hTq9KEJBm4Ae5uvlMvNh?= =?us-ascii?Q?RsTwmM99hGZzbMUTlhJLbL+tPOPM/19XJ1nVp775QTPa28bu/TkhNHL0Yjkj?= =?us-ascii?Q?WLbRWBRhQ3N7k7oz54u09//kRcY5785gTn72FnM6uZBBvqyxetpS2nQK+hNj?= =?us-ascii?Q?u5t1jICNia/yJsURTvtPKBJ6etZFvNnEAqGTt9AvhdyZj+XY5vTwePb+7DT6?= =?us-ascii?Q?aQoFqAA9l9KckuruWRqozv31KgnvMdl0LJQWa+pO?= 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: 82df447d-350c-4bfd-3a30-08db8cc611ab X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2023 04:17:33.0676 (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: 3qZqMuN6TR2U3uzU3ZomiYVRNb3aNPpMjHWavXTjbSjEYBjPwoZOm9pEtiA7T0JngaCvR0IfVxa89/3h9ppeZNHuvwOVRzdO6GHA3hsX2kw= X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR11MB8553 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: NMExdOZC27NZSShUWyGXU6Yux7686176AA= 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=Zy2dskcp; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") 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 (#107217): https://edk2.groups.io/g/devel/message/107217 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-