[GH-ISSUE #450] Crash / Hang indefinitely when SSL proxying a PDF file request #447

Open
opened 2026-03-03 19:18:52 +03:00 by kerem · 5 comments
Owner

Originally created by @f-gonzalez on GitHub (Mar 25, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/450

Originally assigned to: @NghiaTranUIT on GitHub.

Proxyman version? (Ex. Proxyman 1.4.3)

1.19.0

macOS Version? (Ex. mac 10.14)

10.15.13

Steps to reproduce

I been testing an app that downloads PDF files and for those requests (downloading the pdf file, 46 mb) Proxyman hangs up. Can't disclosure the url but you could test with some random pdf file from the internet of that size.

Expected behavior

Shouldn't hang up / crash

Originally created by @f-gonzalez on GitHub (Mar 25, 2020). Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/450 Originally assigned to: @NghiaTranUIT on GitHub. ### Proxyman version? (Ex. Proxyman 1.4.3) 1.19.0 ### macOS Version? (Ex. mac 10.14) 10.15.13 ### Steps to reproduce I been testing an app that downloads PDF files and for those requests (downloading the pdf file, 46 mb) Proxyman hangs up. Can't disclosure the url but you could test with some random pdf file from the internet of that size. ### Expected behavior Shouldn't hang up / crash
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 26, 2020):

it's clear that Proxyman tries to decode and open the huge PDF file in the main thread, and it results in the hang/freeze.

I will look on it by putting it on the background or detect if the file is too big, the Previewer should not decode them.

Thank you for raising it, I will fix in the next release 👍

<!-- gh-comment-id:604180477 --> @NghiaTranUIT commented on GitHub (Mar 26, 2020): it's clear that Proxyman tries to decode and open the huge PDF file in the main thread, and it results in the hang/freeze. I will look on it by putting it on the background or detect if the file is too big, the Previewer should not decode them. Thank you for raising it, I will fix in the next release 👍
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 27, 2020):

Hey @f-gonzalez, let check this BETA build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.19.0_fix_hang_app_with_large_response.dmg

Changelogs

  • Bring all body prettier process to the background
  • Add loader
  • Improve performance in Body Previewer and Raw Previewer
  • Reduce the number of unnecessary reload
  • Introduce Open in Finder and Open by System
Screen Shot 2020-03-27 at 20 28 20

I will officially release in this weekend 👍 🙌 Thank you for raising the bug 🐞

<!-- gh-comment-id:605022686 --> @NghiaTranUIT commented on GitHub (Mar 27, 2020): Hey @f-gonzalez, let check this BETA build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_1.19.0_fix_hang_app_with_large_response.dmg ## Changelogs - Bring all body prettier process to the background - Add loader - Improve performance in Body Previewer and Raw Previewer - Reduce the number of unnecessary reload - Introduce Open in Finder and Open by System <img width="331" alt="Screen Shot 2020-03-27 at 20 28 20" src="https://user-images.githubusercontent.com/5878421/77764668-9adbd380-706f-11ea-80ef-fbc1214768fb.png"> I will officially release in this weekend 👍 🙌 Thank you for raising the bug 🐞
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 28, 2020):

The build is out. Let update to the 1.20.0 build 👍

Changelog: https://github.com/ProxymanApp/Proxyman/releases/tag/1.20.0

<!-- gh-comment-id:605417008 --> @NghiaTranUIT commented on GitHub (Mar 28, 2020): The build is out. Let update to the 1.20.0 build 👍 Changelog: https://github.com/ProxymanApp/Proxyman/releases/tag/1.20.0
Author
Owner

@f-gonzalez commented on GitHub (Mar 28, 2020):

Awesome, thanks for the quick fix @NghiaTranUIT !

<!-- gh-comment-id:605522963 --> @f-gonzalez commented on GitHub (Mar 28, 2020): Awesome, thanks for the quick fix @NghiaTranUIT !
Author
Owner

@NghiaTranUIT commented on GitHub (Mar 29, 2020):

Don't hesitate to bump any bug you find 😄 👍

<!-- gh-comment-id:605545579 --> @NghiaTranUIT commented on GitHub (Mar 29, 2020): Don't hesitate to bump any bug you find 😄 👍
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Proxyman#447
No description provided.