diff --git a/lib/cf-h2-proxy.c b/lib/cf-h2-proxy.c index 3ad0878335..0a60ae47cd 100644 --- a/lib/cf-h2-proxy.c +++ b/lib/cf-h2-proxy.c @@ -1186,7 +1186,8 @@ static CURLcode cf_h2_proxy_shutdown(struct Curl_cfilter *cf, if(!ctx->sent_goaway) { rv = nghttp2_submit_goaway(ctx->h2, NGHTTP2_FLAG_NONE, 0, 0, - (const uint8_t *)"shutown", sizeof("shutown")); + (const uint8_t *)"shutdown", + sizeof("shutdown")); if(rv) { failf(data, "nghttp2_submit_goaway() failed: %s(%d)", nghttp2_strerror(rv), rv); diff --git a/lib/http2.c b/lib/http2.c index ec01628a8e..bd663fdfc8 100644 --- a/lib/http2.c +++ b/lib/http2.c @@ -2526,7 +2526,8 @@ static CURLcode cf_h2_shutdown(struct Curl_cfilter *cf, if(!ctx->sent_goaway) { rv = nghttp2_submit_goaway(ctx->h2, NGHTTP2_FLAG_NONE, ctx->local_max_sid, 0, - (const uint8_t *)"shutown", sizeof("shutown")); + (const uint8_t *)"shutdown", + sizeof("shutdown")); if(rv) { failf(data, "nghttp2_submit_goaway() failed: %s(%d)", nghttp2_strerror(rv), rv);