Browse Source

handle incorrect address

pull/98/head
orignal 10 years ago
parent
commit
7405675f7a
  1. 5
      HTTPServer.cpp

5
HTTPServer.cpp

@ -726,6 +726,11 @@ namespace util @@ -726,6 +726,11 @@ namespace util
}
destination = *addr;
}
else
{
SendReply ("<html>Unexpected address " + address + "</html>", 404);
return;
}
}
SendToDestination (destination, buf, len);

Loading…
Cancel
Save