Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Solve deprecated _chunkedClient.flush()#11974

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@BCsabaEngine
Copy link
Contributor

@BCsabaEngineBCsabaEngine commentedNov 2, 2025
edited by P-R-O-C-H-Y
Loading

Checklist

  1. Please provide specific title of the PR describing the change, including the component name (eg. „Update of Documentation link on Readme.md“)
  2. Please provide related links (eg. Issue which will be closed by this Pull Request)
  3. Pleaseupdate relevant Documentation if applicable
  4. Please checkContributing guide
  5. Pleaseconfirm option to "Allow edits and access to secrets by maintainers" when opening a Pull Request

Related links

Please provide links to related issue, PRs etc.

...Compiling .pio/build/default/lib7e0/WiFi/WiFiGeneric.cpp.oCompiling .pio/build/default/lib7e0/WiFi/WiFiMulti.cpp.o/Users/xxxxxxxx/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src/WebServer.cpp: In member function 'void WebServer::chunkResponseEnd()':/Users/xxxxxxxx/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src/WebServer.cpp:616:23: warning: 'virtual void NetworkClient::flush()' is deprecated: Use clear() instead. [-Wdeprecated-declarations]  616 |   _chunkedClient.flush();      |   ~~~~~~~~~~~~~~~~~~~~^~In file included from /Users/balazscsaba/.platformio/packages/framework-arduinoespressif32/libraries/Network/src/NetworkServer.h:23,                 from /Users/balazscsaba/.platformio/packages/framework-arduinoespressif32/libraries/WebServer/src/WebServer.cpp:28:/Users/xxxxxxxx/.platformio/packages/framework-arduinoespressif32/libraries/Network/src/NetworkClient.h:61:8: note: declared here   61 |   void flush();  // Print::flush tx      |        ^~~~~Compiling .pio/build/default/lib7e0/WiFi/WiFiSTA.cpp.o...

Closes#11976

@BCsabaEngineBCsabaEngine requested a review froma team as acode ownerNovember 2, 2025 13:20
@CLAassistant
Copy link

CLAassistant commentedNov 2, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link
Contributor

github-actionsbot commentedNov 2, 2025
edited
Loading

Messages
📖🎉 Good Job! All checks are passing!

👋Hello BCsabaEngine, we appreciate your contribution to this project!


📘 Please review the project'sContributions Guide for key guidelines on code, documentation, testing, and more.

🖊️ Please also make sure you haveread and signed theContributor License Agreement for this project.

Click to see more instructions ...


This automated output is generated by thePR linter DangerJS, which checks if your Pull Request meets the project's requirements and helps you fix potential issues.

DangerJS is triggered with eachpush event to a Pull Request and modify the contents of this comment.

Please consider the following:
- Danger mainly focuses on the PR structure and formatting and can't understand the meaning behind your code or changes.
- Danger isnot a substitute for human code reviews; it's still important to request a code review from your colleagues.
- To manuallyretry these Danger checks, please navigate to theActions tab and re-run last Danger workflow.

Review and merge process you can expect ...


We do welcome contributions in the form of bug reports, feature requests and pull requests.

1. An internal issue has been created for the PR, we assign it to the relevant engineer.
2. They review the PR and either approve it or ask you for changes or clarifications.
3. Once the GitHub PR is approved we do the final review, collect approvals from core owners and make sure all the automated tests are passing.
- At this point we may do some adjustments to the proposed change, or extend it by adding tests or documentation.
4. If the change is approved and passes the tests it is merged into the default branch.

Generated by 🚫dangerJS against965d9e9

@SuGliderSuGlider self-requested a reviewNovember 3, 2025 07:09
Copy link
Collaborator

@SuGliderSuGlider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

@me-no-devme-no-dev added the Status: Pending MergePull Request is ready to be merged labelNov 3, 2025
@github-actions
Copy link
Contributor

github-actionsbot commentedNov 3, 2025
edited
Loading

Test Results

 76 files   76 suites   16m 13s ⏱️
 38 tests  38 ✅ 0 💤 0 ❌
241 runs  241 ✅ 0 💤 0 ❌

Results for commit965d9e9.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Contributor

Memory usage test (comparing PR against master branch)

The table below shows the summary of memory usage change (decrease - increase) in bytes and percentage for each target.

MemoryFLASH [bytes]FLASH [%]RAM [bytes]RAM [%]
TargetDECINCDECINCDECINCDECINC
ESP32C5000.000.00000.000.00
ESP32P4000.000.00000.000.00
ESP32S3000.000.00000.000.00
ESP32S2000.000.00000.000.00
ESP32C3000.000.00000.000.00
ESP32C6000.000.00000.000.00
ESP32000.000.00000.000.00
Click to expand the detailed deltas report [usage change in BYTES]
TargetESP32C5ESP32P4ESP32S3ESP32S2ESP32C3ESP32C6ESP32
ExampleFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAMFLASHRAM
libraries/DNSServer/examples/CaptivePortal00000000000000
libraries/HTTPUpdateServer/examples/WebUpdater00000000000000
libraries/Update/examples/HTTP_Server_AES_OTA_Update00000000000000
libraries/Update/examples/OTAWebUpdater00000000000000
libraries/WebServer/examples/AdvancedWebServer00000000000000
libraries/WebServer/examples/ChunkWriting00000000000000
libraries/WebServer/examples/FSBrowser00000000000000
libraries/WebServer/examples/Filters00000000000000
libraries/WebServer/examples/HelloServer00000000000000
libraries/WebServer/examples/HttpAdvancedAuth00000000000000
libraries/WebServer/examples/HttpAuthCallback00000000000000
libraries/WebServer/examples/HttpAuthCallbackInline00000000000000
libraries/WebServer/examples/HttpBasicAuth00000000000000
libraries/WebServer/examples/HttpBasicAuthSHA100000000000000
libraries/WebServer/examples/HttpBasicAuthSHA1orBearerToken00000000000000
libraries/WebServer/examples/Middleware00--0000000000
libraries/WebServer/examples/MultiHomedServers00000000000000
libraries/WebServer/examples/PathArgServer00000000000000
libraries/WebServer/examples/SDWebServer00000000000000
libraries/WebServer/examples/SimpleAuthentification00000000000000
libraries/WebServer/examples/UploadHugeFile00000000000000
libraries/WebServer/examples/WebServer00000000000000
libraries/WebServer/examples/WebUpdate00000000000000

@me-no-devme-no-dev merged commitcbd49cf intoespressif:masterNov 3, 2025
55 checks passed
@BCsabaEngineBCsabaEngine deleted the fix/deprecated-flush branchNovember 10, 2025 15:40
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@me-no-devme-no-devme-no-dev approved these changes

@SuGliderSuGliderSuGlider approved these changes

@P-R-O-C-H-YP-R-O-C-H-YP-R-O-C-H-Y approved these changes

Assignees

No one assigned

Labels

Status: Pending MergePull Request is ready to be merged

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Compilation Warning: Deprecated 'flush()' method used in WebServer.cpp

5 participants

@BCsabaEngine@CLAassistant@me-no-dev@SuGlider@P-R-O-C-H-Y

[8]ページ先頭

©2009-2025 Movatter.jp