mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
Adding a simple GET HTTP Proxy
This commit is contained in:
parent
014e1c54eb
commit
d0a8cc933b
5 changed files with 366 additions and 2 deletions
4
i2p.cpp
4
i2p.cpp
|
@ -22,6 +22,7 @@
|
|||
#include "Tunnel.h"
|
||||
#include "NetDb.h"
|
||||
#include "HTTPServer.h"
|
||||
#include "HTTPProxy.h"
|
||||
#include "Garlic.h"
|
||||
#include "util.h"
|
||||
#include "Streaming.h"
|
||||
|
@ -157,6 +158,9 @@ int main( int argc, char* argv[] )
|
|||
i2p::garlic::routing.Start ();
|
||||
i2p::stream::StartStreaming ();
|
||||
|
||||
i2p::proxy::HTTPProxy httpProxy (i2p::util::config::GetArg("-httpproxyport", 4446));
|
||||
httpProxy.Start();
|
||||
|
||||
while (running)
|
||||
{
|
||||
//TODO Meeh: Find something better to do here.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue