Commit Graph

82 Commits (e152785de99469927ac0fc7eb7fd754ee927ea78)

Author SHA1 Message Date
brain5lug b8ec63cf8c copy ellimination for ranges #part1 8 years ago
hagen 8dd157d2eb * HTTPProxy.cpp : html error messages 8 years ago
hagen da2c04f681 * HTTPProxy.cpp : show created stream IDs in log 8 years ago
hagen 8deb327b3b * HTTPProxy.cpp :
* migrate to HTTPReq
  * change work with buffers
  * code cleanup
8 years ago
hagen 642b01bf0d * HTTPProxy.cpp : add SanitizeHTTPRequest() 8 years ago
hagen 9fd78b1eb1 * HTTPProxy.cpp : rename variable 8 years ago
hagen 66c09fc44c * HTTPProxy.cpp : HandleJumpServices() -> ExtractAddressHelper() 8 years ago
hagen 2cb5e1a6c2 * HTTPProxy.cpp : kill ExtractRequest() 8 years ago
hagen e2acc55819 * HTTPProxy.cpp : unwrap HandleStreamRequestComplete() 8 years ago
hagen 6b29d6b8dc * HTTPProxy.cpp : unwrap AsyncSockRead() 8 years ago
hagen 727068cc4b * HTTPProxy.cpp : migrate HTTPRequestFailed() to new http classes 8 years ago
hagen 6f77c6f3f4 * HTTPProxy.cpp : don't reuse part of httppserver, addresshelpers handling will be moved to proxy in future 8 years ago
hagen c5e3e17eae * HTTPProxy.cpp : extract IsI2PAddress() from class 8 years ago
xcps 9f41151156 HTTP proxy redirects to 0.0.0.0:7070/?page=jumpservices 8 years ago
hagen 340686ba06 * HTTPProxy.{cpp,h} : rename classes, drop typedef 8 years ago
hagen d8906f508c * HTTPProxy.cpp : HTTP error message cleanup 8 years ago
hagen dde53ea4ba * HTTPProxy.cpp : HTTPRequestFailed() now responds with error message 8 years ago
hagen 225ed5b662 * HTTPProxy.{cpp,h} : move & sort headers 8 years ago
Jeff Becker e795de5562
fix 500 response in http proxy 8 years ago
orignal 2e1e95d483 pass URL params 8 years ago
orignal b15b38868d rolled back to previous implementation 8 years ago
orignal f6d7f7d984 set port to 80 is not specified 8 years ago
hagen b786576bcb * HTTPProxy.cpp : always set dest_port 8 years ago
hagen 03973cc6d4 * HTTPProxy.cpp : drop X-Forwarded-*, Proxy-*, Via headers from request 8 years ago
hagen 66c301c031 * HTTPProxy.cpp : allow "tranparent" proxy (#508) 8 years ago
hagen e4edc59689 * HTTPProxy.cpp : force clean recv buffer (#508) 8 years ago
hagen e50c35d38c * fix mistype 8 years ago
hagen aa764fbd1c * HTTPProxy: fix converted request (#508)
* I2PService: reword log message, to avoid ambiguity
8 years ago
hagen 2628426084 * http proxy : fix converted request (#508) 8 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
8 years ago
hagen 347157b999 * HTTPProxy.cpp : direct use of parsed url parts in CreateHTTPRequest() 8 years ago
hagen a9f3235fd3 * HTTPProxy.cpp : unwrap HandleStreamRequestComplete() 8 years ago
hagen 4098a5c08e * HTTPProxy.cpp : rename variable 8 years ago
hagen dba7a2ee4f * HTTPProxy.cpp : HandleJumpServices() -> ExtractAddressHelper() 8 years ago
hagen a5f49550b3 * HTTPProxy.cpp : unwrap AsyncSockRead() 8 years ago
hagen 2bf32fb3fa * HTTPProxy.cpp : kill ExtractRequest(), drop boost::regex 8 years ago
hagen 0de1e2c6fc * HTTPProxy.cpp : extract IsI2PAddress() from class and generalize 8 years ago
hagen 61868d97c4 * HTTPProxy.cpp : migrate HTTPRequestFailed(), RedirectToJumpService() to new http classes 8 years ago
hagen c994c11d8c * HTTPProxy.{cpp,h} : rename classes, drop typedef 8 years ago
orignal 5ad10955be use m_Response field for HTTP proxy response 8 years ago
orignal 95f100f378 HTTP error message cleanup 8 years ago
hagen 896bb2187e * HTTPProxy.cpp : HTTPRequestFailed() now responds with error message 8 years ago
hagen 99398bf0da * HTTPProxy.{cpp,h} : move & sort headers 8 years ago
weekendi2p 8353f928a1 fix jumpservices 8 years ago
xcps 56699a9f89 check if i2p address to call jump service 8 years ago
xcps 364136213b extra space 8 years ago
xcps 136b663cef strip connection http header 8 years ago
xcps 400e3d21f9 jump services 8 years ago
orignal 2cfb697867 strip our Referer and replace User-Agent 8 years ago
hagen 8949ebf041 * tune logging 8 years ago