]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpBootDxe/HttpBootClient.h
NetworkPkg: Use Http11 definitions in HttpDxe and HttpBootDxe
[mirror_edk2.git] / NetworkPkg / HttpBootDxe / HttpBootClient.h
index 2dfafab93681de84b59f329004d118a802fab7fc..b929fa7dc29329daee69b94ecc5f6d882f4dd718 100644 (file)
@@ -2,6 +2,7 @@
   Declaration of the boot file download function.\r
 \r
 Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
+(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 This program and the accompanying materials are licensed and made available under \r
 the terms and conditions of the BSD License that accompanies this distribution.  \r
 The full text of the license may be found at\r
@@ -16,11 +17,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define __EFI_HTTP_BOOT_HTTP_H__\r
 \r
 #define HTTP_BOOT_REQUEST_TIMEOUT            5000      // 5 seconds in uints of millisecond.\r
-#define HTTP_BOOT_BLOCK_SIZE                 1024\r
+#define HTTP_BOOT_BLOCK_SIZE                 1500\r
 \r
-#define HTTP_FIELD_NAME_USER_AGENT           "User-Agent"\r
-#define HTTP_FIELD_NAME_HOST                 "Host"\r
-#define HTTP_FIELD_NAME_ACCEPT               "Accept"\r
 \r
 \r
 #define HTTP_USER_AGENT_EFI_HTTP_BOOT        "UefiHttpBoot/1.0"\r
@@ -41,7 +39,7 @@ typedef struct {
 typedef struct {\r
   LIST_ENTRY                 Link;            // Link to the CacheList in driver's private data.\r
   EFI_HTTP_REQUEST_DATA      *RequestData;\r
-  HTTP_IO_RESOPNSE_DATA      *ResponseData;   // Not include any message-body data.\r
+  HTTP_IO_RESPONSE_DATA      *ResponseData;   // Not include any message-body data.\r
   UINTN                      EntityLength;\r
   LIST_ENTRY                 EntityDataList;  // Entity data (message-body)\r
 } HTTP_BOOT_CACHE_CONTENT;\r