We need uncorkWithoutSending
This commit is contained in:
@@ -123,6 +123,12 @@ protected:
|
||||
getLoopData()->corkedSocket = this;
|
||||
}
|
||||
|
||||
void uncorkWithoutSending() {
|
||||
if (isCorked()) {
|
||||
getLoopData()->corkedSocket = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
/* Cork this socket. Only one socket may ever be corked per-loop at any given time */
|
||||
void cork() {
|
||||
/* Extra check for invalid corking of others */
|
||||
|
||||
Reference in New Issue
Block a user