Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client: do not timeout when wait is true
Current V2 watch waits by encoding URL with wait=true. When a client sets 'no-sync', it requests directly to proxy and the proxy redirects it by cloning the request object, which leads to cancel the original request when it times out and the cloned request gets closed prematurely. This fixes coreos#3894 by querying the original client request in order to not use context timeout when 'wait=true'.
- Loading branch information