Skip to content

Conversation

@cawolf
Copy link
Contributor

@cawolf cawolf commented Feb 18, 2020

Hi,

when experimenting with very large traces, I encountered errors related to socket_sendto, which is fine:

socket_sendto(): unable to write to socket [90]: Message too long

However, there is a small window from 65000 bytes to 65507 bytes, where packages are created and sent by this library, but discarded of Jaeger, because not the complete thrift payload fit into one package.

This PR adds an exception to cover those edge cases and a test for AgentClient. Feel free to ask questions and provide feedback for improvements. :)

@jukylin
Copy link
Owner

jukylin commented Feb 22, 2020

How do you Got the error, I already check the size before send

@cawolf
Copy link
Contributor Author

cawolf commented Feb 22, 2020

Yes, I saw that. Is the test I wrote sufficient to explain the issue?

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