summaryrefslogtreecommitdiffstats
path: root/contrib/http-parser/http_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/http-parser/http_parser.c')
-rw-r--r--contrib/http-parser/http_parser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/http-parser/http_parser.c b/contrib/http-parser/http_parser.c
index 2984471d4..0e75d964b 100644
--- a/contrib/http-parser/http_parser.c
+++ b/contrib/http-parser/http_parser.c
@@ -1653,7 +1653,7 @@ size_t http_parser_execute (http_parser *parser,
/* Here we call the headers_complete callback. This is somewhat
* different than other callbacks because if the user returns 1, we
* will interpret that as saying that this message has no body. This
- * is needed for the annoying case of recieving a response to a HEAD
+ * is needed for the annoying case of receiving a response to a HEAD
* request.
*
* We'd like to use CALLBACK_NOTIFY_NOADVANCE() here but we cannot, so
@@ -1733,7 +1733,7 @@ size_t http_parser_execute (http_parser *parser,
&& parser->content_length != ULLONG_MAX);
/* The difference between advancing content_length and p is because
- * the latter will automaticaly advance on the next loop iteration.
+ * the latter will automatically advance on the next loop iteration.
* Further, if content_length ends up at 0, we want to see the last
* byte again for our message complete callback.
*/
@@ -2162,7 +2162,7 @@ http_parser_parse_url(const char *buf, size_t buflen, int is_connect,
case s_dead:
return 1;
- /* Skip delimeters */
+ /* Skip delimiters */
case s_req_schema_slash:
case s_req_schema_slash_slash:
case s_req_server_start: