RxNetty icon indicating copy to clipboard operation
RxNetty copied to clipboard

bug?: use io thread,response nothing --- rxnetty 0.4.5-rc.2

Open chen56 opened this issue 10 years ago • 1 comments

windows 8.1 rxnetty 0.4.5-rc.2 (0.4.4 is fine) rxjava-1.0.4

what happen? gist code!

other question, can you help me:

  • how to use thread in rxnetty?
  • when calls response.write/request.getContent()/response.close()/response.flash(), must do it in RequestHandler#handle thread?
  • when and how to close/flash?
  • close().doOnTerminate() Sometimes without being called?

chen56 avatar Jan 24 '15 09:01 chen56

I'm witnessing the opposite behaviour with ServerSentEvents:

  • On 0.4.4 the final onComplete event is not passed to the response object to signal the end of the event flow (clien never receives onComplete), if I'm not using the event loop thread.
  • On 0.4.5-rc.2 I can use any Scheduler and It works fine.

imperatorx avatar Feb 04 '15 20:02 imperatorx