[nginx] HTTP/2: fixed spelling.

Valentin Bartenev vbart at nginx.com
Tue Oct 27 20:17:34 UTC 2015


details:   http://hg.nginx.org/nginx/rev/66ee1c5cb6aa
branches:  
changeset: 6284:66ee1c5cb6aa
user:      Valentin Bartenev <vbart at nginx.com>
date:      Tue Oct 27 23:16:35 2015 +0300
description:
HTTP/2: fixed spelling.

diffstat:

 src/http/v2/ngx_http_v2.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 86b5f146b121 -r 66ee1c5cb6aa src/http/v2/ngx_http_v2.c
--- a/src/http/v2/ngx_http_v2.c	Tue Oct 27 23:16:29 2015 +0300
+++ b/src/http/v2/ngx_http_v2.c	Tue Oct 27 23:16:35 2015 +0300
@@ -1664,7 +1664,7 @@ ngx_http_v2_state_process_header(ngx_htt
     h->key.len = header->name.len;
     h->key.data = header->name.data;
 
-    /* TODO Optimization: precalculate hash and hadnler for indexed headers. */
+    /* TODO Optimization: precalculate hash and handler for indexed headers. */
     h->hash = ngx_hash_key(h->key.data, h->key.len);
 
     h->value.len = header->value.len;
@@ -1818,7 +1818,7 @@ ngx_http_v2_state_priority(ngx_http_v2_c
     if (depend == h2c->state.sid) {
         ngx_log_error(NGX_LOG_INFO, h2c->connection->log, 0,
                       "client sent PRIORITY frame for stream %ui "
-                      "with incorrect dependancy", h2c->state.sid);
+                      "with incorrect dependency", h2c->state.sid);
 
         node = ngx_http_v2_get_node_by_id(h2c, h2c->state.sid, 0);
 



More information about the nginx-devel mailing list