Skip to content

WebServer.h/cpp don't seem to represent the actual implementation in the library #9314

@wishwamithra

Description

@wishwamithra

Board

The repo itself

Device Description

No need of a device description. I am questioning the content of this repo.

Hardware Configuration

No need of hardware configuration. I am questioning the content of this repo.

Version

latest master (checkout manually)

IDE Name

Arduino IDE

Operating System

N/A

Flash frequency

N/A

PSRAM enabled

yes

Upload speed

9600

Description

I don't think the repo shows the true implementation of the library, especially w.r.t. WebServer (https://github.com/espressif/arduino-esp32/blob/master/libraries/WebServer/src/WebServer.h). Here is the proof:

  1. I see only two references to WebServer::handleClient() function in this repo. First, in the declaration in WebServer.h file, and then in the WebServer.cpp file. Where is this function used (get called)?
  2. Check what the uses of variables _firstHandler, _lastHandler and _currentHandler are. _firstHandler and _lastHandler are set, but never used. In contrast, _currentHandler is used, but never set.

Sketch

No need of a sketch. I am questioning the content of this repo.

Debug Message

No need of a debug messaage. I am questioning the content of this repo.

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions