itead / Sonoff_Devices_DIY_Tools

BSD 3-Clause "New" or "Revised" License
548 stars 168 forks source link

Sending in invalid or unexpected JSON locks up device #53

Closed frenck closed 4 years ago

frenck commented 4 years ago

Sending an invalid payload, causes the internal webserver of the Sonoff to get stuck/hang.

Examples:

image

image

It eventually times out.

What should have happened in my opinion: Respond instantly with an error code.

Daniel-zhan-itead commented 4 years ago

Agree, this issue will be fixed in the next firmware.

frenck commented 4 years ago

Great 👍

Daniel-zhan-itead commented 4 years ago

issue has been fixed in firmware of 3.5.0

frenck commented 4 years ago

🎉