소스 검색

Fix std::length_error when no_proxy is used

This is regression introduced in 8cada497.
Tatsuhiro Tsujikawa 11 년 전
부모
커밋
c659fe939d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/AbstractCommand.cc

+ 2 - 0
src/AbstractCommand.cc

@@ -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