maxBackpressure of 0 should always mean disabled
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
/* Skip sending and report success if we are over the limit of maxBackpressure */
|
/* Skip sending and report success if we are over the limit of maxBackpressure */
|
||||||
if (webSocketContextData->maxBackpressure < getBufferedAmount()) {
|
if (webSocketContextData->maxBackpressure && webSocketContextData->maxBackpressure < getBufferedAmount()) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user