-
Notifications
You must be signed in to change notification settings - Fork 115
Closed
Description
this library is great!
when i testing against my server, the library cannot detect the boundary.
after some debugging, i noticed our server adds a extra new line in response.
i changed the source a little and can perfectly run:
private static string DetectBoundary(RebufferableBinaryReader reader)
{
// Presumably the boundary is --|||||||||||||| where -- is the stuff added on to
// the front as per the protocol and ||||||||||||| is the part we care about.
string line = null;
while (string.IsNullOrWhiteSpace(line))
{
line = reader.ReadLine();
}
//...
}Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or request