Azure / DotNetty

DotNetty project – a port of netty, event-driven asynchronous network application framework
Other
4.09k stars 977 forks source link

DotNetty Server use HttpClient throw Timeout Exception #146

Closed ArvinHsieh closed 8 years ago

ArvinHsieh commented 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

nayato commented 8 years ago

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.