|
while (getStream().read() >= 0) { |
Put a breakpoint here to find that this is the cause of a ~10 latency in responses being sent out on my system. I comment this out and things seem to run swimmingly, with near instant replies and no other adverse behavior. Is there a more intelligent way to do this instead of a byte by byte read (which I think this is)?