mirror of https://github.com/acidanthera/audk.git
NetworkPkg/HttpDxe: Handle the HttpVersionUnsupported in the HttpConfigData
v2: * Refine the patch by changing the '==' to '>='. Cc: Ye Ting <ting.ye@intel.com> Cc: Jin Eric <eric.jin@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com> Reviewed-by: Ye Ting <ting.ye@intel.com>
This commit is contained in:
parent
0795920568
commit
79de8c79cd
|
@ -151,6 +151,10 @@ EfiHttpConfigure (
|
|||
|
||||
if (HttpConfigData != NULL) {
|
||||
|
||||
if (HttpConfigData->HttpVersion >= HttpVersionUnsupported) {
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
//
|
||||
// Now configure this HTTP instance.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue