Browse Source

update comment

pull/557/head
Jeff Becker 9 years ago
parent
commit
9eaa51442f
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
  1. 2
      HTTP.cpp

2
HTTP.cpp

@ -72,7 +72,7 @@ namespace http {
std::size_t pos_p = 0; /* < current parse position */ std::size_t pos_p = 0; /* < current parse position */
std::size_t pos_c = 0; /* < work position */ std::size_t pos_c = 0; /* < work position */
if (url.at(0) == '/' && url.find("/http://") == 0) { if (url.at(0) == '/' && url.find("/http://") == 0) {
/* specical case */ /* special case for i2p.rocks inproxy */
pos_p ++; pos_p ++;
} }
if(url.at(0) != '/' || pos_p > 0) { if(url.at(0) != '/' || pos_p > 0) {

Loading…
Cancel
Save