nghttpx: Remove unused IOControl::set_lim

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-02 11:18:02 +09:00
parent 2003be8dc5
commit 37c01a0a4d
2 changed files with 0 additions and 3 deletions

View File

@ -37,8 +37,6 @@ IOControl::IOControl(RateLimit *lim) : lim_(lim), rdbits_(0) {}
IOControl::~IOControl() {}
void IOControl::set_lim(RateLimit *lim) { lim_ = lim; }
void IOControl::pause_read(IOCtrlReason reason) {
rdbits_ |= reason;
if (lim_) {

View File

@ -41,7 +41,6 @@ class IOControl {
public:
IOControl(RateLimit *lim);
~IOControl();
void set_lim(RateLimit *lim);
void pause_read(IOCtrlReason reason);
// Returns true if read operation is enabled after this call
bool resume_read(IOCtrlReason reason);