Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ByteArrayOutputStream): call composed OutputStream#write #275

Closed
wants to merge 1 commit into from

Conversation

glarwood
Copy link
Collaborator

@glarwood glarwood commented May 13, 2019

In PacketChannel#write, when we wrote to PacketChannel.outputStream instead of PacketChannel.socket#getOutputStream, we use the default OutputStream#write(byte[]), which doesn't work with Azure.

By overriding the OutputStream#write(byte[]) method in ByteArrayOutputStream, we use the write method provided PacketChannel.socket#getOutputStream, fixing the problem.

@glarwood glarwood requested a review from shyiko May 13, 2019 23:57
@osheroff
Copy link
Collaborator

merged into https://github.com/osheroff/mysql-binlog-connector-java, will release in that fork

@glarwood
Copy link
Collaborator Author

#275 (comment)

@glarwood glarwood closed this Aug 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants