Closed stefanak-michal closed 2 years ago
@transistive I added you to make you notified about updates
I've made some changes in StreamSocket. I believe you are using this connection class. It's about reading until requested length. In this way it's in Socket. Maybe it will help with this issue.
Same thing I have applied to write.
If you have problem with receiving data from server. Can it happen you will get only a part of chunk? what about something like this?
not tested.. written in this comment.
Originally posted by @stefanak-michal in https://github.com/neo4j-php/Bolt/issues/85#issuecomment-1057084967
Also you should read header until you readed length 2.