nghttpx: Fix typo

This commit is contained in:
Tatsuhiro Tsujikawa 2014-02-19 22:53:33 +09:00
parent 6320bd8926
commit 3c96041c43
3 changed files with 5 additions and 5 deletions

View File

@ -678,7 +678,7 @@ void Downstream::set_priority(int32_t pri)
priority_ = pri;
}
int32_t Downstream::get_priorty() const
int32_t Downstream::get_priority() const
{
return priority_;
}

View File

@ -56,7 +56,7 @@ public:
void set_stream_id(int32_t stream_id);
int32_t get_stream_id() const;
void set_priority(int32_t pri);
int32_t get_priorty() const;
int32_t get_priority() const;
void pause_read(IOCtrlReason reason);
int resume_read(IOCtrlReason reason);
void force_resume_read();

View File

@ -403,10 +403,10 @@ int Http2DownstreamConnection::push_request_headers()
nghttp2_data_provider data_prd;
data_prd.source.ptr = this;
data_prd.read_callback = http2_data_read_callback;
rv = http2session_->submit_request(this, downstream_->get_priorty(),
rv = http2session_->submit_request(this, downstream_->get_priority(),
nva.data(), nva.size(), &data_prd);
} else {
rv = http2session_->submit_request(this, downstream_->get_priorty(),
rv = http2session_->submit_request(this, downstream_->get_priority(),
nva.data(), nva.size(), nullptr);
}
if(rv != 0) {
@ -532,7 +532,7 @@ bool Http2DownstreamConnection::get_output_buffer_full()
int Http2DownstreamConnection::on_priority_change(int32_t pri)
{
int rv;
if(downstream_->get_priorty() == pri) {
if(downstream_->get_priority() == pri) {
return 0;
}
downstream_->set_priority(pri);