elasticsearch/elasticsearch — pull request #2139 by jprante (2012-08-04 01:03:22+00:00)
Title: adding wrong port exception for misguided HTTP requests

Hi kimchy,

I think it is useful to add a special wrong port handling to netty transport, so people who accidentally connect with a HTTP client to port 9300 will receive a small diagnostic message.

Cheers,

Jörg