In EC case, When GET object requested, proxy-server always makes a log
line "Client disconnected on read" even though the request succeeded.
That is because ECAppIter class doesn't maintain a bunch of backend
stream when closing the app_iter. It will cause unfortunately
GeneratorExit on backend stream ResumingGetter.
This patch fixes to set non_client_disconnected to propagate the state
to the backend streams when the range iteration stopped successful.
Reviewed: https:/ /review. openstack. org/199043 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=17efa343c60 5d0361b3f423696 babbab3f3d972d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 17efa343c605d03 61b3f423696babb ab3f3d972d
Author: Kota Tsuyuzaki <email address hidden>
Date: Mon Jul 6 13:21:40 2015 -0700
Fix EC GET backend stream iteration state
In EC case, When GET object requested, proxy-server always makes a log
line "Client disconnected on read" even though the request succeeded.
That is because ECAppIter class doesn't maintain a bunch of backend
stream when closing the app_iter. It will cause unfortunately
GeneratorExit on backend stream ResumingGetter.
This patch fixes to set non_client_ disconnected to propagate the state
to the backend streams when the range iteration stopped successful.
Co-Authored-By: Clay Gerrard <email address hidden>
Change-Id: I77af9807816bea 1444d66534a17e2 a210bcf09f8
Closes-Bug: #1472201