nghttpx: Fix crash with HTTP/2 downstream

This commit is contained in:
Tatsuhiro Tsujikawa 2014-04-03 19:14:05 +09:00
parent 22c88af1ab
commit 2a49e164c8
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@ int Http2DownstreamConnection::push_request_headers()
nva.push_back(http2::make_nv_ll("x-forwarded-proto", "http"));
}
} else {
nva.push_back(http2::make_nv_ls("x-forwarded-proto", scheme.c_str()));
nva.push_back(http2::make_nv_ls("x-forwarded-proto", scheme));
}
}