From: Luca Niccolini Date: Wed, 25 Oct 2017 21:28:42 +0000 (-0700) Subject: rework reads/writes X-Git-Tag: v2017.10.30.00~16 X-Git-Url: http://plrg.eecs.uci.edu/git/?p=folly.git;a=commitdiff_plain;h=d4f016d523b37264822d044760637b2423b7c1d2 rework reads/writes Summary: the current implementation had problems with scheduling reads and writes and it would sometimes get stuck when transfering large chunks of data here I am restructuring the code to look more like the one in HTTPSession session flow control is not implemented yet really, it's coming next Depends on: D6048238 Reviewed By: afrind Differential Revision: D6048238 fbshipit-source-id: ae601e771154a7f1a669a58a6e05c9e3720e7017 --- diff --git a/folly/io/async/EventBase.cpp b/folly/io/async/EventBase.cpp index 352e41f5..b0e1eda6 100644 --- a/folly/io/async/EventBase.cpp +++ b/folly/io/async/EventBase.cpp @@ -553,7 +553,6 @@ bool EventBase::runInEventBaseThread(Func fn) { if (inRunningEventBaseThread()) { runInLoop(std::move(fn)); return true; - } try {