Skip to content

Commit

Permalink
Fix: EHS Print debug warning for unsupported chunked encoding only in…
Browse files Browse the repository at this point in the history
… debug mode (PR #3939)
  • Loading branch information
CArg22 authored Jan 9, 2025
1 parent ef9829f commit e5e0a68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vendor/ehs/httprequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected] and tell him you want chunked encoding (or send a patch)\n" );
#endif
nCurrentHttpParseState = HTTPPARSESTATE_INVALIDREQUEST;

}
Expand Down

0 comments on commit e5e0a68

Please sign in to comment.