Ver Fonte

Fix std::length_error when no_proxy is used

This is regression introduced in 8cada497.
Tatsuhiro Tsujikawa há 11 anos atrás
pai
commit
c659fe939d
1 ficheiros alterados com 2 adições e 0 exclusões
  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