Using VariableValue instead of Variable

This commit is contained in:
Felipe Zimmerle
2018-10-11 10:01:32 -03:00
parent 2d87fc5184
commit 5ed5377432

View File

@@ -1593,7 +1593,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:");