FIX StaticRequestHandler crashes when cache_header is null by The-MEO · Pull Request #7609 · esp8266/Arduino (original) (raw)

In the StaticRequestHandler method, exception 28 (LoadProhibitedCause) occurs when debugging with the DEBUG_ESP_CORE option and if the default parameter null is used for cache_header.

In this commit, the pointer is checked for null before output.