aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-10-27 23:16:35 +0300
committerValentin Bartenev <vbart@nginx.com>2015-10-27 23:16:35 +0300
commitedf30961e63a3e2ae04f2e6594d791e356a25771 (patch)
tree5a65d602304f5434dfb4305d77d4970ae831838b /src
parent5a8b212fd919533fdfedaae9f3e4759d4bdde35d (diff)
downloadnginx-edf30961e63a3e2ae04f2e6594d791e356a25771.tar.gz
nginx-edf30961e63a3e2ae04f2e6594d791e356a25771.zip
HTTP/2: fixed spelling.
Diffstat (limited to 'src')
-rw-r--r--src/http/v2/ngx_http_v2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c
index 10cb727f9..21c91cf5d 100644
--- a/src/http/v2/ngx_http_v2.c
+++ b/src/http/v2/ngx_http_v2.c
@@ -1664,7 +1664,7 @@ ngx_http_v2_state_process_header(ngx_http_v2_connection_t *h2c, u_char *pos,
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_connection_t *h2c, u_char *pos,
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);