Files
arduino-esp32/.gitignore
Sick-E 78ad5eca0a fix(webserver): reset _contentLength after _streamFileCore send (#12385)
* fix(WebServer): reset _contentLength after _streamFileCore send

After calling send() in _streamFileCore, _contentLength retained the
file size value and was incorrectly reused in subsequent response
handlers, causing ERR_CONTENT_LENGTH_MISMATCH in the browser.

Reset _contentLength to CONTENT_LENGTH_NOT_SET after send() to prevent
leaking file size into unrelated responses.

* Commit message (subject):
Move .idea/ to IDE section in .gitignore

Description (body):
Relocated .idea/ entry from the bottom of the file to the IDE-related section alongside .vscode/ and .vs/.

* fix(webserver): reset _contentLength to CONTENT_LENGTH_NOT_SET after _streamFileCore

Description (body):
Replaced dedicated resetContentLength() method with a direct call to
setContentLength(CONTENT_LENGTH_NOT_SET) at the end of _streamFileCore,
reusing existing API without requiring a new declaration in WebServer.h.
2026-02-25 12:19:27 +02:00

67 lines
1.1 KiB
Plaintext

tools/esp32-arduino-libs
tools/xtensa-esp-elf
tools/xtensa-esp32-elf
tools/xtensa-esp32s2-elf
tools/xtensa-esp32s3-elf
tools/xtensa-esp-elf-gdb
tools/riscv32-esp-elf
tools/riscv32-esp-elf-gdb
tools/dist
tools/esptool
tools/esptool.exe
tools/mkspiffs
tools/mklittlefs
tools/mkfatfs.exe
tools/openocd-esp32
# Ignore editor backup files and macOS system metadata
.DS_Store
.*.swp
.*.swo
*~
# Ignore build folder
/build
# Ignore files built by Visual Studio/Visual Micro and other IDEs
[Dd]ebug/
[Rr]elease/
.vs/
__vm/
*.vcxproj*
.vscode/
platform.sloeber.txt
boards.sloeber.txt
/.idea/
# Ignore docs build (Sphinx)
docs/build
docs/source/_build
__pycache__/
_build/
# Test log files
*.log
debug.cfg
debug.svd
debug_custom.json
libraries/Insights/examples/*/*.ino.zip
# Vale Style
.vale/styles/*
!.vale/styles/Vocab/
.vale/styles/Vocab/*
!.vale/styles/Vocab/Espressif/
# Ignore Lib Builder Docker run scripts
/run.sh
/run.ps1
# Ignore dependency analysis artifacts
/dependencies.json
/dependencies_reverse.json
/affected_sketches.txt
/affected_examples.txt
/ctags_*
.github/copilot-instructions.md