Closed ArvinHsieh closed 8 years ago
I create a server to listen client request. But... When i used HttpClient in the ServerHandler > ChannelRead. This will throw HttpTimeout Exception.
sample source: https://drive.google.com/open?id=0B40daTESrAXwSVBqV3JhZTc1Q3c
It is likely you're blocking in event loop which is highly recommended to avoid. Try making it async or offload to a standard thread pool.
I create a server to listen client request. But... When i used HttpClient in the ServerHandler > ChannelRead. This will throw HttpTimeout Exception.
sample source: https://drive.google.com/open?id=0B40daTESrAXwSVBqV3JhZTc1Q3c