HttpClient get 请求长数据 获取的数据不完整

HttpRequest* request = new HttpRequest();
CCLOG("%s",url.c_str());
request->setUrl(url.c_str());
request->setRequestType(HttpRequest::Type::GET);
// write the post data
request->setResponseCallback(CC_CALLBACK_2(EMHttpClient::onHttpRequestCompleted, this));
request->setTag(method.c_str());
HttpClient::getInstance()->setTimeoutForConnect(1500);
HttpClient::getInstance()->sendImmediate(request);
HttpClient::getInstance()->enableCookies(NULL);
request->release();
HttpClient get 请求长数据 获取的数据不完整 在请求回得数据 短 可以完整请求 如果请求的数据很长 则请求回来的数据不完整

cocos2dx 3.2 版本
望大神指点

std::vector *m_responseData =response->getResponseData();
std::string responseText(m_responseData->begin(),m_responseData->end());
// long data_length = data.size();
// std::stringstream oss;
// for (int i = 0;i<data_length;++i)
// {
// oss<<(data);
// }
// std::string json=oss.str();
CCLOG("%s",responseText.c_str());

查了下 m_responseData 数据完整
只是在for循环的时候 发生数据不完整 或者是 std::string responseText(m_responseData->begin(),m_responseData->end());
不完整
求大神指点 *

已解决 根本不是数据长不长的问题 是我吧数据传到lua中 数组是 从 下标1开始的