Yicheng Qin 78af793338 client: return context canceled error correctly
If the body is closed to stop watching, it will ignore the error from
reading body and return context error.

Before this PR, the cancel when watching always returns error `read tcp
127.0.0.1:57824: use of closed network connection`. After this PR, it
will return expected context canceled error.
2015-08-06 14:52:04 -07:00
..
2015-06-15 18:18:50 -04:00
2015-06-15 18:18:50 -04:00
2015-06-03 10:02:37 -07:00
2015-04-17 10:57:01 -04:00
2015-04-06 13:49:43 -07:00
2015-07-22 15:19:34 -07:00
2015-07-21 12:53:20 -07:00
2015-07-21 12:53:20 -07:00
2015-04-17 10:57:01 -04:00
2015-04-17 10:57:01 -04:00