Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Make clammy gevent-safe #8

Merged

Conversation

stringfellow
Copy link

@stringfellow stringfellow commented May 6, 2021

Changes brought in from graingert#23

  • use sendall() instead of send()
  • allow custom max_buffer_size
  • set socket timeout before connect

Thanks to @mrname

- use sendall() instead of send()
- allow custom max_buffer_size
- set socket timeout before connect

Thanks to @mrname
@DanMauger
Copy link

👍 - much appreciated all around!

@nilstoedtmann
Copy link

Without @mrname's patch graingert#23 , python-clamd/clammy seem to not be gevent-safe. Would be great to see Justin's fix applied.

@stringfellow stringfellow changed the title apply changes from https://github.com/graingert/python-clamd/pull/23 Make clammy gevent-safe May 10, 2021
@stringfellow
Copy link
Author

bump @ranguli - please can someone take a look at this?

@ranguli
Copy link
Owner

ranguli commented Jan 18, 2022

Hey @stringfellow, thanks for the PR and for following up - no idea why I didn't see any of these notifications when they came through in May. I'll review and merge 👍

@ranguli ranguli changed the base branch from master to development January 18, 2022 14:42
@ranguli ranguli merged commit 0ad40bd into ranguli:development Jan 18, 2022
@ranguli
Copy link
Owner

ranguli commented Jan 18, 2022

Will try and get a new release out soon. Thanks! 🚀

ranguli added a commit that referenced this pull request Jan 18, 2022
* apply changes from graingert#23 (#8)

- use sendall() instead of send()
- allow custom max_buffer_size
- set socket timeout before connect

Thanks to @mrname

* Add CI, code quality improvements, fix tests

* Don't run pytest in CI since there's no clamd

Co-authored-by: Steve Pike <[email protected]>
@ranguli
Copy link
Owner

ranguli commented Jan 18, 2022

Release is now available here and on Pip. https://github.com/ranguli/clammy/releases/tag/v1.0.0

@stringfellow
Copy link
Author

Thanks @ranguli ! :) Happy new year!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants