Open viveksachdeva opened 7 years ago
Great! I'll take a look at this tomorrow
If you are curious about how close() behaves in our case, check out org.apache.http.impl.io.ChunkedInputStream.close() (which is wrapped by our entities EofSensorInputStream class). You can see it continues to read into a 2KB buffer on close, until EOF is reached.
This is a great start 👍 .. I agree with @jbornemann 's points as well.
https://github.com/TWCable/grabbit/commit/1ffe73f087204075e48901641abf0fb070d63b2a is merged, so this may help with your progress on this branch
Old PR https://github.com/TWCable/grabbit/pull/146 had conflicts..
This one takes care of stopping jobs at client end.