in read_headers (http_client.cpp):
ctx->m_needChunked = boost::iequals(value, U("chunked"));
Above statement will not always work because some site somehow inserts an additional space before the "chunked"
test:
www.cnn.com, "chunked"
news.cnet.com, " chunked"
A dummy workaround (didn't know how to easily trim):
ctx->m_needChunked = boost::iequals(value, U("chunked")); //original
if(!ctx->m_needChunked)
ctx->m_needChunked = boost::iequals(value, U(" chunked")); //additional check
This fixes the issue for this particular case (not sure if similar issue exist for other type of detection).
Comments: Hello My name is Binta, i read about you in this site and i decide to contact you for friendship hopeing that you will accept my request,if you accept my request ,please reply to my email address (bintaweah59@live.com) or send me your email so that i will send you my photo and more about me, i believe we can make good friends,let distance not be a barrier but lets love connect,because love is a bridge connect far distance to be close from Binta
ctx->m_needChunked = boost::iequals(value, U("chunked"));
Above statement will not always work because some site somehow inserts an additional space before the "chunked"
test:
www.cnn.com, "chunked"
news.cnet.com, " chunked"
A dummy workaround (didn't know how to easily trim):
ctx->m_needChunked = boost::iequals(value, U("chunked")); //original
if(!ctx->m_needChunked)
ctx->m_needChunked = boost::iequals(value, U(" chunked")); //additional check
This fixes the issue for this particular case (not sure if similar issue exist for other type of detection).
Comments: Hello My name is Binta, i read about you in this site and i decide to contact you for friendship hopeing that you will accept my request,if you accept my request ,please reply to my email address (bintaweah59@live.com) or send me your email so that i will send you my photo and more about me, i believe we can make good friends,let distance not be a barrier but lets love connect,because love is a bridge connect far distance to be close from Binta