-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Connecting using http to ssl port causes mongoose to infinite and CPU usage high #656
Comments
@sswork I have the same problem. |
@mmikulicic Unfortunately, we could not update the version, as we customized it according to our requirement. And regarding platform, we are using mongoose-cpp with windows and raspberry pi 2. |
Yeah, upgrading to 6.x might be a big effort, but 5.2 is quite old in the 5.x line as well (>2 years). If it's not possible, then please take a look at the git commit history for commits more recent than Look for some relevant bug fix, for example 27c6656 might look relevant (fix of SSL accept). Unfortunately we have no resources to do that archeology work for you; it's a pretty old version and the bug has been fixed long ago. I hope I put you on the right track though. If you need commercial support feel free to contact our sales https://www.cesanta.com/contact. |
Actually we are using mongoose as a WebDAV. |
If mongoose is configure to serve both http and https, then connecting to the https port using http in the browser causes mongoose hang or cpu usage high.
For example, if mongoose is set up to serve http on port 8081 and https on 8082:
http://localhost:8081 ==> works fine
https://localhost:8082 ==> works fine
http://localhost:8082 ==> request goes infinite
Please help me to resolve this issue.
The text was updated successfully, but these errors were encountered: