Return BUFFER_UNDERFLOW if no source bytes were consumed.

... either during the handshake or after. With this change, we're
backward compatible with older versions of android. Note that newer
versions of apache-http rely on this behaviour.

bug: 18554122
Change-Id: I574c263e8df4a5f2396ac860608fe85cdbcdbb49
1 file changed
tree: 9898a3fbfe5d0165ba44898246aa025b77c1369f
  1. src/
  2. Android.mk
  3. build.gradle
  4. jarjar-rules.txt
  5. update_prebuilts.sh