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() {}
|
IOControl::~IOControl() {}
|
||||||
|
|
||||||
void IOControl::set_lim(RateLimit *lim) { lim_ = lim; }
|
|
||||||
|
|
||||||
void IOControl::pause_read(IOCtrlReason reason) {
|
void IOControl::pause_read(IOCtrlReason reason) {
|
||||||
rdbits_ |= reason;
|
rdbits_ |= reason;
|
||||||
if (lim_) {
|
if (lim_) {
|
||||||
|
|
|
@ -41,7 +41,6 @@ class IOControl {
|
||||||
public:
|
public:
|
||||||
IOControl(RateLimit *lim);
|
IOControl(RateLimit *lim);
|
||||||
~IOControl();
|
~IOControl();
|
||||||
void set_lim(RateLimit *lim);
|
|
||||||
void pause_read(IOCtrlReason reason);
|
void pause_read(IOCtrlReason reason);
|
||||||
// Returns true if read operation is enabled after this call
|
// Returns true if read operation is enabled after this call
|
||||||
bool resume_read(IOCtrlReason reason);
|
bool resume_read(IOCtrlReason reason);
|
||||||
|
|
Loading…
Reference in New Issue