]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpDxe/HttpProto.c
NetworkPkg/HttpDxe: Fix various typos
[mirror_edk2.git] / NetworkPkg / HttpDxe / HttpProto.c
index bacfbc99584711c85f1a35422db1795c835c142d..3c7c6ff9f0ce616d7e40d60126ccdd7d7d96bdbb 100644 (file)
@@ -301,7 +301,7 @@ HttpCreateTcpConnCloseEvent (
 \r
   if (!HttpInstance->LocalAddressIsIPv6) {\r
     //\r
-    // Create events for variuos asynchronous operations.\r
+    // Create events for various asynchronous operations.\r
     //\r
     Status = gBS->CreateEvent (\r
                     EVT_NOTIFY_SIGNAL,\r
@@ -330,7 +330,7 @@ HttpCreateTcpConnCloseEvent (
 \r
   } else {\r
     //\r
-    // Create events for variuos asynchronous operations.\r
+    // Create events for various asynchronous operations.\r
     //\r
     Status = gBS->CreateEvent (\r
                     EVT_NOTIFY_SIGNAL,\r
@@ -618,7 +618,7 @@ HttpCloseTcpRxEvent (
 }\r
 \r
 /**\r
-  Intiialize the HTTP_PROTOCOL structure to the unconfigured state.\r
+  Initialize the HTTP_PROTOCOL structure to the unconfigured state.\r
 \r
   @param[in, out]  HttpInstance         Pointer to HTTP_PROTOCOL structure.\r
   @param[in]       IpVersion            Indicate us TCP4 protocol or TCP6 protocol.\r
@@ -1636,7 +1636,7 @@ ON_ERROR:
   @param[in]  Map                The container of either user's transmit or receive\r
                                  token.\r
   @param[in]  Item               Current item to check against.\r
-  @param[in]  Context            The Token to check againist.\r
+  @param[in]  Context            The Token to check against.\r
 \r
   @retval EFI_ACCESS_DENIED      The token or event has already been enqueued in IP\r
   @retval EFI_SUCCESS            The current item isn't the same token/event as the\r
@@ -1669,7 +1669,7 @@ HttpTokenExist (
 \r
   @param[in]  Map                The container of Tx4Token or Tx6Token.\r
   @param[in]  Item               Current item to check against.\r
-  @param[in]  Context            The Token to check againist.\r
+  @param[in]  Context            The Token to check against.\r
 \r
   @retval EFI_NOT_READY          The HTTP message is still queued in the list.\r
   @retval EFI_SUCCESS            The HTTP message has been sent out.\r
@@ -1695,11 +1695,11 @@ HttpTcpNotReady (
 }\r
 \r
 /**\r
-  Transmit the HTTP or HTTPS mssage by processing the associated HTTP token.\r
+  Transmit the HTTP or HTTPS message by processing the associated HTTP token.\r
 \r
   @param[in]  Map                The container of Tx4Token or Tx6Token.\r
   @param[in]  Item               Current item to check against.\r
-  @param[in]  Context            The Token to check againist.\r
+  @param[in]  Context            The Token to check against.\r
 \r
   @retval EFI_OUT_OF_RESOURCES   Failed to allocate resources.\r
   @retval EFI_SUCCESS            The HTTP message is queued into TCP transmit\r
@@ -1774,7 +1774,7 @@ HttpTcpTransmit (
 \r
   @param[in]  Map                The container of Rx4Token or Rx6Token.\r
   @param[in]  Item               Current item to check against.\r
-  @param[in]  Context            The Token to check againist.\r
+  @param[in]  Context            The Token to check against.\r
 \r
   @retval EFI_SUCCESS            The HTTP response is queued into TCP receive\r
                                  queue.\r
@@ -1800,7 +1800,7 @@ HttpTcpReceive (
 \r
   @param[in]       HttpInstance     The HTTP instance private data.\r
   @param[in, out]  SizeofHeaders    The HTTP header length.\r
-  @param[in, out]  BufferSize       The size of buffer to cacahe the header message.\r
+  @param[in, out]  BufferSize       The size of buffer to cache the header message.\r
   @param[in]       Timeout          The time to wait for receiving the header packet.\r
 \r
   @retval EFI_SUCCESS               The HTTP header is received.\r
@@ -1880,7 +1880,7 @@ HttpTcpReceiveHeader (
 \r
         if (!HttpInstance->IsRxDone) {\r
           //\r
-          // Cancle the Token before close its Event.\r
+          // Cancel the Token before close its Event.\r
           //\r
           Tcp4->Cancel (HttpInstance->Tcp4, &Rx4Token->CompletionToken);\r
           gBS->CloseEvent (Rx4Token->CompletionToken.Event);\r
@@ -1980,7 +1980,7 @@ HttpTcpReceiveHeader (
 \r
         if (!HttpInstance->IsRxDone) {\r
           //\r
-          // Cancle the Token before close its Event.\r
+          // Cancel the Token before close its Event.\r
           //\r
           Tcp6->Cancel (HttpInstance->Tcp6, &Rx6Token->CompletionToken);\r
           gBS->CloseEvent (Rx6Token->CompletionToken.Event);\r