ReactiveX/RxJava — pull request #1647 by benjchristensen (2014-08-31 04:10:04+00:00)
Title: Operator Scan Backpressure Fix

Problem 1) The initial value was being emitted before subscription which caused issues with request/producer state, particularly if filter() was used to skip that initial value and then called request(1) before the real request had been sent.
Problem 2) The initial value was not accounted for by the request so it was sending 1 more value than requested. It now modifies the request to account for it.