diff --git a/vendor/ehs/httprequest.cpp b/vendor/ehs/httprequest.cpp index dfc5b4d6b3e..fd7075a2f7d 100644 --- a/vendor/ehs/httprequest.cpp +++ b/vendor/ehs/httprequest.cpp @@ -464,7 +464,9 @@ HttpRequest::HttpParseStates HttpRequest::ParseData ( std::string & irsData ///< if ( sName == "Transfer-Encoding" && sValue == "chunked" ) { +#ifdef EHS_DEBUG fprintf ( stderr, "EHS DOES NOT SUPPORT CHUNKED ENCODING. Send an email to xaxxon@slackworks.com and tell him you want chunked encoding (or send a patch)\n" ); +#endif nCurrentHttpParseState = HTTPPARSESTATE_INVALIDREQUEST; }