Proxyman distorts HTTP responses when larger than approx. 132KB in a way that Safari cannot read
@NghiaTranUIT is already working on this.
Since Aug 31, 2025.
Assessment
This issue has not been assessed yet.
Description
Description
I'm not sure what causes this behaviour, but if Safari gets a response via Proxyman which is larger than approx. 132KB using a simple HTTP server (that doesn't support chunked transfer or anything sophisticated) - Safari will fail to display it (or will keep trying to load it). This behaviour can be seen on Safari on Mac as well as on iPhone.
Moreover - apps on iPhone using NSURLSession behave the same - they also get an error.
Btw with Chrome or Firefox on the Mac I didn't notice this behavior.
Steps to Reproduce
- Download the attached files: proxyman_large_file_issue.zip. You'll see a file called
miniserver.rbwhich implements a very simple HTTP server in ruby. In addition you'll see a file calledlarge.txtwhich will be used as the response from the mini server. Placeminiserver.rbandlarge.txtin the same folder on your Mac. - Give
miniserver.rbexecute permissions (chmod +x miniserver.rb) and run it. It will listen on port 8080 for incoming connections. - Try to access the miniserver from Safari on your Mac, by going to
http://<your-mac-ip>:8080/large.txt. This should work fine - you should see the file displayed on Safari. - Now configure your Mac to run via Proxyman - configure the Mac proxy server to your Mac's IP address at port 9090. Then retry to access
http://<your-mac-ip>:8080/large.txt- this time you'll see Safari keeps trying to download the response. - You can do the same thing from an iPhone - use your Safari on iPhone to access the mini server at
http://<your-mac-ip>:8080/large.txt- it will fail the same way when the iPhone's proxy is configured to route via Proxyman, but will not fail without a proxy. - Edit the file
large.txtand remove one character from it. Save it and repeat the above. This time - all will work well even when routed via Proxyman.
Environment
- App version: Proxyman 5.23.1
- macOS version: Sequoia 15.6
- iOS version: 17.0.2
- Dominant language
- No language data
- Stars
- 7k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ProxymanApp/Proxyman
-
✅ Done enhancement
ProxymanApp/Proxyman#2772 · 1 comment · 1 assignee ·
-
✅ Done enhancement
ProxymanApp/Proxyman#2771 · 1 comment · 1 assignee ·
-
bug
ProxymanApp/Proxyman#2770 · 1 assignee ·
-
✅ Done bug
ProxymanApp/Proxyman#2769 · 2 comments · 1 assignee ·
-
✅ Done enhancement
ProxymanApp/Proxyman#2768 · 1 comment · 1 assignee ·