Skip to content

Commit

Permalink
Merge pull request #44 from night1rider/urllib3-segfaulting-issue
Browse files Browse the repository at this point in the history
segfault issue
  • Loading branch information
JacobBarthelmeh authored Aug 14, 2023
2 parents 0a8a76c + 2a19d75 commit 9573327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wolfssl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def recv_into(self, buffer, nbytes=None, flags=0):

data = _ffi.from_buffer(buffer)
length = _lib.wolfSSL_read(self.native_object, data, nbytes)

_ffi.release(data)
if length < 0:
err = _lib.wolfSSL_get_error(self.native_object, 0)
if err == _SSL_ERROR_WANT_READ:
Expand Down

0 comments on commit 9573327

Please sign in to comment.