nghttpx: Fix priority bits

This commit is contained in:
Tatsuhiro Tsujikawa 2014-02-19 22:52:00 +09:00
parent 30b3855194
commit 6320bd8926
2 changed files with 2 additions and 2 deletions

View File

@ -569,7 +569,7 @@ void Http2Session::remove_stream_data(StreamData *sd)
} }
int Http2Session::submit_request(Http2DownstreamConnection *dconn, int Http2Session::submit_request(Http2DownstreamConnection *dconn,
uint8_t pri, int32_t pri,
const nghttp2_nv *nva, size_t nvlen, const nghttp2_nv *nva, size_t nvlen,
const nghttp2_data_provider *data_prd) const nghttp2_data_provider *data_prd)
{ {

View File

@ -65,7 +65,7 @@ public:
void remove_stream_data(StreamData *sd); void remove_stream_data(StreamData *sd);
int submit_request(Http2DownstreamConnection *dconn, int submit_request(Http2DownstreamConnection *dconn,
uint8_t pri, const nghttp2_nv *nva, size_t nvlen, int32_t pri, const nghttp2_nv *nva, size_t nvlen,
const nghttp2_data_provider *data_prd); const nghttp2_data_provider *data_prd);
int submit_rst_stream(int32_t stream_id, nghttp2_error_code error_code); int submit_rst_stream(int32_t stream_id, nghttp2_error_code error_code);