nghttpx: Remove unused IOControl::set_lim
This commit is contained in:
parent
2003be8dc5
commit
37c01a0a4d
|
@ -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_) {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue