NetworkPkg/HttpDxe: Fix various typos

Fix various typos in comments and documentation.

Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Antoine Coeur <coeur@gmx.fr>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-39-philmd@redhat.com>
This commit is contained in:
Antoine Coeur
2020-02-07 02:07:51 +01:00
committed by mergify[bot]
parent c36b7b5114
commit ba3b642d5b
7 changed files with 36 additions and 36 deletions

View File

@@ -188,7 +188,7 @@ EfiHttpConfigure (
} else {
//
// Reset all the resources related to HttpInsance.
// Reset all the resources related to HttpInstance.
//
HttpCleanProtocol (HttpInstance);
HttpInstance->State = HTTP_STATE_UNCONFIGED;
@@ -756,7 +756,7 @@ HttpCancelTokens (
if (!HttpInstance->LocalAddressIsIPv6) {
if (Wrap->TcpWrap.Rx4Token.CompletionToken.Event != NULL) {
//
// Cancle the Token before close its Event.
// Cancel the Token before close its Event.
//
HttpInstance->Tcp4->Cancel (HttpInstance->Tcp4, &Wrap->TcpWrap.Rx4Token.CompletionToken);
@@ -768,7 +768,7 @@ HttpCancelTokens (
} else {
if (Wrap->TcpWrap.Rx6Token.CompletionToken.Event != NULL) {
//
// Cancle the Token before close its Event.
// Cancel the Token before close its Event.
//
HttpInstance->Tcp6->Cancel (HttpInstance->Tcp6, &Wrap->TcpWrap.Rx6Token.CompletionToken);
@@ -956,7 +956,7 @@ HttpBodyParserCallback (
@param[in] Wrap Pointer to HTTP token's wrap data.
@retval EFI_SUCCESS Allocation succeeded.
@retval EFI_OUT_OF_RESOURCES Failed to complete the opration due to lack of resources.
@retval EFI_OUT_OF_RESOURCES Failed to complete the operation due to lack of resources.
@retval EFI_NOT_READY Can't find a corresponding Tx4Token/Tx6Token or
the EFI_HTTP_UTILITIES_PROTOCOL is not available.
@@ -1284,7 +1284,7 @@ HttpResponseWorker (
}
}
//
// Return since we aready received required data.
// Return since we already received required data.
//
Status = EFI_SUCCESS;
goto Exit;