hagen
d9babda1b8
+ debian/i2pd.openrc (experimental)
9 years ago
hagen
ea8e1be294
* update default init-script : make --port optional
9 years ago
hagen
44eccd85fd
* HTTPServer.cpp :
...
* autorefresh for status page
* autoreturn to commands list
9 years ago
hagen
a62720b9d8
Merge branch 'new-proxy' into openssl
9 years ago
orignal
1a9422c3f9
send SetDateMessage
9 years ago
orignal
8622385e88
I2CPDestination added
9 years ago
hagen
d0ffaab339
* HTTPProxy:
...
* use new http classes instead homemade parser
* proper error handling for "address not found", "addresshelper" and "not .i2p domain" cases
* use std::vector instead uint8_t[] for buffers
* general code cleanup
9 years ago
hagen
347157b999
* HTTPProxy.cpp : direct use of parsed url parts in CreateHTTPRequest()
9 years ago
hagen
a9f3235fd3
* HTTPProxy.cpp : unwrap HandleStreamRequestComplete()
9 years ago
hagen
4098a5c08e
* HTTPProxy.cpp : rename variable
9 years ago
hagen
dba7a2ee4f
* HTTPProxy.cpp : HandleJumpServices() -> ExtractAddressHelper()
9 years ago
hagen
a5f49550b3
* HTTPProxy.cpp : unwrap AsyncSockRead()
9 years ago
hagen
5c9a69e0e8
* drop boost_regex from build deps
9 years ago
hagen
2bf32fb3fa
* HTTPProxy.cpp : kill ExtractRequest(), drop boost::regex
9 years ago
hagen
0de1e2c6fc
* HTTPProxy.cpp : extract IsI2PAddress() from class and generalize
9 years ago
hagen
61868d97c4
* HTTPProxy.cpp : migrate HTTPRequestFailed(), RedirectToJumpService() to new http classes
9 years ago
hagen
c994c11d8c
* HTTPProxy.{cpp,h} : rename classes, drop typedef
9 years ago
orignal
5ad10955be
use m_Response field for HTTP proxy response
9 years ago
orignal
95f100f378
HTTP error message cleanup
9 years ago
orignal
3d6c93cd6b
moved transient encryption keys to LeaseSetDestination
9 years ago
orignal
fc25da37c5
removed GetPrivateKeys from LocalDestination
9 years ago
hagen
896bb2187e
* HTTPProxy.cpp : HTTPRequestFailed() now responds with error message
9 years ago
hagen
99398bf0da
* HTTPProxy.{cpp,h} : move & sort headers
9 years ago
hagen
827a54435d
* Tunnel.cpp : tune log messages
9 years ago
hagen
3c9459e489
* fix mistype in log message
9 years ago
hagen
9291f5c9c6
* I2PControl.cpp :
...
* unwrap big else {} block
* smaller try {} block, only for json parsing & request handling
* respond with valid error message on exception
9 years ago
hagen
0ab5f993c7
* I2PControl.cpp :
...
* use new http classes for parsing request
* implement correct reading rest of json data if HTTP/Content-length is used
* general cleanup
9 years ago
hagen
4f8db487e7
* I2PControl.{cpp,h} : add BuildErrorResponse()
9 years ago
hagen
0e1765e045
* I2PControl.cpp : SendResponse() third arg now std::string &
9 years ago
hagen
ebc411bbbd
* I2PControl.cpp :
...
* use new http classes for building HTTP response
* drop boost::lexical_cast & boost::local_time deps
9 years ago
hagen
a76d8f0f9f
* HTTP.{cpp,h} : add add_header() variant with std::string
9 years ago
hagen
f245feb0b0
* HTTP.h : export MergeChunkedResponse()
9 years ago
hagen
43a90d7b98
* HTTP.cpp : fix parse_header_line ( #501 )
9 years ago
hagen
2e1a9a8df9
* HTTP.{cpp,h} : move length() method to base class
9 years ago
orignal
57bb0da1d6
correct LeaseSet message size
9 years ago
orignal
0d2df22074
fixed crash
9 years ago
orignal
c7173d5e1c
use shared ClientDestination
9 years ago
orignal
789eb48698
removed deprecated constructor
9 years ago
orignal
e686fad546
rmoved deprecated constructor
9 years ago
orignal
4e4f9b6f8b
use LocalLeaseSet for own LeaseSets
9 years ago
orignal
f2292fd618
LocalLeaseSet added
9 years ago
orignal
7035ead9e7
provide reply tunnel expcilitly for LeaseSet
9 years ago
orignal
f01f6e94d1
fix #500 . check result of readline
9 years ago
hagen
f10064ce39
* HTTPServer.cpp : update response building
9 years ago
hagen
b68f06ca83
* update tests
9 years ago
hagen
2ce61402bb
* HTTP.{cpp,h} * add 'body' member ot HTTPRes * change HTTPRes::to_string() to add 'Date', 'Content-Length' headers and body
9 years ago
hagen
70e9d85a75
* HTTP.cpp : add internal function gen_rfc1123_date()
9 years ago
hagen
a461f462d2
* HTTP.{cpp,h} : add HTTPMsg::{add,del}_header() helpers
9 years ago
hagen
50ff0d251a
* HTTP.h : add base class HTTPMsg
9 years ago
orignal
f6103d3841
moved streaming and datagram destination from LeaseSetDestination to ClientDestination
9 years ago