Skip to content

WiFiClientSecure gets stuck, when send buffers get full #2494

@everslick

Description

@everslick
Contributor

When we send too fast (faster then the TLS connection allows), eventually the send buffers will fill up and write() returns 0 (indicating, that nothing could be written). Normally this means we just retry until all data is sent, but in this case the TLS socket never recovers from this condition (buffers stay full). The only thing we can do is close the socket and go home.

Activity

stale

stale commented on Aug 1, 2019

@stale

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

everslick

everslick commented on Aug 1, 2019

@everslick
ContributorAuthor

still valid, don't close.

stale

stale commented on Aug 1, 2019

@stale

This stale issue has been automatically closed. Thank you for your contributions.

removed
Status: StaleIssue is stale stage (outdated/stuck)
on Aug 1, 2019
everslick

everslick commented on Aug 1, 2019

@everslick
ContributorAuthor

esp8266/Arduino#6104

could be the same bug as on ESP8266. @me-no-dev ?

stale

stale commented on Sep 30, 2019

@stale

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

everslick

everslick commented on Sep 30, 2019

@everslick
ContributorAuthor

still relevant, don't close.

stale

stale commented on Sep 30, 2019

@stale

[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

stale

stale commented on Nov 29, 2019

@stale

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

everslick

everslick commented on Nov 29, 2019

@everslick
ContributorAuthor

still relevant, don't close.

stale

stale commented on Nov 29, 2019

@stale

[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

23 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: StaleIssue is stale stage (outdated/stuck)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @everslick@sansillusion

        Issue actions

          WiFiClientSecure gets stuck, when send buffers get full · Issue #2494 · espressif/arduino-esp32