summaryrefslogtreecommitdiff
path: root/src/HttpProxyRequestCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpProxyRequestCommand.cc')
-rw-r--r--src/HttpProxyRequestCommand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpProxyRequestCommand.cc b/src/HttpProxyRequestCommand.cc
index 0bf66558..b9f660d8 100644
--- a/src/HttpProxyRequestCommand.cc
+++ b/src/HttpProxyRequestCommand.cc
@@ -33,7 +33,7 @@ HttpProxyRequestCommand::HttpProxyRequestCommand(int cuid, Request* req,
HttpProxyRequestCommand::~HttpProxyRequestCommand() {}
-bool HttpProxyRequestCommand::executeInternal(Segment segment) {
+bool HttpProxyRequestCommand::executeInternal(Segment& segment) {
socket->setBlockingMode();
HttpConnection httpConnection(cuid, socket, req, e->option);
httpConnection.sendProxyRequest();