mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-23 16:05:00 +00:00
fixing a test issue
This commit is contained in:
parent
c7cff443be
commit
fc8198e854
@ -165,9 +165,12 @@ public class FrameGenerator
|
||||
// validate the close
|
||||
new CloseInfo(frame.getPayloadData(),true);
|
||||
}
|
||||
// copy payload
|
||||
buffer.put(frame.getPayloadData());
|
||||
|
||||
// copy payload
|
||||
if (frame.hasPayload())
|
||||
{
|
||||
buffer.put(frame.getPayloadData());
|
||||
}
|
||||
int positionPostPayload = buffer.position();
|
||||
|
||||
// mask it if needed
|
||||
|
Loading…
x
Reference in New Issue
Block a user