]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/DxeHttpLib/DxeHttpLib.h
MdeModulePkg/DxeHttpLib: Fix the incorrect return status if URI port is invalid
[mirror_edk2.git] / MdeModulePkg / Library / DxeHttpLib / DxeHttpLib.h
index 0d0ad3d8ffc34b5d5d1196552402d92b73ed6f18..5ee0fdc61985086bbcf7dfc6adcbfa2eb1f0c68d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 Header file for HttpLib.\r
 \r
-  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>\r
   (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>\r
 \r
   This program and the accompanying materials\r
@@ -50,6 +50,9 @@ Header file for HttpLib.
 #define   HTTP_URI_FIELD_PORT             7\r
 #define   HTTP_URI_FIELD_MAX              8\r
 \r
+#define   HTTP_URI_PORT_MIN_NUM           0\r
+#define   HTTP_URI_PORT_MAX_NUM           65535\r
+\r
 //\r
 // Structure to store the parse result of a HTTP URL.\r
 //\r