Two small fixes in the Query class:
* Use the "getContentLengthLong()" method to get the complete content length
(instead of the possibly truncated 32-bit length).
* Call the "QueryListener.failed()" method before we throw the QueryException
if the server itself returned a "not OK" status. This seemed to be an
oversight in the original code since every other place we throw we also
call this listener method.
|