axw/pushy — Issue #28: InputStream from RemoteSocket.getInputStream functions differently to java.net.Socket's
Author: axw
Created: 2012-02-07 15:01:00+00:00
State: open
Labels: Fix Released, Medium

With an InputStream returned from java.net.Socket, a call to InputStream.read(byte[] buf, int offset, int length) may return less than the requested number of bytes. A RemoteSocket's InputStream will block until all "length" bytes are available.