Using VariableValue instead of Variable

This commit is contained in:
Felipe Zimmerle 2018-07-20 15:48:33 -03:00
parent 99dea67039
commit 7d32beb6ad

View File

@ -1546,7 +1546,7 @@ std::string Transaction::toBuf() {
a.append(" HTTP/"); a.append(" HTTP/");
a.append(m_httpVersion); a.append(m_httpVersion);
a.append("\n"); a.append("\n");
std::vector<const collection::Variable *> l; std::vector<const VariableValue *> l;
m_variableRequestHeaders.resolve(&l); m_variableRequestHeaders.resolve(&l);
for (auto h : l) { for (auto h : l) {
size_t pos = strlen("REQUEST_HEADERS:"); size_t pos = strlen("REQUEST_HEADERS:");