ProxymanApp / ProxymanApp/Proxyman

Clearing session terminates all open connections

Open
#1,505 3 comments 0 reactions 1 assignee View on GitHub

@NghiaTranUIT is already working on this.

Since Jan 20, 2023.

bug enhancement
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

When using the "clear entire session" [trashcan] button all pending connections are forcefully terminated.

Steps to Reproduce

  1. Open Proxyman
  2. Visit any site that uses WebSockets [for example, facebook.com]
  3. In your web browser open the "Networks" debug pane
  4. Observe a number of open WebSockets
  5. Additionally, observe them in Proxyman
  6. Click the trashcan button
  7. Observe in the "Networks" browser pane that all WebSockets have been terminated
  8. Observe in Proxyman that the browser [JavaScript] will probably reinitialize those sockets
  9. Each time the session is cleared all open connections are terminated, potentially leading to confusion in the browser

Current Behavior

[as described above]

Expected Behavior

In Charles Proxy [similar application], when clearing a session all open connections will remain open and carry forward to the new session. From there we can individually terminate the connections manually if we want to. I would expect similar behavior from Proxyman, or maybe even Shift + Click would terminate all connections.

This also applies to non-WebSocket requests which are just taking a long time. For example, clearing a session will terminate any downloads of large files, or requests which simply haven't resolved yet.

Environment

  • App version: e.g Proxyman 3.15.0
  • macOS version: macOS Monterey 12.6.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.