mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
ensure fill is always called if needed by flush
Signed-off-by: Greg Wilkins <gregw@webtide.com>
This commit is contained in:
parent
bc78778f02
commit
38735f8457
@ -415,16 +415,17 @@ public class SslConnection extends AbstractConnection
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean filled = getFillInterest().fillable();
|
|
||||||
if (!filled && waiting_for_fill)
|
|
||||||
fill(BufferUtil.EMPTY_BUFFER);
|
|
||||||
/*
|
|
||||||
// Ensure a fill is always done if needed then wake up any fill interest
|
|
||||||
if (waiting_for_fill)
|
|
||||||
fill(BufferUtil.EMPTY_BUFFER);
|
|
||||||
getFillInterest().fillable();
|
getFillInterest().fillable();
|
||||||
*/
|
if (waiting_for_fill)
|
||||||
|
{
|
||||||
|
synchronized(_decryptedEndPoint)
|
||||||
|
{
|
||||||
|
waiting_for_fill = _flushState==FlushState.WAIT_FOR_FILL;
|
||||||
|
}
|
||||||
|
if (waiting_for_fill)
|
||||||
|
fill(BufferUtil.EMPTY_BUFFER);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
catch (Throwable e)
|
catch (Throwable e)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user