Skip to content

Socket.getblocking() bug #179

@bludin

Description

@bludin

I found a small bug in adafruit_wiznet5k_socketpool.py Socket.getblocking(), line 793 should be

return self.gettimeout() != 0

because the socket should be non-blocking if the timeout is zero

(BTW, adafruit_httpserver Server.poll() still blocks for the default timeout if there is no request, even if the above socket timeout is set to zero/non-blocking. I'm still trying to find out why...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions