Fix std::length_error when no_proxy is used

This is regression introduced in 8cada497.
pull/271/head
Tatsuhiro Tsujikawa 2014-07-22 23:18:52 +09:00
parent 8732a24433
commit c659fe939d
1 changed files with 2 additions and 0 deletions

View File

@ -713,6 +713,8 @@ bool inNoProxy(const std::shared_ptr<Request>& req, const std::string& noProxy)
std::string(e.first, e.second))) {
return true;
}
continue;
}
// TODO We don't resolve hostname here. More complete
// implementation is that we should first resolve