/[Apache-SVN]
ViewVC logotype

Revision 1716346


Jump to revision: Previous Next
Author: rhuijben
Date: Wed Nov 25 10:35:59 2015 UTC (8 years, 7 months ago)
Changed paths: 5
Log Message:
Don't retry reads of length 0 with success status until the end of time, while
reading from another bucket. Just return a read of 0 itself.

* buckets/fcgi_buckets.c
  (serf__bucket_fcgi_unframe_read_info): Return special error here.
  (serf_fcgi_unframe_read,
   serf_fcgi_unframe_peek): And fold it into success here.

* buckets/hpack_buckets.c
  (read_hpack_int): Return special error here...
  (hpack_read_bytes): ... and here.
  (serf_hpack_decode_read,
   serf_hpack_decode_peek): And fold it into success here.

* buckets/http2_frame_buckets.c
  (serf__bucket_http2_unframe_read_info): Return special error here.
  (serf_http2_unframe_read,
   serf_http2_unframe_read_iovec,
   serf_http2_unframe_peek): And fold it into success here.

* context.c
  (serf_error_string): Print new error.

* serf.h
  (SERF_ERROR_EMPTY_READ): Declare new error.


Changed paths

Path Details
Directoryserf/trunk/buckets/fcgi_buckets.c modified , text changed
Directoryserf/trunk/buckets/hpack_buckets.c modified , text changed
Directoryserf/trunk/buckets/http2_frame_buckets.c modified , text changed
Directoryserf/trunk/context.c modified , text changed
Directoryserf/trunk/serf.h modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26