python-hl7 icon indicating copy to clipboard operation
python-hl7 copied to clipboard

Use socket.sendall instead of socket.send

Open NiklasMM opened this issue 3 years ago • 0 comments

Close https://github.com/johnpaulett/python-hl7/issues/41

As pointed out in the issue, send does not guarantee that all of the data is sent. We have observed this behavior in production and using sendall fixes this, however I have until now been unsuccessful in reproducing it.

Nevertheless, here's a patch.

NiklasMM avatar Nov 30 '22 12:11 NiklasMM