DotNetty icon indicating copy to clipboard operation
DotNetty copied to clipboard

DotNetty Server use HttpClient throw Timeout Exception

Open ArvinHsieh opened this issue 10 years ago • 1 comments

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

ArvinHsieh avatar Jul 26 '16 20:07 ArvinHsieh

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.

nayato avatar Aug 12 '16 22:08 nayato