proxyman-windows-linux
proxyman-windows-linux copied to clipboard
[BUG] The Connection is not reused ❌
Description
- on macOS:
- The first connection will create a Proxy Connection (Method = CONNECT)
- After that, the client will reuse the connection (If
Proxy-Connection: keep-aliveis presented on the Connect Request) - See the video: It demonstrates that Subsequent requests will re-use the connection without creating a new
https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/f3b228dc-54e5-40a4-959a-794bc0718c84
- On the main branch of Windows/Linux
- The first connection will create a Proxy Connection (Method = CONNECT)
- Subsequent requests don't re-use the current connection. It always creates a new one -> It's a bug ❌
https://github.com/ProxymanApp/proxyman-windows-linux/assets/5878421/37c42171-5ed9-4654-8625-7b0b9964183f
Steps to Reproduce
- Enable the SSL Proxying on
httpbin.proxyman.app. Disable all tools. - Use insomnia to make a request to Proxyman
- Make Subsequent requests (don't close the Insomnia app) -> Open the Raw Tab -> Check if the connection is reused or not
Current Behavior
- Insomnia always creates a new connection to Proxyman without reusing the exist tunnel -> It seems the connection is closed. Thus, Insomnia make a new connection (CONNECT request, then the real Request)
Expected Behavior
- Behave as Proxyman macOS does: Reuse the connection.
Environment
- App version:
- Windows/Linux version: