Comments (5)
HTTPS is proxied using so-called HTTP CONNECT tunnel and the prepareRequestFunction
function is called once when this tunnel opens. The problem is that web browser typically reuse HTTPS connections to the website for multiple requests, which is transparent to the proxy due to encryption, so the prepareRequestFunction
is not called again. You'll need to restart the browser or force it somehow not to reuse HTTPS connections.
from proxy-chain.
I wrote it. The problem is the browser, it just opens one socket for multiple requests. To control the requests, you need to make the browser open new sockets for each request. There's nothing the proxy can do about it.
from proxy-chain.
@jancurn my apologies I re-read it and removed before you answered. How does normal HTTP proxy work then correctly? So proxy-chain should keep connections open then.
from proxy-chain.
Proxy just proxies sockets, but has not idea what data is running in them. That's what the web browser and the web server control.
from proxy-chain.
Yes thats what I want.
from proxy-chain.
Related Issues (20)
- Passing custom http agent on every prepareRequestFunction HOT 1
- Introduce command line interface to start a local proxy server connect to upstream HOT 2
- Issue with latest stable version 2.2.1 and README about customTag HOT 2
- Linux Mint: Invalid upstream proxy credentials HOT 1
- how can i get origin headers of http request HOT 1
- intercept local requests HOT 2
- Add suport for Bun runtime - Issue with `net.Socket.write` HOT 8
- proxy-chain and puppeteer in same process do not send username and password proxy-authorization HOT 1
- Consider binding HTTP server to a specific hostname HOT 1
- TimeoutError: Navigation timeout of 30000 ms exceeded HOT 9
- Proxy Authentication 407 HOT 3
- Proxy-chain never reconnect when get this error: "Failed to connect to upstream proxy: Error: socket hang up" HOT 5
- getting code 400 for upstream proxy HOT 1
- How do I self sign a request using my certs HOT 1
- Convert "GET" requests to "CONNECT"
- Proxy only certain requests HOT 1
- How to use dynamic upstream proxy pool?
- How to fix/retry on this error "The proxy responded with 590 UPSTREAM503" ? HOT 3
- How to create proxy_local socks5 to proxy_server socks5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from proxy-chain.