You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Due to the nature of Pipelines as simple binary pipes, all Transport adapters assemble a standard message frame whether or not the underlying transport signals length, EoM, etc.
if(buffer.Length<Length+MESSAGEFRAMESIZE){pipereader.AdvanceTo(buffer.Start,buffer.End);continue;}//Don't have a complete message yet. Tell the pipe that we've evaluated up to the current buffer end, but cannot yet consume it.
//TODO UNIT TEST- this should work now too!!! Need to evaluate if there is more than one packet in the pipe including edges like part of the length bytes are there but not all.
}
Doesn't properly handle the exit condition and could result in an infinite loop if partial data is sent and the read is completed.
rsocket-net/RSocket.Core/RSocketProtocol.Handler.cs
Lines 28 to 42 in 1960d65
Doesn't properly handle the exit condition and could result in an infinite loop if partial data is sent and the read is completed.
See https://github.com/davidfowl/DocsStaging/blob/master/Pipelines.md#code-samples for more information.
The text was updated successfully, but these errors were encountered: