Skip to content

[WiFi] read all lines from slow servers #1720

@TD-er

Description

@TD-er

As suggested by @clumsy-stefan here: #1669 (comment)

The suggested fix is based on this PR in the ESP8266 Arduino examples. (PR 5113)

I would like to know if someone who is experiencing issues with slow servers, if they see this line in the logs:

"Timeout while reading input data!"

If so, please report it, so I can make the timeout setting configurable.
Later I will make the function safeReadStringUntil use a callback construction and let it operate async.
For now the function is blocking, so it may cause all kind of issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: ControllerRelated to interaction with other platformsCategory: StabiliyThings that work, but not as long as desiredCategory: WifiRelated to the network connectivityType: BugConsidered a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions