/[Apache-SVN]
ViewVC logotype

Revision 1804543


Jump to revision: Previous Next
Author: kotkov
Date: Wed Aug 9 15:25:32 2017 UTC (6 years, 10 months ago)
Changed paths: 1
Log Message:
On the '1.3.x-fix-outgoing-request-err' branch: Unset the hit_eof flag
before reading from the pending output buckets.

With the current approach where a hold_open aggregate bucket is used to
check for the end of the outgoing data, the "hit_eof" flag can also be
inadvertently set when peeking at this bucket request_or_data_pending().
That would cause the actual read error (read_status) to be silently
ignored if the flag is has been set before the call to read_iovec().

Note: in trunk, the new serf_pump__write() function does the same thing.

* outgoing.c
  (write_to_connection): Unset the hit_eof flag before calling read_iovec().


Changed paths

Path Details
Directoryserf/branches/1.3.x-fix-outgoing-request-err/outgoing.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26