\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
\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
}\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
@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
\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
}\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
\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
\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
\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
\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