Browse Source

* HTTPProxy.{cpp,h} : move & sort headers

pull/503/head
hagen 8 years ago
parent
commit
99398bf0da
  1. 1
      AddressBook.cpp
  2. 1
      ClientContext.h
  3. 8
      HTTPProxy.cpp
  4. 7
      HTTPProxy.h

1
AddressBook.cpp

@ -5,7 +5,6 @@
#include <fstream> #include <fstream>
#include <chrono> #include <chrono>
#include <condition_variable> #include <condition_variable>
#include <boost/lexical_cast.hpp>
#include <openssl/rand.h> #include <openssl/rand.h>
#include "Base.h" #include "Base.h"
#include "util.h" #include "util.h"

1
ClientContext.h

@ -6,6 +6,7 @@
#include <memory> #include <memory>
#include <boost/asio.hpp> #include <boost/asio.hpp>
#include "Destination.h" #include "Destination.h"
#include "I2PService.h"
#include "HTTPProxy.h" #include "HTTPProxy.h"
#include "SOCKS.h" #include "SOCKS.h"
#include "I2PTunnel.h" #include "I2PTunnel.h"

8
HTTPProxy.cpp

@ -4,6 +4,13 @@
#include <boost/regex.hpp> #include <boost/regex.hpp>
#include <string> #include <string>
#include <atomic> #include <atomic>
#include <memory>
#include <set>
#include <boost/asio.hpp>
#include <mutex>
#include "I2PService.h"
#include "Destination.h"
#include "HTTPProxy.h" #include "HTTPProxy.h"
#include "util.h" #include "util.h"
#include "Identity.h" #include "Identity.h"
@ -351,6 +358,5 @@ namespace proxy
{ {
return std::make_shared<HTTPProxyHandler> (this, socket); return std::make_shared<HTTPProxyHandler> (this, socket);
} }
} }
} }

7
HTTPProxy.h

@ -1,13 +1,6 @@
#ifndef HTTP_PROXY_H__ #ifndef HTTP_PROXY_H__
#define HTTP_PROXY_H__ #define HTTP_PROXY_H__
#include <memory>
#include <set>
#include <boost/asio.hpp>
#include <mutex>
#include "I2PService.h"
#include "Destination.h"
namespace i2p namespace i2p
{ {
namespace proxy namespace proxy

Loading…
Cancel
Save