Finish up the pausing code for the XML parsing. The primary change here is to defer the close/free of the parser until *both* the network is completed and the pending structures are empty.
Finish up the pausing code for the XML parsing. The primary change here is
to defer the close/free of the parser until *both* the network is
completed and the pending structures are empty.

Until I can complete some testing, this remains disabled.

* subversion/libsvn_ra_serf/util.c:
  (svn_ra_serf__pending_t): add NETWORK_EOF to indicate when the network
    has been fully-read.
  (HAS_PENDING_DATA): helper macro to see if there is pending content
  (svn_ra_serf__process_pending): add logic to determine if all the
    content has been consumed and processed. if so, then close up the
    parser and finish.
  (svn_ra_serf__handle_xml_parser): if pending data exists, then always
    append arriving network content into the pending structures. avoid
    closing and free'ing the parser if pending content exists. mark that
    the network has completed.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@1138171 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion