proxyman-windows-linux icon indicating copy to clipboard operation
proxyman-windows-linux copied to clipboard

[BUG] The Connection is not reused ❌

Open NghiaTranUIT opened this issue 2 years ago • 0 comments

Description

  • on macOS:
  1. The first connection will create a Proxy Connection (Method = CONNECT)
  2. After that, the client will reuse the connection (If Proxy-Connection: keep-alive is presented on the Connect Request)
  3. 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
  1. The first connection will create a Proxy Connection (Method = CONNECT)
  2. 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

  1. Enable the SSL Proxying on httpbin.proxyman.app. Disable all tools.
  2. Use insomnia to make a request to Proxyman
  3. 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:

NghiaTranUIT avatar Nov 20 '23 02:11 NghiaTranUIT