transparent-proxy | A basic transparent HTTP proxy | Proxy library
kandi X-RAY | transparent-proxy Summary
kandi X-RAY | transparent-proxy Summary
A basic transparent HTTP proxy
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Processes response
- Process response
- Called when HTTP connection is made
- Send headers
- Send post data
- Send request
transparent-proxy Key Features
transparent-proxy Examples and Code Snippets
Community Discussions
Trending Discussions on transparent-proxy
QUESTION
I found the following documentation from Nginx website itself: https://www.nginx.com/blog/ip-transparency-direct-server-return-nginx-plus-transparent-proxy/
Question: The above point is not correct, right? Since HTTP is a synchronous protocol, after a client sends a request over an established TCP connection with the server (here Nginx reverse proxy), the client expects a response on that TCP connection. So if this is the case Nginx server cannot close the connection just after receiving the request, correct? Shouldn't the Nginx server keep the connection still open until it gets a response from upstream server connection and relays back that data over the same client connection?
...ANSWER
Answered 2021-Dec-15 at 23:52I believe the way that paragraph is phrased is inaccurate.
The NGINX blog post mentioned in the question is referencing the behavior of UDP in the context of Direct Server Return (DSR). It is not part of their official documentation. I suspect that the author didn't do a good job of communicating how a conventional layer 7 reverse proxy connection works because they were focusing on explaining how DSR works.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install transparent-proxy
You can use transparent-proxy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page