-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HttpListenerResponse: Unhandled exception. System.ObjectDisposedException #71364
Comments
Tagging subscribers to this area: @dotnet/ncl Issue DetailsDescriptionLinux localhost.localdomain 4.18.0-193.el8.x86_64 #1 SMP Fri May 8 10:59:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Reproduction StepsSend extremely long Get requests Expected behavior============================================================== Actual behaviorUnhandled exception. System.ObjectDisposedException: Cannot access a disposed object. ==================================================================== Regression?No response Known WorkaroundsNo response ConfigurationNo response Other informationNo response
|
How long was the get request ? |
300+kb |
Looks like this is .NET 5? That is out of support and not getting security fixes. Could you upgrade to .NET 6 and try again? |
linux .net 5: Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object. |
Just curious as I'm not a networking person, what is a huge GET request -- a lot of headers? an enormously long URL? huge cookies? Wondering whether I could do it with curl. |
curl --location --request GET 'http://127.0.0.1:9527?content=<long url 300+kb>' |
Yeah, that gives argument too long so I guess curl doesn't work for vast URL's. |
Triage: HttpListener is not in active development. We would likely take a contribution for a fix though. |
Description
Linux localhost.localdomain 4.18.0-193.el8.x86_64 #1 SMP Fri May 8 10:59:10 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
.Net 5.0/6.0
HttpListener.GetContext() Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object.
Reproduction Steps
Expected behavior
no exception.
Actual behavior
====================================================================
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
The text was updated successfully, but these errors were encountered: